diff --git a/.ci/build-mac.sh b/.ci/build-mac.sh
index 7c62fdc631..9eb27681b7 100755
--- a/.ci/build-mac.sh
+++ b/.ci/build-mac.sh
@@ -8,7 +8,7 @@ brew install -f --overwrite --quiet ccache "llvm@$LLVM_COMPILER_VER"
brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER"
if [ "$AARCH64" -eq 1 ]; then
brew install -f --overwrite --quiet googletest opencv@4 sdl3 vulkan-headers vulkan-loader molten-vk
- brew unlink --quiet ffmpeg fmt qtbase qtsvg qtdeclarative
+ brew unlink --quiet ffmpeg fmt qtbase qtsvg qtdeclarative protobuf
else
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
arch -x86_64 /usr/local/bin/brew install -f --overwrite --quiet python@3.14 opencv@4 "llvm@$LLVM_COMPILER_VER" sdl3 vulkan-headers vulkan-loader molten-vk
diff --git a/.gitmodules b/.gitmodules
index 77fae5cf55..4c1c0f0f12 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -52,10 +52,6 @@
path = 3rdparty/wolfssl/wolfssl
url = ../../wolfSSL/wolfssl.git
ignore = dirty
-[submodule "3rdparty/flatbuffers"]
- path = 3rdparty/flatbuffers
- url = ../../google/flatbuffers.git
- ignore = dirty
[submodule "3rdparty/cubeb/cubeb"]
path = 3rdparty/cubeb/cubeb
url = ../../mozilla/cubeb.git
@@ -112,3 +108,7 @@
path = 3rdparty/feralinteractive/feralinteractive
url = ../../FeralInteractive/gamemode.git
ignore = dirty
+[submodule "3rdparty/protobuf/protobuf"]
+ path = 3rdparty/protobuf/protobuf
+ url = ../../protocolbuffers/protobuf.git
+ ignore = dirty
diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 3b2dc05f1f..b25afb8834 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -25,18 +25,8 @@ add_subdirectory(zstd EXCLUDE_FROM_ALL)
# 7zip sdk
add_subdirectory(7zip EXCLUDE_FROM_ALL)
-add_library(3rdparty_flatbuffers INTERFACE)
-if (USE_SYSTEM_FLATBUFFERS)
- pkg_check_modules(FLATBUFFERS REQUIRED IMPORTED_TARGET flatbuffers>=2.0.0)
- target_link_libraries(3rdparty_flatbuffers INTERFACE PkgConfig::FLATBUFFERS)
- set(FBS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../rpcs3/Emu/NP/generated/")
- execute_process(COMMAND flatc --cpp -o "${FBS_DIR}" "${FBS_DIR}/np2_structs.fbs" RESULT_VARIABLE FBS_CMD_ERROR)
- if(FBS_CMD_ERROR AND NOT FBS_CMD_ERROR EQUAL 0)
- message(FATAL_ERROR "flatc failed to regenerate flatbuffers headers.")
- endif()
-else()
- target_include_directories(3rdparty_flatbuffers SYSTEM INTERFACE flatbuffers/include)
-endif()
+# Protobuf
+add_subdirectory(protobuf EXCLUDE_FROM_ALL)
# libPNG
add_subdirectory(libpng EXCLUDE_FROM_ALL)
@@ -372,7 +362,7 @@ endif()
add_library(3rdparty::zlib ALIAS 3rdparty_zlib)
add_library(3rdparty::zstd ALIAS 3rdparty_zstd)
add_library(3rdparty::7zip ALIAS 3rdparty_7zip)
-add_library(3rdparty::flatbuffers ALIAS 3rdparty_flatbuffers)
+add_library(3rdparty::protobuf ALIAS 3rdparty_protobuf)
add_library(3rdparty::pugixml ALIAS pugixml)
add_library(3rdparty::glslang ALIAS 3rdparty_glslang)
add_library(3rdparty::yaml-cpp ALIAS yaml-cpp)
diff --git a/3rdparty/flatbuffers b/3rdparty/flatbuffers
deleted file mode 160000
index 1872409707..0000000000
--- a/3rdparty/flatbuffers
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 187240970746d00bbd26b0f5873ed54d2477f9f3
diff --git a/3rdparty/protobuf/CMakeLists.txt b/3rdparty/protobuf/CMakeLists.txt
new file mode 100644
index 0000000000..274e6110af
--- /dev/null
+++ b/3rdparty/protobuf/CMakeLists.txt
@@ -0,0 +1,27 @@
+add_library(3rdparty_protobuf INTERFACE)
+if (USE_SYSTEM_PROTOBUF)
+ pkg_check_modules(PROTOBUF REQUIRED IMPORTED_TARGET protobuf>=33.0.0)
+ target_link_libraries(3rdparty_protobuf INTERFACE PkgConfig::PROTOBUF)
+ set(PROTOBUF_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../rpcs3/Emu/NP/generated/")
+ execute_process(COMMAND protoc --cpp_out="${PROTOBUF_DIR}" --proto_path="${PROTOBUF_DIR}" np2_structs.proto RESULT_VARIABLE PROTOBUF_CMD_ERROR)
+ if(PROTOBUF_CMD_ERROR AND NOT PROTOBUF_CMD_ERROR EQUAL 0)
+ message(FATAL_ERROR "protoc failed to regenerate protobuf files.")
+ endif()
+else()
+ option(protobuf_INSTALL "Install protobuf binaries and files" OFF)
+ option(protobuf_BUILD_TESTS "Build tests" OFF)
+ option(protobuf_BUILD_CONFORMANCE "Build conformance tests" OFF)
+ option(protobuf_BUILD_EXAMPLES "Build examples" OFF)
+ option(protobuf_BUILD_PROTOBUF_BINARIES "Build protobuf libraries and protoc compiler" ON)
+ option(protobuf_BUILD_PROTOC_BINARIES "Build libprotoc and protoc compiler" OFF)
+ option(protobuf_BUILD_LIBPROTOC "Build libprotoc" OFF)
+ option(protobuf_BUILD_LIBUPB "Build libupb" OFF)
+ option(protobuf_ALLOW_CCACHE "Adjust build flags to allow for ccache support." ON)
+ option(protobuf_DISABLE_RTTI "Remove runtime type information in the binaries" OFF)
+ option(protobuf_FORCE_FETCH_DEPENDENCIES "Force all dependencies to be downloaded from GitHub. Local installations will be ignored." OFF)
+ option(protobuf_LOCAL_DEPENDENCIES_ONLY "Prevent downloading any dependencies from GitHub. If this option is set, the dependency must be available locally as an installed package." OFF)
+
+ add_subdirectory(protobuf EXCLUDE_FROM_ALL)
+ target_include_directories(3rdparty_protobuf SYSTEM INTERFACE protobuf/src)
+ target_link_libraries(3rdparty_protobuf INTERFACE libprotobuf)
+endif()
diff --git a/3rdparty/protobuf/protobuf b/3rdparty/protobuf/protobuf
new file mode 160000
index 0000000000..edaa823d8b
--- /dev/null
+++ b/3rdparty/protobuf/protobuf
@@ -0,0 +1 @@
+Subproject commit edaa823d8b36a8656d7b2b9241b7d0bfe50af878
diff --git a/3rdparty/protobuf/protobuf_build.vcxproj b/3rdparty/protobuf/protobuf_build.vcxproj
new file mode 100644
index 0000000000..83c02058d1
--- /dev/null
+++ b/3rdparty/protobuf/protobuf_build.vcxproj
@@ -0,0 +1,111 @@
+
+
+
+
+ Debug
+ x64
+
+
+ Release
+ x64
+
+
+
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}
+ MakeFileProj
+
+
+
+
+
+ Makefile
+ true
+
+
+ Makefile
+ false
+
+
+
+ x64
+
+
+
+
+
+
+
+
+
+
+ call vsdevcmd.bat -arch=amd64
+ if not exist "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" mkdir "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)"
+ cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)"
+ cmake -G Ninja -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -Dprotobuf_INSTALL=ON -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON -Dprotobuf_BUILD_PROTOC_BINARIES=OFF -Dprotobuf_BUILD_LIBPROTOC=OFF -Dprotobuf_BUILD_LIBUPB=OFF -Dprotobuf_ALLOW_CCACHE=ON -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=ON "$(SolutionDir)3rdparty\protobuf\protobuf"
+
+ call vsdevcmd.bat -arch=amd64
+ if not exist "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" mkdir "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)"
+ cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)"
+ cmake -G Ninja -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX="$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL -Dprotobuf_INSTALL=ON -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON -Dprotobuf_BUILD_PROTOC_BINARIES=OFF -Dprotobuf_BUILD_LIBPROTOC=OFF -Dprotobuf_BUILD_LIBUPB=OFF -Dprotobuf_ALLOW_CCACHE=ON -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF "$(SolutionDir)3rdparty\protobuf\protobuf"
+
+
+ echo Cleaning..
+ rmdir /s /q "$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build"
+ cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)"
+ for /F "delims= eol=|" %%f in ('
+ dir /b ^| findstr /V "[^.]*\build[^.]*\.vcxproj"') do (
+ echo Deleting .\%%f
+ if exist %%f\nul (
+ rmdir .\%%f /s /q
+ ) else (
+ del .\%%f /q
+ )
+ )
+
+
+
+
+
+ $(SolutionDir)build\lib\$(Configuration)-$(Platform)\
+ $(SolutionDir)build\tmp\$(ProjectName)-$(Configuration)-$(Platform)\
+
+ $(CmakeDebugCLI)
+ ninja
+ ninja install
+
+
+ $(CmakeCleanCLI)
+ $(CmakeDebugCLI)
+ ninja
+ ninja install
+
+
+ $(CmakeCleanCLI)
+
+
+
+
+
+ $(SolutionDir)build\lib\$(Configuration)-$(Platform)\
+ $(SolutionDir)build\tmp\$(ProjectName)-$(Configuration)-$(Platform)\
+
+ $(CmakeReleaseCLI)
+ ninja
+ ninja install
+
+
+ $(CmakeCleanCLI)
+ $(CmakeReleaseCLI)
+ ninja
+ ninja install
+
+
+ $(CmakeCleanCLI)
+
+
+
+
+
+
+
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f459351379..65e415bdb7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,7 +42,7 @@ option(USE_SYSTEM_CUBEB "Prefer system cubeb instead of the builtin one" OFF)
option(USE_SYSTEM_CURL "Prefer system Curl instead of the prebuild one" ON)
option(USE_SYSTEM_FAUDIO "Prefer system FAudio instead of the builtin one" OFF)
option(USE_SYSTEM_FFMPEG "Prefer system ffmpeg instead of the prebuild one" OFF)
-option(USE_SYSTEM_FLATBUFFERS "Prefer system flatbuffers instead of the builtin one" OFF)
+option(USE_SYSTEM_PROTOBUF "Prefer system protobuf instead of the builtin one" OFF)
option(USE_SYSTEM_GLSLANG "Prefer system glslang instead of the builtin one" OFF)
option(USE_SYSTEM_HIDAPI "Prefer system hidapi instead of the builtin one" OFF)
option(USE_SYSTEM_LIBPNG "Prefer system libpng instead of the builtin one" OFF)
diff --git a/buildfiles/msvc/rpcs3_default.props b/buildfiles/msvc/rpcs3_default.props
index 3cd3d25a94..b612560a8e 100644
--- a/buildfiles/msvc/rpcs3_default.props
+++ b/buildfiles/msvc/rpcs3_default.props
@@ -131,6 +131,97 @@
LLVMX86Info.lib;
LLVMX86TargetMCA.lib;
LLVMXRay.lib;
+ absl_log_severity.lib;
+ absl_raw_logging_internal.lib;
+ absl_spinlock_wait.lib;
+ absl_malloc_internal.lib;
+ absl_base.lib;
+ absl_throw_delegate.lib;
+ absl_scoped_set_env.lib;
+ absl_strerror.lib;
+ absl_poison.lib;
+ absl_tracing_internal.lib;
+ absl_hashtablez_sampler.lib;
+ absl_raw_hash_set.lib;
+ absl_crc_cpu_detect.lib;
+ absl_crc_internal.lib;
+ absl_crc32c.lib;
+ absl_crc_cord_state.lib;
+ absl_stacktrace.lib;
+ absl_symbolize.lib;
+ absl_examine_stack.lib;
+ absl_failure_signal_handler.lib;
+ absl_debugging_internal.lib;
+ absl_demangle_internal.lib;
+ absl_decode_rust_punycode.lib;
+ absl_demangle_rust.lib;
+ absl_utf8_for_code_point.lib;
+ absl_leak_check.lib;
+ absl_flags_program_name.lib;
+ absl_flags_config.lib;
+ absl_flags_marshalling.lib;
+ absl_flags_commandlineflag_internal.lib;
+ absl_flags_commandlineflag.lib;
+ absl_flags_private_handle_accessor.lib;
+ absl_flags_reflection.lib;
+ absl_flags_internal.lib;
+ absl_flags_usage_internal.lib;
+ absl_flags_usage.lib;
+ absl_flags_parse.lib;
+ absl_hash.lib;
+ absl_city.lib;
+ absl_low_level_hash.lib;
+ absl_log_internal_check_op.lib;
+ absl_log_internal_conditions.lib;
+ absl_log_internal_format.lib;
+ absl_log_internal_globals.lib;
+ absl_log_internal_proto.lib;
+ absl_log_internal_message.lib;
+ absl_log_internal_log_sink_set.lib;
+ absl_log_internal_nullguard.lib;
+ absl_die_if_null.lib;
+ absl_log_flags.lib;
+ absl_log_globals.lib;
+ absl_log_initialize.lib;
+ absl_log_sink.lib;
+ absl_log_internal_structured_proto.lib;
+ absl_vlog_config_internal.lib;
+ absl_log_internal_fnmatch.lib;
+ absl_int128.lib;
+ absl_exponential_biased.lib;
+ absl_periodic_sampler.lib;
+ absl_random_distributions.lib;
+ absl_random_seed_gen_exception.lib;
+ absl_random_seed_sequences.lib;
+ absl_random_internal_seed_material.lib;
+ absl_random_internal_entropy_pool.lib;
+ absl_random_internal_platform.lib;
+ absl_random_internal_randen.lib;
+ absl_random_internal_randen_slow.lib;
+ absl_random_internal_randen_hwaes.lib;
+ absl_random_internal_randen_hwaes_impl.lib;
+ absl_random_internal_distribution_test_util.lib;
+ absl_status.lib;
+ absl_statusor.lib;
+ absl_string_view.lib;
+ absl_strings.lib;
+ absl_strings_internal.lib;
+ absl_str_format_internal.lib;
+ absl_cord_internal.lib;
+ absl_cordz_functions.lib;
+ absl_cordz_handle.lib;
+ absl_cordz_info.lib;
+ absl_cordz_sample_token.lib;
+ absl_cord.lib;
+ absl_graphcycles_internal.lib;
+ absl_kernel_timeout_internal.lib;
+ absl_synchronization.lib;
+ absl_time.lib;
+ absl_civil_time.lib;
+ absl_time_zone.lib;
+ libutf8_validity.lib;
+ libutf8_range.lib;
+ libprotobuf-lite.lib;
$(SolutionDir)3rdparty\ffmpeg\lib\windows\x86_64
8388608
diff --git a/rpcs3.sln b/rpcs3.sln
index acc5528038..4cb0830474 100644
--- a/rpcs3.sln
+++ b/rpcs3.sln
@@ -9,11 +9,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "emucore", "rpcs3\emucore.vc
{2C902C67-985C-4BE0-94A3-E0FE2EB929A3} = {2C902C67-985C-4BE0-94A3-E0FE2EB929A3}
{3C67A2FF-4710-402A-BE3E-31B0CB0576DF} = {3C67A2FF-4710-402A-BE3E-31B0CB0576DF}
{5228F863-E0DD-4DE7-AA7B-5C52B14CD4D0} = {5228F863-E0DD-4DE7-AA7B-5C52B14CD4D0}
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} = {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}
{8846A9AA-5539-4C91-8301-F54260E1A07A} = {8846A9AA-5539-4C91-8301-F54260E1A07A}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "llvm_build", "3rdparty\llvm\llvm_build.vcxproj", "{8BC303AB-25BE-4276-8E57-73F171B2D672}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "protobuf_build", "3rdparty\protobuf\protobuf_build.vcxproj", "{7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}"
+EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLGSRender", "rpcs3\GLGSRender.vcxproj", "{3384223A-6D97-4799-9862-359F85312892}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "rpcs3.emu", "rpcs3.emu", "{10FBF193-D532-4CCF-B875-4C7091A7F6C2}"
@@ -130,6 +133,10 @@ Global
{C4A10229-4712-4BD2-B63E-50D93C67A038}.Release|x64.Build.0 = Release|x64
{8BC303AB-25BE-4276-8E57-73F171B2D672}.Debug|x64.ActiveCfg = Debug|x64
{8BC303AB-25BE-4276-8E57-73F171B2D672}.Release|x64.ActiveCfg = Release|x64
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Debug|x64.ActiveCfg = Debug|x64
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Debug|x64.Build.0 = Debug|x64
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Release|x64.ActiveCfg = Release|x64
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Release|x64.Build.0 = Release|x64
{3384223A-6D97-4799-9862-359F85312892}.Debug|x64.ActiveCfg = Debug|x64
{3384223A-6D97-4799-9862-359F85312892}.Debug|x64.Build.0 = Debug|x64
{3384223A-6D97-4799-9862-359F85312892}.Release|x64.ActiveCfg = Release|x64
@@ -240,6 +247,7 @@ Global
{AC40FF01-426E-4838-A317-66354CEFAE88} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8}
{C4A10229-4712-4BD2-B63E-50D93C67A038} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2}
{8BC303AB-25BE-4276-8E57-73F171B2D672} = {B0AC29FD-7B01-4B5E-9C8D-0A081E4C5668}
+ {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8}
{3384223A-6D97-4799-9862-359F85312892} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2}
{78CB2F39-B809-4A06-8329-8C0A19119D3D} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2}
{EB33566E-DA7F-4D28-9077-88C0B7C77E35} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8}
diff --git a/rpcs3/Emu/CMakeLists.txt b/rpcs3/Emu/CMakeLists.txt
index a4e1ae5d64..edb98a6fa8 100644
--- a/rpcs3/Emu/CMakeLists.txt
+++ b/rpcs3/Emu/CMakeLists.txt
@@ -432,7 +432,7 @@ target_sources(rpcs3_emu PRIVATE
# Np
target_sources(rpcs3_emu PRIVATE
- NP/fb_helpers.cpp
+ NP/pb_helpers.cpp
NP/np_cache.cpp
NP/np_gui_cache.cpp
NP/np_contexts.cpp
@@ -452,6 +452,7 @@ target_sources(rpcs3_emu PRIVATE
NP/upnp_config.cpp
NP/upnp_handler.cpp
NP/ip_address.cpp
+ NP/generated/np2_structs.pb.cc
)
# Memory
@@ -657,7 +658,7 @@ target_link_libraries(rpcs3_emu
3rdparty::soundtouch
3rdparty::miniupnpc
3rdparty::libevdev
- 3rdparty::flatbuffers
+ 3rdparty::protobuf
3rdparty::pugixml
3rdparty::vulkanmemoryallocator
Threads::Threads
diff --git a/rpcs3/Emu/NP/fb_helpers.cpp b/rpcs3/Emu/NP/fb_helpers.cpp
deleted file mode 100644
index 100c3e864c..0000000000
--- a/rpcs3/Emu/NP/fb_helpers.cpp
+++ /dev/null
@@ -1,650 +0,0 @@
-#include "stdafx.h"
-#include "Emu/Cell/lv2/sys_process.h"
-#include "fb_helpers.h"
-
-LOG_CHANNEL(rpcn_log, "rpcn");
-
-namespace np
-{
- void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const BinAttr* bin_attr, SceNpMatching2BinAttr* binattr_info)
- {
- binattr_info->id = bin_attr->id();
- binattr_info->size = bin_attr->data()->size();
- auto* ptr = edata.allocate(binattr_info->size, binattr_info->ptr);
- for (flatbuffers::uoffset_t i = 0; i < bin_attr->data()->size(); i++)
- {
- ptr[i] = bin_attr->data()->Get(i);
- }
- }
-
- void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const flatbuffers::Vector>* fb_attr, SceNpMatching2BinAttr* binattr_info)
- {
- for (flatbuffers::uoffset_t i = 0; i < fb_attr->size(); i++)
- {
- auto cur_fb_attr = fb_attr->Get(i);
- auto cur_binattr = binattr_info + i;
-
- BinAttr_to_SceNpMatching2BinAttr(edata, cur_fb_attr, cur_binattr);
- }
- }
-
- void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const RoomMemberBinAttrInternal* fb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info)
- {
- binattr_info->updateDate.tick = fb_attr->updateDate();
- BinAttr_to_SceNpMatching2BinAttr(edata, fb_attr->data(), &binattr_info->data);
- }
-
- void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const BinAttrInternal* fb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info)
- {
- binattr_info->updateDate.tick = fb_attr->updateDate();
- binattr_info->updateMemberId = fb_attr->updateMemberId();
- BinAttr_to_SceNpMatching2BinAttr(edata, fb_attr->data(), &binattr_info->data);
- }
-
- void RoomGroup_to_SceNpMatching2RoomGroup(const RoomGroup* fb_group, SceNpMatching2RoomGroup* sce_group)
- {
- sce_group->groupId = fb_group->groupId();
- sce_group->withPassword = fb_group->withPassword();
- sce_group->withLabel = fb_group->label() ? 1 : 0;
- if (fb_group->label())
- {
- for (flatbuffers::uoffset_t l_index = 0; l_index < fb_group->label()->size(); l_index++)
- {
- sce_group->label.data[l_index] = fb_group->label()->Get(l_index);
- }
- }
- sce_group->slotNum = fb_group->slotNum();
- sce_group->curGroupMemberNum = fb_group->curGroupMemberNum();
- }
-
- void RoomGroups_to_SceNpMatching2RoomGroups(const flatbuffers::Vector>* fb_groups, SceNpMatching2RoomGroup* sce_groups)
- {
- for (flatbuffers::uoffset_t i = 0; i < fb_groups->size(); i++)
- {
- const auto* fb_group = fb_groups->Get(i);
- SceNpMatching2RoomGroup* sce_group = &sce_groups[i];
- RoomGroup_to_SceNpMatching2RoomGroup(fb_group, sce_group);
- }
- }
-
- void UserInfo_to_SceNpUserInfo(const UserInfo* user, SceNpUserInfo* user_info)
- {
- if (const auto npid = user->npId(); npid)
- {
- std::memcpy(user_info->userId.handle.data, npid->c_str(), std::min(16, npid->size()));
- }
-
- if (const auto online_name = user->onlineName(); online_name)
- {
- std::memcpy(user_info->name.data, online_name->c_str(), std::min(48, online_name->size()));
- }
-
- if (const auto avatar_url = user->avatarUrl(); avatar_url)
- {
- std::memcpy(user_info->icon.data, avatar_url->c_str(), std::min(127, avatar_url->size()));
- }
- }
-
- void UserInfo_to_SceNpUserInfo2(event_data& edata, const UserInfo* user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl)
- {
- if (user->npId())
- std::memcpy(user_info->npId.handle.data, user->npId()->c_str(), std::min(16, user->npId()->size()));
-
- if (include_onlinename && user->onlineName())
- {
- auto* ptr = edata.allocate(sizeof(SceNpOnlineName), user_info->onlineName);
- std::memcpy(ptr->data, user->onlineName()->c_str(), std::min(48, user->onlineName()->size()));
- }
- if (include_avatarurl && user->avatarUrl())
- {
- auto* ptr = edata.allocate(sizeof(SceNpAvatarUrl), user_info->avatarUrl);
- std::memcpy(ptr->data, user->avatarUrl()->c_str(), std::min(127, user->avatarUrl()->size()));
- }
- }
-
- void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const RoomDataExternal* room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl)
- {
- room_info->serverId = room->serverId();
- room_info->worldId = room->worldId();
- room_info->lobbyId = room->lobbyId();
- room_info->roomId = room->roomId();
- room_info->maxSlot = room->maxSlot();
- room_info->curMemberNum = room->curMemberNum();
- room_info->passwordSlotMask = room->passwordSlotMask();
-
- s32 sdk_ver;
- process_get_sdk_version(process_getpid(), sdk_ver);
-
- // Structure changed in sdk 3.3.0
- if (sdk_ver >= 0x330000)
- {
- room_info->publicSlotNum = room->publicSlotNum();
- room_info->privateSlotNum = room->privateSlotNum();
- room_info->openPublicSlotNum = room->openPublicSlotNum();
- room_info->openPrivateSlotNum = room->openPrivateSlotNum();
- }
- else
- {
- room_info->publicSlotNum = 0;
- room_info->privateSlotNum = 0;
- room_info->openPublicSlotNum = 0;
- room_info->openPrivateSlotNum = 0;
- }
-
- if (auto owner = room->owner())
- {
- auto* ptr_owner = edata.allocate(sizeof(SceNpUserInfo2), room_info->owner);
- UserInfo_to_SceNpUserInfo2(edata, owner, ptr_owner, include_onlinename, include_avatarurl);
- }
-
- if (room->roomGroup() && room->roomGroup()->size() != 0)
- {
- room_info->roomGroupNum = room->roomGroup()->size();
- auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup);
- RoomGroups_to_SceNpMatching2RoomGroups(room->roomGroup(), ptr_groups);
- }
-
- room_info->flagAttr = room->flagAttr();
-
- if (room->roomSearchableIntAttrExternal() && room->roomSearchableIntAttrExternal()->size() != 0)
- {
- room_info->roomSearchableIntAttrExternalNum = room->roomSearchableIntAttrExternal()->size();
- auto* ptr_int_attr = edata.allocate(sizeof(SceNpMatching2IntAttr) * room_info->roomSearchableIntAttrExternalNum, room_info->roomSearchableIntAttrExternal);
- for (flatbuffers::uoffset_t a_index = 0; a_index < room->roomSearchableIntAttrExternal()->size(); a_index++)
- {
- auto fb_int_attr = room->roomSearchableIntAttrExternal()->Get(a_index);
- ptr_int_attr[a_index].id = fb_int_attr->id();
- ptr_int_attr[a_index].num = fb_int_attr->num();
- }
- }
-
- if (room->roomSearchableBinAttrExternal() && room->roomSearchableBinAttrExternal()->size() != 0)
- {
- room_info->roomSearchableBinAttrExternalNum = room->roomSearchableBinAttrExternal()->size();
- auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomSearchableBinAttrExternalNum, room_info->roomSearchableBinAttrExternal);
- BinAttrs_to_SceNpMatching2BinAttrs(edata, room->roomSearchableBinAttrExternal(), ptr_bin_attr);
- }
-
- if (room->roomBinAttrExternal() && room->roomBinAttrExternal()->size() != 0)
- {
- room_info->roomBinAttrExternalNum = room->roomBinAttrExternal()->size();
- auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomBinAttrExternalNum, room_info->roomBinAttrExternal);
- BinAttrs_to_SceNpMatching2BinAttrs(edata, room->roomBinAttrExternal(), ptr_bin_attr);
- }
- }
-
- void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const SearchRoomResponse* resp, SceNpMatching2SearchRoomResponse* search_resp)
- {
- search_resp->range.size = resp->rooms() ? resp->rooms()->size() : 0;
- search_resp->range.startIndex = resp->startIndex();
- search_resp->range.total = resp->total();
-
- SceNpMatching2RoomDataExternal* prev_room = nullptr;
- for (flatbuffers::uoffset_t i = 0; i < search_resp->range.size; i++)
- {
- auto* fb_room = resp->rooms()->Get(i);
- SceNpMatching2RoomDataExternal* cur_room;
- cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : search_resp->roomDataExternal);
- RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, fb_room, cur_room, true, true);
- prev_room = cur_room;
- }
- }
-
- void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const GetRoomDataExternalListResponse* resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl)
- {
- get_resp->roomDataExternalNum = resp->rooms() ? resp->rooms()->size() : 0;
-
- SceNpMatching2RoomDataExternal* prev_room = nullptr;
- for (flatbuffers::uoffset_t i = 0; i < get_resp->roomDataExternalNum; i++)
- {
- auto* fb_room = resp->rooms()->Get(i);
- SceNpMatching2RoomDataExternal* cur_room;
-
- cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : get_resp->roomDataExternal);
-
- RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, fb_room, cur_room, include_onlinename, include_avatarurl);
- prev_room = cur_room;
- }
- }
-
- u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const RoomDataInternal* resp, SceNpMatching2RoomDataInternal* room_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl)
- {
- u16 member_id = 0;
- room_info->serverId = resp->serverId();
- room_info->worldId = resp->worldId();
- room_info->lobbyId = resp->lobbyId();
- room_info->roomId = resp->roomId();
- room_info->passwordSlotMask = resp->passwordSlotMask();
- room_info->maxSlot = resp->maxSlot();
-
- if (resp->roomGroup() && resp->roomGroup()->size() != 0)
- {
- room_info->roomGroupNum = resp->roomGroup()->size();
- auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup);
- RoomGroups_to_SceNpMatching2RoomGroups(resp->roomGroup(), ptr_groups);
- }
-
- room_info->memberList.membersNum = static_cast(resp->memberList()->size());
- edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal) * room_info->memberList.membersNum, room_info->memberList.members);
-
- for (flatbuffers::uoffset_t i = 0; i < resp->memberList()->size(); i++)
- {
- auto fb_member = resp->memberList()->Get(i);
- SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i];
-
- if (i < (resp->memberList()->size() - 1))
- {
- sce_member->next = room_info->memberList.members + i + 1;
- edata.add_relocation(sce_member->next);
- }
-
- RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, fb_member, room_info, sce_member, include_onlinename, include_avatarurl);
- }
-
- for (u32 i = 0; i < room_info->memberList.membersNum; i++)
- {
- SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i];
- if (strcmp(sce_member->userInfo.npId.handle.data, npid.handle.data) == 0)
- {
- room_info->memberList.me = room_info->memberList.members + i;
- edata.add_relocation(room_info->memberList.me);
- member_id = sce_member->memberId;
- break;
- }
- }
-
- for (u32 i = 0; i < room_info->memberList.membersNum; i++)
- {
- SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i];
- if (sce_member->memberId == resp->ownerId())
- {
- room_info->memberList.owner = room_info->memberList.members + i;
- edata.add_relocation(room_info->memberList.owner);
- break;
- }
- }
-
- room_info->flagAttr = resp->flagAttr();
-
- if (resp->roomBinAttrInternal() && resp->roomBinAttrInternal()->size() != 0)
- {
- room_info->roomBinAttrInternalNum = resp->roomBinAttrInternal()->size();
- auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2RoomBinAttrInternal) * room_info->roomBinAttrInternalNum, room_info->roomBinAttrInternal);
-
- for (u32 b_index = 0; b_index < room_info->roomBinAttrInternalNum; b_index++)
- {
- auto fb_bin_attr = resp->roomBinAttrInternal()->Get(b_index);
- ptr_bin_attr[b_index].updateDate.tick = fb_bin_attr->updateDate();
- ptr_bin_attr[b_index].updateMemberId = fb_bin_attr->updateMemberId();
-
- ptr_bin_attr[b_index].data.id = fb_bin_attr->data()->id();
- ptr_bin_attr[b_index].data.size = fb_bin_attr->data()->data()->size();
- auto* ptr_bin_attr_data = edata.allocate(ptr_bin_attr[b_index].data.size, ptr_bin_attr[b_index].data.ptr);
- for (flatbuffers::uoffset_t tmp_index = 0; tmp_index < ptr_bin_attr[b_index].data.size; tmp_index++)
- {
- ptr_bin_attr_data[tmp_index] = fb_bin_attr->data()->data()->Get(tmp_index);
- }
- }
- }
-
- return member_id;
- }
-
- void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const RoomMemberDataInternal* member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl)
- {
- UserInfo_to_SceNpUserInfo2(edata, member_data->userInfo(), &sce_member_data->userInfo, include_onlinename, include_avatarurl);
- sce_member_data->joinDate.tick = member_data->joinDate();
- sce_member_data->memberId = member_data->memberId();
- sce_member_data->teamId = member_data->teamId();
-
- if (const auto* fb_roomgroup = member_data->roomGroup())
- {
- if (room_info)
- {
- // If we have SceNpMatching2RoomDataInternal available we point the pointers to the group there
- sce_member_data->roomGroup = room_info->roomGroup + (fb_roomgroup->groupId() - 1);
- edata.add_relocation(sce_member_data->roomGroup);
- }
- else
- {
- // Otherwise we allocate for it
- auto* ptr_group = edata.allocate(sizeof(SceNpMatching2RoomGroup), sce_member_data->roomGroup);
- RoomGroup_to_SceNpMatching2RoomGroup(fb_roomgroup, ptr_group);
- }
- }
-
- sce_member_data->natType = member_data->natType();
- sce_member_data->flagAttr = member_data->flagAttr();
-
- if (member_data->roomMemberBinAttrInternal() && member_data->roomMemberBinAttrInternal()->size() != 0)
- {
- sce_member_data->roomMemberBinAttrInternalNum = member_data->roomMemberBinAttrInternal()->size();
- auto* sce_binattrs = edata.allocate(sizeof(SceNpMatching2RoomMemberBinAttrInternal) * sce_member_data->roomMemberBinAttrInternalNum, sce_member_data->roomMemberBinAttrInternal);
- for (u32 b_index = 0; b_index < sce_member_data->roomMemberBinAttrInternalNum; b_index++)
- {
- const auto fb_battr = member_data->roomMemberBinAttrInternal()->Get(b_index);
- sce_binattrs[b_index].updateDate.tick = fb_battr->updateDate();
-
- sce_binattrs[b_index].data.id = fb_battr->data()->id();
- sce_binattrs[b_index].data.size = fb_battr->data()->data()->size();
- auto* sce_binattr_data = edata.allocate(sce_binattrs[b_index].data.size, sce_binattrs[b_index].data.ptr);
- for (flatbuffers::uoffset_t tmp_index = 0; tmp_index < sce_binattrs[b_index].data.size; tmp_index++)
- {
- sce_binattr_data[tmp_index] = fb_battr->data()->data()->Get(tmp_index);
- }
- }
- }
- }
-
- void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const RoomMemberUpdateInfo* update_info, SceNpMatching2RoomMemberUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl)
- {
- sce_update_info->eventCause = 0;
- if (update_info->optData())
- {
- sce_update_info->optData.length = update_info->optData()->data()->size();
- for (flatbuffers::uoffset_t i = 0; i < 16; i++)
- {
- sce_update_info->optData.data[i] = update_info->optData()->data()->Get(i);
- }
- }
-
- if (update_info->roomMemberDataInternal())
- {
- auto fb_member = update_info->roomMemberDataInternal();
- auto* ptr_roomemberinternal = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->roomMemberDataInternal);
-
- // TODO: Pass room_info
- RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, fb_member, nullptr, ptr_roomemberinternal, include_onlinename, include_avatarurl);
- }
- }
-
- void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const RoomUpdateInfo* update_info, SceNpMatching2RoomUpdateInfo* sce_update_info)
- {
- sce_update_info->errorCode = 0;
- sce_update_info->eventCause = 0;
- if (update_info->optData())
- {
- sce_update_info->optData.length = update_info->optData()->data()->size();
- for (flatbuffers::uoffset_t i = 0; i < 16; i++)
- {
- sce_update_info->optData.data[i] = update_info->optData()->data()->Get(i);
- }
- }
- }
-
- void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const RoomDataInternalUpdateInfo* update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl)
- {
- auto* sce_room_data = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), sce_update_info->newRoomDataInternal);
- RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, update_info->newRoomDataInternal(), sce_room_data, npid, include_onlinename, include_avatarurl);
-
- if (sce_room_data->flagAttr != update_info->prevFlagAttr())
- {
- sce_update_info->newFlagAttr = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::flagAttr);
- edata.add_relocation(sce_update_info->newFlagAttr);
- auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr);
- *ptr_sce_prevflag = update_info->prevFlagAttr();
- }
-
- if (sce_room_data->passwordSlotMask != update_info->prevRoomPasswordSlotMask())
- {
- sce_update_info->newRoomPasswordSlotMask = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::passwordSlotMask);
- edata.add_relocation(sce_update_info->newRoomPasswordSlotMask);
- auto* ptr_sce_prevpass = edata.allocate(sizeof(SceNpMatching2RoomPasswordSlotMask), sce_update_info->prevRoomPasswordSlotMask);
- *ptr_sce_prevpass = update_info->prevRoomPasswordSlotMask();
- }
-
- if (update_info->newRoomGroup() && update_info->newRoomGroup()->size() != 0)
- {
- rpcn_log.todo("RoomDataInternalUpdateInfo::newRoomGroup");
- // TODO
- // sce_update_info->newRoomGroupNum = update_info->newRoomGroup()->size();
- // vm::ptr group_info(allocate(sizeof(SceNpMatching2RoomGroup) * sce_update_info->newRoomGroupNum));
- // RoomGroups_to_SceNpMatching2RoomGroup(update_info->newRoomGroup(), group_info);
- // sce_update_info->newRoomGroup = group_info;
- }
-
- if (update_info->newRoomBinAttrInternal() && update_info->newRoomBinAttrInternal()->size() != 0)
- {
- const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr
- {
- vm::bptr ret_ptr = sce_room_data->roomBinAttrInternal;
- for (u32 i = 0; i < sce_room_data->roomBinAttrInternalNum; i++)
- {
- if (ret_ptr->data.id == binattr_id)
- return ret_ptr;
-
- ret_ptr++;
- }
- rpcn_log.fatal("RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo: Couldn't find matching roomBinAttrInternal!");
- return vm::null;
- };
-
- sce_update_info->newRoomBinAttrInternalNum = update_info->newRoomBinAttrInternal()->size();
- edata.allocate_ptr_array(sce_update_info->newRoomBinAttrInternalNum, sce_update_info->newRoomBinAttrInternal);
- for (u32 i = 0; i < sce_update_info->newRoomBinAttrInternalNum; i++)
- {
- sce_update_info->newRoomBinAttrInternal[i] = get_ptr_for_binattr(update_info->newRoomBinAttrInternal()->Get(i));
- }
- }
- }
-
- void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const RoomMemberDataInternalUpdateInfo* update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl)
- {
- auto* sce_room_member_data = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->newRoomMemberDataInternal);
- RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, update_info->newRoomMemberDataInternal(), nullptr, sce_room_member_data, include_onlinename, include_avatarurl);
-
- if (sce_update_info->newRoomMemberDataInternal->flagAttr != update_info->prevFlagAttr())
- {
- sce_update_info->newFlagAttr = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::flagAttr);
- edata.add_relocation(sce_update_info->newFlagAttr);
- auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr);
- *ptr_sce_prevflag = update_info->prevFlagAttr();
- }
-
- if (sce_update_info->newRoomMemberDataInternal->teamId != update_info->prevTeamId())
- {
- sce_update_info->newTeamId = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::teamId);
- edata.add_relocation(sce_update_info->newTeamId);
- }
-
- if (update_info->newRoomMemberBinAttrInternal() && update_info->newRoomMemberBinAttrInternal()->size() != 0)
- {
- const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr
- {
- vm::bptr ret_ptr = sce_room_member_data->roomMemberBinAttrInternal;
- for (u32 i = 0; i < sce_room_member_data->roomMemberBinAttrInternalNum; i++)
- {
- if (ret_ptr->data.id == binattr_id)
- return ret_ptr;
-
- ret_ptr++;
- }
- rpcn_log.fatal("RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo: Couldn't find matching roomMemberBinAttrInternal!");
- return vm::null;
- };
-
- sce_update_info->newRoomMemberBinAttrInternalNum = update_info->newRoomMemberBinAttrInternal()->size();
- edata.allocate_ptr_array(sce_update_info->newRoomMemberBinAttrInternalNum, sce_update_info->newRoomMemberBinAttrInternal);
- for (u32 i = 0; i < sce_update_info->newRoomMemberBinAttrInternalNum; i++)
- {
- sce_update_info->newRoomMemberBinAttrInternal[i] = get_ptr_for_binattr(update_info->newRoomMemberBinAttrInternal()->Get(i));
- }
- }
- }
-
- void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const GetPingInfoResponse* resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp)
- {
- sce_resp->serverId = resp->serverId();
- sce_resp->worldId = resp->worldId();
- sce_resp->roomId = resp->roomId();
- sce_resp->rtt = resp->rtt();
- }
-
- void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const RoomMessageInfo* mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl)
- {
- sce_mi->filtered = mi->filtered();
- sce_mi->castType = mi->castType();
-
- if (sce_mi->castType != SCE_NP_MATCHING2_CASTTYPE_BROADCAST)
- {
- edata.allocate(sizeof(SceNpMatching2RoomMessageDestination), sce_mi->dst);
- }
-
- switch (sce_mi->castType)
- {
- case SCE_NP_MATCHING2_CASTTYPE_BROADCAST: break;
- case SCE_NP_MATCHING2_CASTTYPE_UNICAST: sce_mi->dst->unicastTarget = mi->dst()->Get(0); break;
- case SCE_NP_MATCHING2_CASTTYPE_MULTICAST:
- {
- sce_mi->dst->multicastTarget.memberIdNum = mi->dst()->size();
- edata.allocate(sizeof(u16) * mi->dst()->size(), sce_mi->dst->multicastTarget.memberId);
- for (u32 i = 0; i < mi->dst()->size(); i++)
- {
- sce_mi->dst->multicastTarget.memberId[i] = mi->dst()->Get(i);
- }
- break;
- }
- case SCE_NP_MATCHING2_CASTTYPE_MULTICAST_TEAM: sce_mi->dst->multicastTargetTeamId = ::narrow(mi->dst()->Get(0)); break;
- default: ensure(false);
- }
-
- if (auto src_member = mi->srcMember())
- {
- auto* ptr_sce_userinfo = edata.allocate(sizeof(SceNpUserInfo2), sce_mi->srcMember);
- UserInfo_to_SceNpUserInfo2(edata, src_member, ptr_sce_userinfo, include_onlinename, include_avatarurl);
- }
-
- if (auto msg = mi->msg())
- {
- sce_mi->msgLen = msg->size();
- auto* ptr_msg_data = static_cast(edata.allocate(msg->size(), sce_mi->msg));
- for (u32 i = 0; i < msg->size(); i++)
- {
- ptr_msg_data[i] = msg->Get(i);
- }
- }
- }
-
- void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingRoomStatus* room_status)
- {
- const auto* vec_id = resp->id();
- ensure(vec_id && vec_id->size() == 28, "Invalid room id in MatchingRoomStatus");
-
- for (flatbuffers::uoffset_t i = 0; i < 28; i++)
- {
- room_status->id.opt[i] = vec_id->Get(i);
- }
-
- // In some events the member list can be empty
- if (const auto* members = resp->members(); members && members->size())
- {
- room_status->num = members->size();
- SceNpMatchingRoomMember* prev_member{};
-
- for (flatbuffers::uoffset_t i = 0; i < members->size(); i++)
- {
- auto* cur_member = edata.allocate(sizeof(SceNpMatchingRoomMember), (i > 0) ? prev_member->next : room_status->members);
- const auto* member = members->Get(i);
- ensure(member && member->info(), "Invalid member in MatchingRoomStatus list");
-
- cur_member->owner = member->owner() ? 1 : 0;
- UserInfo_to_SceNpUserInfo(member->info(), &cur_member->user_info);
-
- prev_member = cur_member;
- }
- }
-
- if (const auto* kick_npid = resp->kick_actor(); kick_npid)
- {
- auto* npid = edata.allocate(sizeof(SceNpId), room_status->kick_actor);
- std::memcpy(npid->handle.data, kick_npid->c_str(), std::min(16, kick_npid->size()));
- }
-
- if (const auto* opt = resp->opt(); opt && opt->size())
- {
- room_status->opt_len = opt->size();
- u8* opt_data = static_cast(edata.allocate(opt->size(), room_status->opt));
-
- for (flatbuffers::uoffset_t i = 0; i < opt->size(); i++)
- {
- opt_data[i] = opt->Get(i);
- }
- }
- }
-
- void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingJoinedRoomInfo* room_info)
- {
- // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1
- room_info->lobbyid.opt[27] = 1;
- MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp, &room_info->room_status);
- }
-
- void MatchingAttr_to_SceNpMatchingAttr(event_data& edata, const flatbuffers::Vector>* attr_list, vm::bptr& first_attr)
- {
- if (attr_list)
- {
- SceNpMatchingAttr* cur_attr = nullptr;
-
- for (flatbuffers::uoffset_t i_attr = 0; i_attr < attr_list->size(); i_attr++)
- {
- const auto* attr = attr_list->Get(i_attr);
- cur_attr = edata.allocate(sizeof(SceNpMatchingAttr), cur_attr ? cur_attr->next : first_attr);
-
- ensure(attr);
- cur_attr->type = attr->attr_type();
- cur_attr->id = attr->attr_id();
- if (attr->data())
- {
- if (attr->data()->size())
- {
- cur_attr->value.data.size = attr->data()->size();
- u8* data_ptr = static_cast(edata.allocate(attr->data()->size(), cur_attr->value.data.ptr));
- memcpy(data_ptr, attr->data()->data(), attr->data()->size());
- }
- }
- else
- {
- cur_attr->value.num = attr->num();
- }
- }
- }
- }
-
- void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const MatchingRoom* resp, SceNpMatchingRoom* room)
- {
- ensure(room && resp->id() && resp->id()->size() == sizeof(SceNpRoomId::opt));
- memcpy(room->id.opt, resp->id()->data(), sizeof(SceNpRoomId::opt));
- MatchingAttr_to_SceNpMatchingAttr(edata, resp->attr(), room->attr);
- }
-
- void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const MatchingRoomList* resp, SceNpMatchingRoomList* room_list)
- {
- // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1
- room_list->lobbyid.opt[27] = 1;
- room_list->range.start = resp->start();
- room_list->range.total = resp->total();
-
- if (auto rooms = resp->rooms(); rooms)
- {
- room_list->range.results = rooms->size();
-
- SceNpMatchingRoom* cur_room = nullptr;
-
- for (flatbuffers::uoffset_t i = 0; i < rooms->size(); i++)
- {
- const auto* room = rooms->Get(i);
- cur_room = edata.allocate(sizeof(SceNpMatchingRoom), cur_room ? cur_room->next : room_list->head);
- MatchingRoom_to_SceNpMatchingRoom(edata, room, cur_room);
- }
- }
- }
-
- void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const MatchingSearchJoinRoomInfo* resp, SceNpMatchingSearchJoinRoomInfo* room_info)
- {
- ensure(resp->room());
- room_info->lobbyid.opt[27] = 1;
- MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp->room(), &room_info->room_status);
- MatchingAttr_to_SceNpMatchingAttr(edata, resp->attr(), room_info->attr);
- }
-
-} // namespace np
diff --git a/rpcs3/Emu/NP/fb_helpers.h b/rpcs3/Emu/NP/fb_helpers.h
deleted file mode 100644
index 6b92cfba37..0000000000
--- a/rpcs3/Emu/NP/fb_helpers.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#pragma once
-
-#include "Emu/Cell/Modules/sceNp.h"
-#include "Emu/Cell/Modules/sceNp2.h"
-#include "np_event_data.h"
-#include "generated/np2_structs_generated.h"
-
-namespace np
-{
- void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const BinAttr* bin_attr, SceNpMatching2BinAttr* binattr_info);
- void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const flatbuffers::Vector>* fb_attr, SceNpMatching2BinAttr* binattr_info);
- void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const RoomMemberBinAttrInternal* fb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info);
- void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const BinAttrInternal* fb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info);
- void RoomGroup_to_SceNpMatching2RoomGroup(const RoomGroup* fb_group, SceNpMatching2RoomGroup* sce_group);
- void RoomGroups_to_SceNpMatching2RoomGroups(const flatbuffers::Vector>* fb_groups, SceNpMatching2RoomGroup* sce_groups);
- void UserInfo_to_SceNpUserInfo(const UserInfo* user, SceNpUserInfo* user_info);
- void UserInfo_to_SceNpUserInfo2(event_data& edata, const UserInfo* user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl);
- void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const RoomDataExternal* room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl);
- void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const SearchRoomResponse* resp, SceNpMatching2SearchRoomResponse* search_resp);
- void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const GetRoomDataExternalListResponse* resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl);
- u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const RoomDataInternal* resp, SceNpMatching2RoomDataInternal* room_resp, const SceNpId& npid, bool include_onlinename, bool include_avatarurl);
- void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const RoomMemberDataInternal* member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl);
- void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const RoomMemberUpdateInfo* resp, SceNpMatching2RoomMemberUpdateInfo* room_info, bool include_onlinename, bool include_avatarurl);
- void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const RoomUpdateInfo* update_info, SceNpMatching2RoomUpdateInfo* sce_update_info);
- void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const GetPingInfoResponse* resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp);
- void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const RoomMessageInfo* mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl);
- void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const RoomDataInternalUpdateInfo* update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl);
- void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const RoomMemberDataInternalUpdateInfo* update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl);
- void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingRoomStatus* room_status);
- void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingJoinedRoomInfo* room_info);
- void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const MatchingRoom* resp, SceNpMatchingRoom* room);
- void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const MatchingRoomList* resp, SceNpMatchingRoomList* room_list);
- void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const MatchingSearchJoinRoomInfo* resp, SceNpMatchingSearchJoinRoomInfo* room_info);
-} // namespace np
diff --git a/rpcs3/Emu/NP/generated/np2_structs.fbs b/rpcs3/Emu/NP/generated/np2_structs.fbs
deleted file mode 100644
index 9ca6e4a437..0000000000
--- a/rpcs3/Emu/NP/generated/np2_structs.fbs
+++ /dev/null
@@ -1,584 +0,0 @@
-table SignalingAddr {
- ip:[uint8];
- port:uint16;
-}
-
-table MatchingSignalingInfo {
- npid:string;
- addr:SignalingAddr;
-}
-
-table Matching2SignalingInfo {
- member_id:uint16;
- addr:SignalingAddr;
-}
-
-table BinAttr {
- id:uint16;
- data:[uint8];
-}
-
-table IntAttr {
- id:uint16;
- num:uint32;
-}
-
-table RoomMemberBinAttrInternal {
- updateDate:uint64;
- data:BinAttr;
-}
-
-table BinAttrInternal {
- updateDate:uint64;
- updateMemberId:uint16;
- data:BinAttr;
-}
-
-table OptParam {
- type:uint8;
- flag:uint8;
- hubMemberId:uint16 ;
-}
-
-table GroupConfig {
- slotNum:uint32;
- label:[uint8];
- withPassword:bool;
-}
-
-table UserInfo {
- npId:string;
- onlineName:string;
- avatarUrl:string;
-}
-
-table RoomMemberDataInternal {
- userInfo:UserInfo;
- joinDate:uint64;
- memberId:uint16;
- teamId:uint8;
- roomGroup:RoomGroup;
- natType:uint8;
- flagAttr:uint32;
- roomMemberBinAttrInternal:[RoomMemberBinAttrInternal];
-}
-
-table RoomGroup {
- groupId:uint8;
- withPassword:bool;
- label:[uint8];
- slotNum:uint32;
- curGroupMemberNum:uint32;
-}
-
-table RoomDataInternal {
- serverId:uint16;
- worldId:uint32;
- lobbyId:uint64;
- roomId:uint64;
- passwordSlotMask:uint64;
- maxSlot:uint32;
- memberList:[RoomMemberDataInternal];
- ownerId:uint16;
- roomGroup:[RoomGroup];
- flagAttr:uint32;
- roomBinAttrInternal:[BinAttrInternal];
-}
-
-table RoomDataExternal {
- serverId:uint16;
- worldId:uint32;
- publicSlotNum:uint16;
- privateSlotNum:uint16;
- lobbyId:uint64;
- roomId:uint64;
- openPublicSlotNum:uint16;
- maxSlot:uint16;
- openPrivateSlotNum:uint16;
- curMemberNum:uint16;
- passwordSlotMask:uint64;
- owner:UserInfo;
- roomGroup:[RoomGroup];
- flagAttr:uint32;
- roomSearchableIntAttrExternal:[IntAttr];
- roomSearchableBinAttrExternal:[BinAttr];
- roomBinAttrExternal:[BinAttr];
-}
-
-table IntSearchFilter {
- searchOperator:uint8;
- attr:IntAttr;
-}
-
-table BinSearchFilter {
- searchOperator:uint8;
- attr:BinAttr;
-}
-
-table PresenceOptionData {
- data:[uint8];
- len:uint32;
-}
-
-table RoomGroupPasswordConfig {
- groupId:uint8;
- withPassword:bool;
-}
-
-table SearchRoomRequest {
- option:int32;
- worldId:uint32;
- lobbyId:uint64;
- rangeFilter_startIndex:uint32;
- rangeFilter_max:uint32;
- flagFilter:uint32;
- flagAttr:uint32;
- intFilter:[IntSearchFilter];
- binFilter:[BinSearchFilter];
- attrId:[uint16];
-}
-
-table SearchRoomResponse {
- startIndex:uint32;
- total:uint32;
- rooms:[RoomDataExternal];
-}
-
-table CreateJoinRoomRequest {
- worldId:uint32;
- lobbyId:uint64;
- maxSlot:uint32;
- flagAttr:uint32;
- roomBinAttrInternal:[BinAttr];
- roomSearchableIntAttrExternal:[IntAttr];
- roomSearchableBinAttrExternal:[BinAttr];
- roomBinAttrExternal:[BinAttr];
- roomPassword:[uint8];
- groupConfig:[GroupConfig];
- passwordSlotMask:uint64;
- allowedUser:[string];
- blockedUser:[string];
-
- joinRoomGroupLabel:[uint8];
- roomMemberBinAttrInternal:[BinAttr];
- teamId:uint8;
- sigOptParam:OptParam;
-}
-
-table JoinRoomRequest {
- roomId:uint64;
- roomPassword:[uint8];
- joinRoomGroupLabel:[uint8];
- roomMemberBinAttrInternal:[BinAttr];
- optData:PresenceOptionData;
- teamId:uint8;
-}
-
-table JoinRoomResponse {
- room_data: RoomDataInternal;
- signaling_data: [Matching2SignalingInfo];
-}
-
-table LeaveRoomRequest {
- roomId:uint64;
- optData:PresenceOptionData;
-}
-
-table GetRoomDataExternalListRequest {
- roomIds:[uint64];
- attrIds:[uint16];
-}
-
-table GetRoomDataExternalListResponse {
- rooms:[RoomDataExternal];
-}
-
-table SetRoomDataExternalRequest {
- roomId:uint64;
- roomSearchableIntAttrExternal:[IntAttr];
- roomSearchableBinAttrExternal:[BinAttr];
- roomBinAttrExternal:[BinAttr];
-}
-
-table SetRoomDataInternalRequest {
- roomId:uint64;
- flagFilter:uint32;
- flagAttr:uint32;
- roomBinAttrInternal:[BinAttr];
- passwordConfig:[RoomGroupPasswordConfig];
- passwordSlotMask:[uint64];
- ownerPrivilegeRank:[uint16];
-}
-
-table GetRoomMemberDataInternalRequest {
- roomId:uint64;
- memberId:uint16;
- attrId:[uint16];
-}
-
-table SetRoomMemberDataInternalRequest {
- roomId:uint64;
- memberId:uint16;
- teamId:uint8;
- roomMemberBinAttrInternal:[BinAttr];
-}
-
-table SetUserInfo {
- serverId:uint16;
- userBinAttr:[BinAttr];
-}
-
-table GetRoomDataInternalRequest {
- roomId:uint64;
- attrId:[uint16];
-}
-
-table RoomMemberUpdateInfo {
- roomMemberDataInternal:RoomMemberDataInternal;
- eventCause:uint8;
- optData:PresenceOptionData;
-}
-
-table NotificationUserJoinedRoom {
- room_id:uint64;
- update_info:RoomMemberUpdateInfo;
- signaling:SignalingAddr;
-}
-
-table RoomUpdateInfo {
- eventCause:uint8;
- errorCode:int32;
- optData:PresenceOptionData;
-}
-
-table RoomDataInternalUpdateInfo {
- newRoomDataInternal:RoomDataInternal;
- prevFlagAttr:uint32;
- prevRoomPasswordSlotMask:uint64;
- newRoomGroup:[uint8];
- newRoomBinAttrInternal:[uint16];
-}
-
-table RoomMemberDataInternalUpdateInfo {
- newRoomMemberDataInternal:RoomMemberDataInternal;
- prevFlagAttr:uint32;
- prevTeamId:uint8;
- newRoomMemberBinAttrInternal:[uint16];
-}
-
-table GetPingInfoResponse {
- serverId:uint16;
- worldId:uint32;
- roomId:uint64;
- rtt:uint32;
-}
-
-table SendRoomMessageRequest {
- roomId:uint64;
- castType:uint8;
- dst:[uint16];
- msg:[uint8];
- option:uint8;
-}
-
-table RoomMessageInfo {
- filtered:bool;
- castType:uint8;
- dst:[uint16];
- srcMember:UserInfo;
- msg:[uint8];
-}
-
-table MessageDetails {
- communicationId:string;
- msgId:uint64;
- mainType:uint16;
- subType:uint16;
- msgFeatures:uint32;
- subject:string;
- body:string;
- data:[uint8];
-}
-
-table SendMessageRequest {
- message:[uint8] (nested_flatbuffer: "MessageDetails");
- npids:[string];
-}
-
-table BoardInfo {
- rankLimit:uint32;
- updateMode:uint32;
- sortMode:uint32;
- uploadNumLimit:uint32;
- uploadSizeLimit:uint32;
-}
-
-table RecordScoreRequest {
- boardId:uint32;
- pcId:int32;
- score:int64;
- comment:string;
- data:[uint8];
-}
-
-table GetScoreRangeRequest {
- boardId:uint32;
- startRank:uint32;
- numRanks:uint32;
- withComment:bool;
- withGameInfo:bool;
-}
-
-table ScoreNpIdPcId {
- npid:string;
- pcId:int32;
-}
-
-table GetScoreNpIdRequest {
- boardId:uint32;
- npids:[ScoreNpIdPcId];
- withComment:bool;
- withGameInfo:bool;
-}
-
-table GetScoreFriendsRequest {
- boardId:uint32;
- include_self:bool;
- max:uint32;
- withComment:bool;
- withGameInfo:bool;
-}
-
-table ScoreRankData {
- npId:string;
- onlineName:string;
- pcId:int32;
- rank:uint32;
- score:int64;
- hasGameData:bool;
- recordDate:uint64;
-}
-
-table ScoreInfo {
- data:[uint8];
-}
-
-table GetScoreResponse {
- rankArray:[ScoreRankData];
- commentArray:[string];
- infoArray:[ScoreInfo];
- lastSortDate:uint64;
- totalRecord:uint32;
-}
-
-table RecordScoreGameDataRequest {
- boardId:uint32;
- pcId:int32;
- score:int64;
-}
-
-table GetScoreGameDataRequest {
- boardId:uint32;
- npId:string;
- pcId:int32;
-}
-
-table TusUser {
- vuser:bool;
- npid:string;
-}
-
-table TusVariable {
- ownerId:string;
- hasData:bool;
- lastChangedDate:uint64;
- lastChangedAuthorId:string;
- variable:int64;
- oldVariable:int64;
-}
-
-table TusVarResponse {
- vars:[TusVariable];
-}
-
-table TusSetMultiSlotVariableRequest {
- user:TusUser;
- slotIdArray:[int32];
- variableArray:[int64];
-}
-
-table TusGetMultiSlotVariableRequest {
- user:TusUser;
- slotIdArray:[int32];
-}
-
-table TusGetMultiUserVariableRequest {
- users:[TusUser];
- slotId:int32;
-}
-
-table TusGetFriendsVariableRequest {
- slotId:int32;
- includeSelf:bool;
- sortType:int32;
- arrayNum:uint32;
-}
-
-table TusAddAndGetVariableRequest {
- user:TusUser;
- slotId:int32;
- inVariable:int64;
- isLastChangedDate:[uint64];
- isLastChangedAuthorId:string;
-}
-
-table TusTryAndSetVariableRequest {
- user:TusUser;
- slotId:int32;
- opeType:int32;
- variable:int64;
- isLastChangedDate:[uint64];
- isLastChangedAuthorId:string;
- compareValue:[int64];
-}
-
-table TusDeleteMultiSlotVariableRequest {
- user:TusUser;
- slotIdArray:[int32];
-}
-
-table TusSetDataRequest {
- user:TusUser;
- slotId:int32;
- data:[uint8];
- info:[uint8];
- isLastChangedDate:[uint64];
- isLastChangedAuthorId:string;
-}
-
-table TusDataStatus {
- ownerId:string;
- hasData:bool;
- lastChangedDate:uint64;
- lastChangedAuthorId:string;
- info:[uint8];
-}
-
-table TusData {
- status: TusDataStatus;
- data:[uint8];
-}
-
-table TusDataStatusResponse {
- status: [TusDataStatus];
-}
-
-table TusGetDataRequest {
- user:TusUser;
- slotId:int32;
-}
-
-table TusGetMultiSlotDataStatusRequest {
- user:TusUser;
- slotIdArray:[int32];
-}
-
-table TusGetMultiUserDataStatusRequest {
- users:[TusUser];
- slotId:int32;
-}
-
-table TusGetFriendsDataStatusRequest {
- slotId:int32;
- includeSelf:bool;
- sortType:int32;
- arrayNum:uint32;
-}
-
-table TusDeleteMultiSlotDataRequest {
- user:TusUser;
- slotIdArray:[int32];
-}
-
-table SetPresenceRequest {
- title:string;
- status:string;
- comment:string;
- data:[uint8];
-}
-
-table MatchingSearchCondition {
- attr_type:uint32;
- attr_id:uint32;
- comp_op:uint32;
- comp_value:uint32;
-}
-
-table MatchingAttr {
- attr_type:uint32;
- attr_id:uint32;
- num:uint32;
- data:[uint8];
-}
-
-table CreateRoomGUIRequest {
- total_slots:uint32;
- private_slots:uint32;
- privilege_grant:bool;
- stealth:bool;
- game_attrs:[MatchingAttr];
-}
-
-table GUIUserInfo {
- info:UserInfo;
- owner:bool;
-}
-
-table MatchingRoomStatus {
- id:[uint8];
- members:[GUIUserInfo];
- kick_actor:string;
- opt:[uint8];
-}
-
-table GetRoomListGUIRequest {
- range_start:uint32;
- range_max:uint32;
- conds:[MatchingSearchCondition];
- attrs:[MatchingAttr];
-}
-
-table MatchingRoom {
- id:[uint8];
- attr:[MatchingAttr];
-}
-
-table MatchingRoomList {
- start:uint32;
- total:uint32;
- rooms:[MatchingRoom];
-}
-
-table MatchingGuiRoomId {
- id:[uint8];
-}
-
-table SetRoomSearchFlagGUI {
- roomid:[uint8];
- stealth:bool;
-}
-
-table QuickMatchGUIRequest {
- conds:[MatchingSearchCondition];
- available_num:uint32;
-}
-
-table SearchJoinRoomGUIRequest {
- conds:[MatchingSearchCondition];
- attrs:[MatchingAttr];
-}
-
-table MatchingSearchJoinRoomInfo {
- room:MatchingRoomStatus;
- attr:[MatchingAttr];
-}
diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.cc b/rpcs3/Emu/NP/generated/np2_structs.pb.cc
new file mode 100644
index 0000000000..756b12b0dc
--- /dev/null
+++ b/rpcs3/Emu/NP/generated/np2_structs.pb.cc
@@ -0,0 +1,35690 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: np2_structs.proto
+// Protobuf C++ Version: 6.33.4
+
+#include "np2_structs.pb.h"
+
+#include
+#include
+#include "google/protobuf/io/coded_stream.h"
+#include "google/protobuf/generated_message_tctable_impl.h"
+#include "google/protobuf/extension_set.h"
+#include "google/protobuf/generated_message_util.h"
+#include "google/protobuf/wire_format_lite.h"
+#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
+// @@protoc_insertion_point(includes)
+
+// Must be included last.
+#include "google/protobuf/port_def.inc"
+PROTOBUF_PRAGMA_INIT_SEG
+namespace _pb = ::google::protobuf;
+namespace _pbi = ::google::protobuf::internal;
+namespace _fl = ::google::protobuf::internal::field_layout;
+namespace np2_structs {
+
+inline constexpr uint8::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ value_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR uint8::uint8(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(uint8_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct uint8DefaultTypeInternal {
+ PROTOBUF_CONSTEXPR uint8DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~uint8DefaultTypeInternal() {}
+ union {
+ uint8 _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint8DefaultTypeInternal _uint8_default_instance_;
+
+inline constexpr uint16::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ value_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR uint16::uint16(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(uint16_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct uint16DefaultTypeInternal {
+ PROTOBUF_CONSTEXPR uint16DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~uint16DefaultTypeInternal() {}
+ union {
+ uint16 _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint16DefaultTypeInternal _uint16_default_instance_;
+
+inline constexpr UserInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ onlinename_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ avatarurl_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR UserInfo::UserInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(UserInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct UserInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR UserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~UserInfoDefaultTypeInternal() {}
+ union {
+ UserInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserInfoDefaultTypeInternal _UserInfo_default_instance_;
+
+inline constexpr TusVariable::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ ownerid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ lastchangedauthorid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ lastchangeddate_{::uint64_t{0u}},
+ variable_{::int64_t{0}},
+ oldvariable_{::int64_t{0}},
+ hasdata_{false} {}
+
+template
+PROTOBUF_CONSTEXPR TusVariable::TusVariable(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusVariable_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusVariableDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusVariableDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusVariableDefaultTypeInternal() {}
+ union {
+ TusVariable _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVariableDefaultTypeInternal _TusVariable_default_instance_;
+
+inline constexpr TusUser::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ vuser_{false} {}
+
+template
+PROTOBUF_CONSTEXPR TusUser::TusUser(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusUser_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusUserDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusUserDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusUserDefaultTypeInternal() {}
+ union {
+ TusUser _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusUserDefaultTypeInternal _TusUser_default_instance_;
+
+inline constexpr TusGetFriendsVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotid_{0},
+ includeself_{false},
+ sorttype_{0},
+ arraynum_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetFriendsVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetFriendsVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetFriendsVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetFriendsVariableRequestDefaultTypeInternal() {}
+ union {
+ TusGetFriendsVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsVariableRequestDefaultTypeInternal _TusGetFriendsVariableRequest_default_instance_;
+
+inline constexpr TusGetFriendsDataStatusRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotid_{0},
+ includeself_{false},
+ sorttype_{0},
+ arraynum_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetFriendsDataStatusRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetFriendsDataStatusRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetFriendsDataStatusRequestDefaultTypeInternal() {}
+ union {
+ TusGetFriendsDataStatusRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsDataStatusRequestDefaultTypeInternal _TusGetFriendsDataStatusRequest_default_instance_;
+
+inline constexpr TusDataStatus::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ ownerid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ lastchangedauthorid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ info_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ lastchangeddate_{::uint64_t{0u}},
+ hasdata_{false} {}
+
+template
+PROTOBUF_CONSTEXPR TusDataStatus::TusDataStatus(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusDataStatus_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusDataStatusDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusDataStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusDataStatusDefaultTypeInternal() {}
+ union {
+ TusDataStatus _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusDefaultTypeInternal _TusDataStatus_default_instance_;
+
+inline constexpr SetRoomSearchFlagGUI::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roomid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ stealth_{false} {}
+
+template
+PROTOBUF_CONSTEXPR SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetRoomSearchFlagGUI_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetRoomSearchFlagGUIDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetRoomSearchFlagGUIDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetRoomSearchFlagGUIDefaultTypeInternal() {}
+ union {
+ SetRoomSearchFlagGUI _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomSearchFlagGUIDefaultTypeInternal _SetRoomSearchFlagGUI_default_instance_;
+
+inline constexpr SetPresenceRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ title_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ status_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ comment_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR SetPresenceRequest::SetPresenceRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetPresenceRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetPresenceRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetPresenceRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetPresenceRequestDefaultTypeInternal() {}
+ union {
+ SetPresenceRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetPresenceRequestDefaultTypeInternal _SetPresenceRequest_default_instance_;
+
+inline constexpr SendMessageRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npids_{},
+ message_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR SendMessageRequest::SendMessageRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SendMessageRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SendMessageRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SendMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SendMessageRequestDefaultTypeInternal() {}
+ union {
+ SendMessageRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendMessageRequestDefaultTypeInternal _SendMessageRequest_default_instance_;
+
+inline constexpr ScoreRankData::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ onlinename_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ pcid_{0},
+ rank_{0u},
+ score_{::int64_t{0}},
+ recorddate_{::uint64_t{0u}},
+ hasgamedata_{false} {}
+
+template
+PROTOBUF_CONSTEXPR ScoreRankData::ScoreRankData(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(ScoreRankData_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct ScoreRankDataDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR ScoreRankDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~ScoreRankDataDefaultTypeInternal() {}
+ union {
+ ScoreRankData _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreRankDataDefaultTypeInternal _ScoreRankData_default_instance_;
+
+inline constexpr ScoreNpIdPcId::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ pcid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR ScoreNpIdPcId::ScoreNpIdPcId(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(ScoreNpIdPcId_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct ScoreNpIdPcIdDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR ScoreNpIdPcIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~ScoreNpIdPcIdDefaultTypeInternal() {}
+ union {
+ ScoreNpIdPcId _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreNpIdPcIdDefaultTypeInternal _ScoreNpIdPcId_default_instance_;
+
+inline constexpr ScoreInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR ScoreInfo::ScoreInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(ScoreInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct ScoreInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR ScoreInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~ScoreInfoDefaultTypeInternal() {}
+ union {
+ ScoreInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreInfoDefaultTypeInternal _ScoreInfo_default_instance_;
+
+inline constexpr RecordScoreRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ comment_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ boardid_{0u},
+ pcid_{0},
+ score_{::int64_t{0}} {}
+
+template
+PROTOBUF_CONSTEXPR RecordScoreRequest::RecordScoreRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RecordScoreRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RecordScoreRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RecordScoreRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RecordScoreRequestDefaultTypeInternal() {}
+ union {
+ RecordScoreRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreRequestDefaultTypeInternal _RecordScoreRequest_default_instance_;
+
+inline constexpr RecordScoreGameDataRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ boardid_{0u},
+ pcid_{0},
+ score_{::int64_t{0}} {}
+
+template
+PROTOBUF_CONSTEXPR RecordScoreGameDataRequest::RecordScoreGameDataRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RecordScoreGameDataRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RecordScoreGameDataRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RecordScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RecordScoreGameDataRequestDefaultTypeInternal() {}
+ union {
+ RecordScoreGameDataRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreGameDataRequestDefaultTypeInternal _RecordScoreGameDataRequest_default_instance_;
+
+inline constexpr PresenceOptionData::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ len_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR PresenceOptionData::PresenceOptionData(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(PresenceOptionData_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct PresenceOptionDataDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR PresenceOptionDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~PresenceOptionDataDefaultTypeInternal() {}
+ union {
+ PresenceOptionData _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PresenceOptionDataDefaultTypeInternal _PresenceOptionData_default_instance_;
+
+inline constexpr MatchingSearchCondition::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ attr_type_{0u},
+ attr_id_{0u},
+ comp_op_{0u},
+ comp_value_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR MatchingSearchCondition::MatchingSearchCondition(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingSearchCondition_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingSearchConditionDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingSearchConditionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingSearchConditionDefaultTypeInternal() {}
+ union {
+ MatchingSearchCondition _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchConditionDefaultTypeInternal _MatchingSearchCondition_default_instance_;
+
+inline constexpr MatchingGuiRoomId::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ id_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR MatchingGuiRoomId::MatchingGuiRoomId(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingGuiRoomId_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingGuiRoomIdDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingGuiRoomIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingGuiRoomIdDefaultTypeInternal() {}
+ union {
+ MatchingGuiRoomId _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingGuiRoomIdDefaultTypeInternal _MatchingGuiRoomId_default_instance_;
+
+inline constexpr MatchingAttr::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ attr_type_{0u},
+ attr_id_{0u},
+ num_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR MatchingAttr::MatchingAttr(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingAttr_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingAttrDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingAttrDefaultTypeInternal() {}
+ union {
+ MatchingAttr _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingAttrDefaultTypeInternal _MatchingAttr_default_instance_;
+
+inline constexpr GroupConfig::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ label_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ slotnum_{0u},
+ withpassword_{false} {}
+
+template
+PROTOBUF_CONSTEXPR GroupConfig::GroupConfig(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GroupConfig_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GroupConfigDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GroupConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GroupConfigDefaultTypeInternal() {}
+ union {
+ GroupConfig _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupConfigDefaultTypeInternal _GroupConfig_default_instance_;
+
+inline constexpr GetScoreRangeRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ boardid_{0u},
+ startrank_{0u},
+ numranks_{0u},
+ withcomment_{false},
+ withgameinfo_{false} {}
+
+template
+PROTOBUF_CONSTEXPR GetScoreRangeRequest::GetScoreRangeRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetScoreRangeRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetScoreRangeRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetScoreRangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetScoreRangeRequestDefaultTypeInternal() {}
+ union {
+ GetScoreRangeRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreRangeRequestDefaultTypeInternal _GetScoreRangeRequest_default_instance_;
+
+inline constexpr GetScoreGameDataRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ boardid_{0u},
+ pcid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR GetScoreGameDataRequest::GetScoreGameDataRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetScoreGameDataRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetScoreGameDataRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetScoreGameDataRequestDefaultTypeInternal() {}
+ union {
+ GetScoreGameDataRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreGameDataRequestDefaultTypeInternal _GetScoreGameDataRequest_default_instance_;
+
+inline constexpr GetScoreFriendsRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ boardid_{0u},
+ max_{0u},
+ include_self_{false},
+ withcomment_{false},
+ withgameinfo_{false} {}
+
+template
+PROTOBUF_CONSTEXPR GetScoreFriendsRequest::GetScoreFriendsRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetScoreFriendsRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetScoreFriendsRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetScoreFriendsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetScoreFriendsRequestDefaultTypeInternal() {}
+ union {
+ GetScoreFriendsRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreFriendsRequestDefaultTypeInternal _GetScoreFriendsRequest_default_instance_;
+
+inline constexpr BoardInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ ranklimit_{0u},
+ updatemode_{0u},
+ sortmode_{0u},
+ uploadnumlimit_{0u},
+ uploadsizelimit_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR BoardInfo::BoardInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(BoardInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct BoardInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR BoardInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~BoardInfoDefaultTypeInternal() {}
+ union {
+ BoardInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoardInfoDefaultTypeInternal _BoardInfo_default_instance_;
+
+inline constexpr TusVarResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ vars_{} {}
+
+template
+PROTOBUF_CONSTEXPR TusVarResponse::TusVarResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusVarResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusVarResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusVarResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusVarResponseDefaultTypeInternal() {}
+ union {
+ TusVarResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVarResponseDefaultTypeInternal _TusVarResponse_default_instance_;
+
+inline constexpr TusTryAndSetVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ islastchangeddate_{},
+ _islastchangeddate_cached_byte_size_{0},
+ comparevalue_{},
+ _comparevalue_cached_byte_size_{0},
+ islastchangedauthorid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ user_{nullptr},
+ slotid_{0},
+ opetype_{0},
+ variable_{::int64_t{0}} {}
+
+template
+PROTOBUF_CONSTEXPR TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusTryAndSetVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusTryAndSetVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusTryAndSetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusTryAndSetVariableRequestDefaultTypeInternal() {}
+ union {
+ TusTryAndSetVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusTryAndSetVariableRequestDefaultTypeInternal _TusTryAndSetVariableRequest_default_instance_;
+
+inline constexpr TusSetMultiSlotVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotidarray_{},
+ _slotidarray_cached_byte_size_{0},
+ variablearray_{},
+ _variablearray_cached_byte_size_{0},
+ user_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusSetMultiSlotVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusSetMultiSlotVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusSetMultiSlotVariableRequestDefaultTypeInternal() {}
+ union {
+ TusSetMultiSlotVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetMultiSlotVariableRequestDefaultTypeInternal _TusSetMultiSlotVariableRequest_default_instance_;
+
+inline constexpr TusSetDataRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ islastchangeddate_{},
+ _islastchangeddate_cached_byte_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ info_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ islastchangedauthorid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ user_{nullptr},
+ slotid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR TusSetDataRequest::TusSetDataRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusSetDataRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusSetDataRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusSetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusSetDataRequestDefaultTypeInternal() {}
+ union {
+ TusSetDataRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetDataRequestDefaultTypeInternal _TusSetDataRequest_default_instance_;
+
+inline constexpr TusGetMultiUserVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ users_{},
+ slotid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetMultiUserVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetMultiUserVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetMultiUserVariableRequestDefaultTypeInternal() {}
+ union {
+ TusGetMultiUserVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserVariableRequestDefaultTypeInternal _TusGetMultiUserVariableRequest_default_instance_;
+
+inline constexpr TusGetMultiUserDataStatusRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ users_{},
+ slotid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetMultiUserDataStatusRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetMultiUserDataStatusRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetMultiUserDataStatusRequestDefaultTypeInternal() {}
+ union {
+ TusGetMultiUserDataStatusRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserDataStatusRequestDefaultTypeInternal _TusGetMultiUserDataStatusRequest_default_instance_;
+
+inline constexpr TusGetMultiSlotVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotidarray_{},
+ _slotidarray_cached_byte_size_{0},
+ user_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetMultiSlotVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetMultiSlotVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetMultiSlotVariableRequestDefaultTypeInternal() {}
+ union {
+ TusGetMultiSlotVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotVariableRequestDefaultTypeInternal _TusGetMultiSlotVariableRequest_default_instance_;
+
+inline constexpr TusGetMultiSlotDataStatusRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotidarray_{},
+ _slotidarray_cached_byte_size_{0},
+ user_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetMultiSlotDataStatusRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetMultiSlotDataStatusRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetMultiSlotDataStatusRequestDefaultTypeInternal() {}
+ union {
+ TusGetMultiSlotDataStatusRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotDataStatusRequestDefaultTypeInternal _TusGetMultiSlotDataStatusRequest_default_instance_;
+
+inline constexpr TusGetDataRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ user_{nullptr},
+ slotid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR TusGetDataRequest::TusGetDataRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusGetDataRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusGetDataRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusGetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusGetDataRequestDefaultTypeInternal() {}
+ union {
+ TusGetDataRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetDataRequestDefaultTypeInternal _TusGetDataRequest_default_instance_;
+
+inline constexpr TusDeleteMultiSlotVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotidarray_{},
+ _slotidarray_cached_byte_size_{0},
+ user_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusDeleteMultiSlotVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusDeleteMultiSlotVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusDeleteMultiSlotVariableRequestDefaultTypeInternal() {}
+ union {
+ TusDeleteMultiSlotVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotVariableRequestDefaultTypeInternal _TusDeleteMultiSlotVariableRequest_default_instance_;
+
+inline constexpr TusDeleteMultiSlotDataRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ slotidarray_{},
+ _slotidarray_cached_byte_size_{0},
+ user_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusDeleteMultiSlotDataRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusDeleteMultiSlotDataRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusDeleteMultiSlotDataRequestDefaultTypeInternal() {}
+ union {
+ TusDeleteMultiSlotDataRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotDataRequestDefaultTypeInternal _TusDeleteMultiSlotDataRequest_default_instance_;
+
+inline constexpr TusDataStatusResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ status_{} {}
+
+template
+PROTOBUF_CONSTEXPR TusDataStatusResponse::TusDataStatusResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusDataStatusResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusDataStatusResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusDataStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusDataStatusResponseDefaultTypeInternal() {}
+ union {
+ TusDataStatusResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusResponseDefaultTypeInternal _TusDataStatusResponse_default_instance_;
+
+inline constexpr TusData::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ status_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR TusData::TusData(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusData_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusDataDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusDataDefaultTypeInternal() {}
+ union {
+ TusData _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataDefaultTypeInternal _TusData_default_instance_;
+
+inline constexpr TusAddAndGetVariableRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ islastchangeddate_{},
+ _islastchangeddate_cached_byte_size_{0},
+ islastchangedauthorid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ user_{nullptr},
+ invariable_{::int64_t{0}},
+ slotid_{0} {}
+
+template
+PROTOBUF_CONSTEXPR TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(TusAddAndGetVariableRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct TusAddAndGetVariableRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR TusAddAndGetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~TusAddAndGetVariableRequestDefaultTypeInternal() {}
+ union {
+ TusAddAndGetVariableRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusAddAndGetVariableRequestDefaultTypeInternal _TusAddAndGetVariableRequest_default_instance_;
+
+inline constexpr SignalingAddr::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ ip_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ port_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR SignalingAddr::SignalingAddr(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SignalingAddr_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SignalingAddrDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SignalingAddrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SignalingAddrDefaultTypeInternal() {}
+ union {
+ SignalingAddr _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SignalingAddrDefaultTypeInternal _SignalingAddr_default_instance_;
+
+inline constexpr SendRoomMessageRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ dst_{},
+ msg_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ casttype_{nullptr},
+ option_{nullptr},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR SendRoomMessageRequest::SendRoomMessageRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SendRoomMessageRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SendRoomMessageRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SendRoomMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SendRoomMessageRequestDefaultTypeInternal() {}
+ union {
+ SendRoomMessageRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendRoomMessageRequestDefaultTypeInternal _SendRoomMessageRequest_default_instance_;
+
+inline constexpr SearchJoinRoomGUIRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ conds_{},
+ attrs_{} {}
+
+template
+PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SearchJoinRoomGUIRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SearchJoinRoomGUIRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SearchJoinRoomGUIRequestDefaultTypeInternal() {}
+ union {
+ SearchJoinRoomGUIRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchJoinRoomGUIRequestDefaultTypeInternal _SearchJoinRoomGUIRequest_default_instance_;
+
+inline constexpr RoomUpdateInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ eventcause_{nullptr},
+ optdata_{nullptr},
+ errorcode_{0} {}
+
+template
+PROTOBUF_CONSTEXPR RoomUpdateInfo::RoomUpdateInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomUpdateInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomUpdateInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomUpdateInfoDefaultTypeInternal() {}
+ union {
+ RoomUpdateInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomUpdateInfoDefaultTypeInternal _RoomUpdateInfo_default_instance_;
+
+inline constexpr RoomMessageInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ dst_{},
+ msg_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ casttype_{nullptr},
+ srcmember_{nullptr},
+ filtered_{false} {}
+
+template
+PROTOBUF_CONSTEXPR RoomMessageInfo::RoomMessageInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomMessageInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomMessageInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomMessageInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomMessageInfoDefaultTypeInternal() {}
+ union {
+ RoomMessageInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMessageInfoDefaultTypeInternal _RoomMessageInfo_default_instance_;
+
+inline constexpr RoomGroupPasswordConfig::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ groupid_{nullptr},
+ withpassword_{false} {}
+
+template
+PROTOBUF_CONSTEXPR RoomGroupPasswordConfig::RoomGroupPasswordConfig(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomGroupPasswordConfig_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomGroupPasswordConfigDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomGroupPasswordConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomGroupPasswordConfigDefaultTypeInternal() {}
+ union {
+ RoomGroupPasswordConfig _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupPasswordConfigDefaultTypeInternal _RoomGroupPasswordConfig_default_instance_;
+
+inline constexpr RoomGroup::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ label_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ groupid_{nullptr},
+ withpassword_{false},
+ slotnum_{0u},
+ curgroupmembernum_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR RoomGroup::RoomGroup(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomGroup_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomGroupDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomGroupDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomGroupDefaultTypeInternal() {}
+ union {
+ RoomGroup _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupDefaultTypeInternal _RoomGroup_default_instance_;
+
+inline constexpr QuickMatchGUIRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ conds_{},
+ available_num_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR QuickMatchGUIRequest::QuickMatchGUIRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(QuickMatchGUIRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct QuickMatchGUIRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR QuickMatchGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~QuickMatchGUIRequestDefaultTypeInternal() {}
+ union {
+ QuickMatchGUIRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuickMatchGUIRequestDefaultTypeInternal _QuickMatchGUIRequest_default_instance_;
+
+inline constexpr OptParam::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ type_{nullptr},
+ flag_{nullptr},
+ hubmemberid_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR OptParam::OptParam(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(OptParam_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct OptParamDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR OptParamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~OptParamDefaultTypeInternal() {}
+ union {
+ OptParam _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptParamDefaultTypeInternal _OptParam_default_instance_;
+
+inline constexpr MessageDetails::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ communicationid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ subject_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ body_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ maintype_{nullptr},
+ subtype_{nullptr},
+ msgid_{::uint64_t{0u}},
+ msgfeatures_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR MessageDetails::MessageDetails(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MessageDetails_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MessageDetailsDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MessageDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MessageDetailsDefaultTypeInternal() {}
+ union {
+ MessageDetails _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDetailsDefaultTypeInternal _MessageDetails_default_instance_;
+
+inline constexpr MatchingRoom::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ attr_{},
+ id_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR MatchingRoom::MatchingRoom(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingRoom_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingRoomDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingRoomDefaultTypeInternal() {}
+ union {
+ MatchingRoom _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomDefaultTypeInternal _MatchingRoom_default_instance_;
+
+inline constexpr LeaveRoomRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ optdata_{nullptr},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR LeaveRoomRequest::LeaveRoomRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(LeaveRoomRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct LeaveRoomRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR LeaveRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~LeaveRoomRequestDefaultTypeInternal() {}
+ union {
+ LeaveRoomRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveRoomRequestDefaultTypeInternal _LeaveRoomRequest_default_instance_;
+
+inline constexpr IntAttr::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ id_{nullptr},
+ num_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR IntAttr::IntAttr(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(IntAttr_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct IntAttrDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR IntAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~IntAttrDefaultTypeInternal() {}
+ union {
+ IntAttr _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntAttrDefaultTypeInternal _IntAttr_default_instance_;
+
+inline constexpr GetScoreResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ rankarray_{},
+ commentarray_{},
+ infoarray_{},
+ lastsortdate_{::uint64_t{0u}},
+ totalrecord_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR GetScoreResponse::GetScoreResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetScoreResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetScoreResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetScoreResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetScoreResponseDefaultTypeInternal() {}
+ union {
+ GetScoreResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreResponseDefaultTypeInternal _GetScoreResponse_default_instance_;
+
+inline constexpr GetScoreNpIdRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npids_{},
+ boardid_{0u},
+ withcomment_{false},
+ withgameinfo_{false} {}
+
+template
+PROTOBUF_CONSTEXPR GetScoreNpIdRequest::GetScoreNpIdRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetScoreNpIdRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetScoreNpIdRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetScoreNpIdRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetScoreNpIdRequestDefaultTypeInternal() {}
+ union {
+ GetScoreNpIdRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreNpIdRequestDefaultTypeInternal _GetScoreNpIdRequest_default_instance_;
+
+inline constexpr GetRoomMemberDataInternalRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ attrid_{},
+ memberid_{nullptr},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetRoomMemberDataInternalRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetRoomMemberDataInternalRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetRoomMemberDataInternalRequestDefaultTypeInternal() {}
+ union {
+ GetRoomMemberDataInternalRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomMemberDataInternalRequestDefaultTypeInternal _GetRoomMemberDataInternalRequest_default_instance_;
+
+inline constexpr GetRoomListGUIRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ conds_{},
+ attrs_{},
+ range_start_{0u},
+ range_max_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR GetRoomListGUIRequest::GetRoomListGUIRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetRoomListGUIRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetRoomListGUIRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetRoomListGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetRoomListGUIRequestDefaultTypeInternal() {}
+ union {
+ GetRoomListGUIRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomListGUIRequestDefaultTypeInternal _GetRoomListGUIRequest_default_instance_;
+
+inline constexpr GetRoomDataInternalRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ attrid_{},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR GetRoomDataInternalRequest::GetRoomDataInternalRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetRoomDataInternalRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetRoomDataInternalRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetRoomDataInternalRequestDefaultTypeInternal() {}
+ union {
+ GetRoomDataInternalRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataInternalRequestDefaultTypeInternal _GetRoomDataInternalRequest_default_instance_;
+
+inline constexpr GetRoomDataExternalListRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roomids_{},
+ _roomids_cached_byte_size_{0},
+ attrids_{} {}
+
+template
+PROTOBUF_CONSTEXPR GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetRoomDataExternalListRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetRoomDataExternalListRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetRoomDataExternalListRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetRoomDataExternalListRequestDefaultTypeInternal() {}
+ union {
+ GetRoomDataExternalListRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListRequestDefaultTypeInternal _GetRoomDataExternalListRequest_default_instance_;
+
+inline constexpr GetPingInfoResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ serverid_{nullptr},
+ roomid_{::uint64_t{0u}},
+ worldid_{0u},
+ rtt_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR GetPingInfoResponse::GetPingInfoResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetPingInfoResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetPingInfoResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetPingInfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetPingInfoResponseDefaultTypeInternal() {}
+ union {
+ GetPingInfoResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPingInfoResponseDefaultTypeInternal _GetPingInfoResponse_default_instance_;
+
+inline constexpr GUIUserInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ info_{nullptr},
+ owner_{false} {}
+
+template
+PROTOBUF_CONSTEXPR GUIUserInfo::GUIUserInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GUIUserInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GUIUserInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GUIUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GUIUserInfoDefaultTypeInternal() {}
+ union {
+ GUIUserInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GUIUserInfoDefaultTypeInternal _GUIUserInfo_default_instance_;
+
+inline constexpr CreateRoomGUIRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ game_attrs_{},
+ total_slots_{0u},
+ private_slots_{0u},
+ privilege_grant_{false},
+ stealth_{false} {}
+
+template
+PROTOBUF_CONSTEXPR CreateRoomGUIRequest::CreateRoomGUIRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(CreateRoomGUIRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct CreateRoomGUIRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR CreateRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~CreateRoomGUIRequestDefaultTypeInternal() {}
+ union {
+ CreateRoomGUIRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRoomGUIRequestDefaultTypeInternal _CreateRoomGUIRequest_default_instance_;
+
+inline constexpr BinAttr::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ id_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR BinAttr::BinAttr(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(BinAttr_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct BinAttrDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR BinAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~BinAttrDefaultTypeInternal() {}
+ union {
+ BinAttr _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrDefaultTypeInternal _BinAttr_default_instance_;
+
+inline constexpr SetUserInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ userbinattr_{},
+ serverid_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR SetUserInfo::SetUserInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetUserInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetUserInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetUserInfoDefaultTypeInternal() {}
+ union {
+ SetUserInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetUserInfoDefaultTypeInternal _SetUserInfo_default_instance_;
+
+inline constexpr SetRoomMemberDataInternalRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roommemberbinattrinternal_{},
+ memberid_{nullptr},
+ teamid_{nullptr},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetRoomMemberDataInternalRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetRoomMemberDataInternalRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetRoomMemberDataInternalRequestDefaultTypeInternal() {}
+ union {
+ SetRoomMemberDataInternalRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomMemberDataInternalRequestDefaultTypeInternal _SetRoomMemberDataInternalRequest_default_instance_;
+
+inline constexpr SetRoomDataInternalRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roombinattrinternal_{},
+ passwordconfig_{},
+ passwordslotmask_{},
+ _passwordslotmask_cached_byte_size_{0},
+ ownerprivilegerank_{},
+ roomid_{::uint64_t{0u}},
+ flagfilter_{0u},
+ flagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR SetRoomDataInternalRequest::SetRoomDataInternalRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetRoomDataInternalRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetRoomDataInternalRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetRoomDataInternalRequestDefaultTypeInternal() {}
+ union {
+ SetRoomDataInternalRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataInternalRequestDefaultTypeInternal _SetRoomDataInternalRequest_default_instance_;
+
+inline constexpr SetRoomDataExternalRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roomsearchableintattrexternal_{},
+ roomsearchablebinattrexternal_{},
+ roombinattrexternal_{},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR SetRoomDataExternalRequest::SetRoomDataExternalRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SetRoomDataExternalRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SetRoomDataExternalRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SetRoomDataExternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SetRoomDataExternalRequestDefaultTypeInternal() {}
+ union {
+ SetRoomDataExternalRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataExternalRequestDefaultTypeInternal _SetRoomDataExternalRequest_default_instance_;
+
+inline constexpr RoomMemberBinAttrInternal::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ data_{nullptr},
+ updatedate_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomMemberBinAttrInternal_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomMemberBinAttrInternalDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomMemberBinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomMemberBinAttrInternalDefaultTypeInternal() {}
+ union {
+ RoomMemberBinAttrInternal _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberBinAttrInternalDefaultTypeInternal _RoomMemberBinAttrInternal_default_instance_;
+
+inline constexpr RoomDataExternal::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roomgroup_{},
+ roomsearchableintattrexternal_{},
+ roomsearchablebinattrexternal_{},
+ roombinattrexternal_{},
+ serverid_{nullptr},
+ publicslotnum_{nullptr},
+ privateslotnum_{nullptr},
+ openpublicslotnum_{nullptr},
+ maxslot_{nullptr},
+ openprivateslotnum_{nullptr},
+ curmembernum_{nullptr},
+ owner_{nullptr},
+ lobbyid_{::uint64_t{0u}},
+ roomid_{::uint64_t{0u}},
+ worldid_{0u},
+ flagattr_{0u},
+ passwordslotmask_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR RoomDataExternal::RoomDataExternal(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomDataExternal_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomDataExternalDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomDataExternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomDataExternalDefaultTypeInternal() {}
+ union {
+ RoomDataExternal _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataExternalDefaultTypeInternal _RoomDataExternal_default_instance_;
+
+inline constexpr MatchingSignalingInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ npid_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ addr_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR MatchingSignalingInfo::MatchingSignalingInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingSignalingInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingSignalingInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingSignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingSignalingInfoDefaultTypeInternal() {}
+ union {
+ MatchingSignalingInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSignalingInfoDefaultTypeInternal _MatchingSignalingInfo_default_instance_;
+
+inline constexpr MatchingRoomStatus::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ members_{},
+ id_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ kick_actor_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ opt_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()) {}
+
+template
+PROTOBUF_CONSTEXPR MatchingRoomStatus::MatchingRoomStatus(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingRoomStatus_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingRoomStatusDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingRoomStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingRoomStatusDefaultTypeInternal() {}
+ union {
+ MatchingRoomStatus _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomStatusDefaultTypeInternal _MatchingRoomStatus_default_instance_;
+
+inline constexpr MatchingRoomList::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ rooms_{},
+ start_{0u},
+ total_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR MatchingRoomList::MatchingRoomList(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingRoomList_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingRoomListDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingRoomListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingRoomListDefaultTypeInternal() {}
+ union {
+ MatchingRoomList _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomListDefaultTypeInternal _MatchingRoomList_default_instance_;
+
+inline constexpr Matching2SignalingInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ member_id_{nullptr},
+ addr_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR Matching2SignalingInfo::Matching2SignalingInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(Matching2SignalingInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct Matching2SignalingInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR Matching2SignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~Matching2SignalingInfoDefaultTypeInternal() {}
+ union {
+ Matching2SignalingInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Matching2SignalingInfoDefaultTypeInternal _Matching2SignalingInfo_default_instance_;
+
+inline constexpr JoinRoomRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roommemberbinattrinternal_{},
+ roompassword_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ joinroomgrouplabel_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ optdata_{nullptr},
+ teamid_{nullptr},
+ roomid_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR JoinRoomRequest::JoinRoomRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(JoinRoomRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct JoinRoomRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR JoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~JoinRoomRequestDefaultTypeInternal() {}
+ union {
+ JoinRoomRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomRequestDefaultTypeInternal _JoinRoomRequest_default_instance_;
+
+inline constexpr IntSearchFilter::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ searchoperator_{nullptr},
+ attr_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR IntSearchFilter::IntSearchFilter(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(IntSearchFilter_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct IntSearchFilterDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR IntSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~IntSearchFilterDefaultTypeInternal() {}
+ union {
+ IntSearchFilter _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntSearchFilterDefaultTypeInternal _IntSearchFilter_default_instance_;
+
+inline constexpr CreateJoinRoomRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roombinattrinternal_{},
+ roomsearchableintattrexternal_{},
+ roomsearchablebinattrexternal_{},
+ roombinattrexternal_{},
+ groupconfig_{},
+ alloweduser_{},
+ blockeduser_{},
+ roommemberbinattrinternal_{},
+ roompassword_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ joinroomgrouplabel_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ teamid_{nullptr},
+ sigoptparam_{nullptr},
+ lobbyid_{::uint64_t{0u}},
+ worldid_{0u},
+ maxslot_{0u},
+ passwordslotmask_{::uint64_t{0u}},
+ flagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR CreateJoinRoomRequest::CreateJoinRoomRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(CreateJoinRoomRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct CreateJoinRoomRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR CreateJoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~CreateJoinRoomRequestDefaultTypeInternal() {}
+ union {
+ CreateJoinRoomRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateJoinRoomRequestDefaultTypeInternal _CreateJoinRoomRequest_default_instance_;
+
+inline constexpr BinSearchFilter::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ searchoperator_{nullptr},
+ attr_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR BinSearchFilter::BinSearchFilter(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(BinSearchFilter_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct BinSearchFilterDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR BinSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~BinSearchFilterDefaultTypeInternal() {}
+ union {
+ BinSearchFilter _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinSearchFilterDefaultTypeInternal _BinSearchFilter_default_instance_;
+
+inline constexpr BinAttrInternal::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ updatememberid_{nullptr},
+ data_{nullptr},
+ updatedate_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR BinAttrInternal::BinAttrInternal(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(BinAttrInternal_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct BinAttrInternalDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR BinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~BinAttrInternalDefaultTypeInternal() {}
+ union {
+ BinAttrInternal _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrInternalDefaultTypeInternal _BinAttrInternal_default_instance_;
+
+inline constexpr SearchRoomResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ rooms_{},
+ startindex_{0u},
+ total_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR SearchRoomResponse::SearchRoomResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SearchRoomResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SearchRoomResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SearchRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SearchRoomResponseDefaultTypeInternal() {}
+ union {
+ SearchRoomResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomResponseDefaultTypeInternal _SearchRoomResponse_default_instance_;
+
+inline constexpr SearchRoomRequest::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ intfilter_{},
+ binfilter_{},
+ attrid_{},
+ option_{0},
+ worldid_{0u},
+ lobbyid_{::uint64_t{0u}},
+ rangefilter_startindex_{0u},
+ rangefilter_max_{0u},
+ flagfilter_{0u},
+ flagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR SearchRoomRequest::SearchRoomRequest(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(SearchRoomRequest_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct SearchRoomRequestDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR SearchRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~SearchRoomRequestDefaultTypeInternal() {}
+ union {
+ SearchRoomRequest _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomRequestDefaultTypeInternal _SearchRoomRequest_default_instance_;
+
+inline constexpr RoomMemberDataInternal::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roommemberbinattrinternal_{},
+ userinfo_{nullptr},
+ teamid_{nullptr},
+ roomgroup_{nullptr},
+ nattype_{nullptr},
+ joindate_{::uint64_t{0u}},
+ memberid_{0u},
+ flagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR RoomMemberDataInternal::RoomMemberDataInternal(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomMemberDataInternal_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomMemberDataInternalDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomMemberDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomMemberDataInternalDefaultTypeInternal() {}
+ union {
+ RoomMemberDataInternal _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalDefaultTypeInternal _RoomMemberDataInternal_default_instance_;
+
+inline constexpr MatchingSearchJoinRoomInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ attr_{},
+ room_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(MatchingSearchJoinRoomInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct MatchingSearchJoinRoomInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~MatchingSearchJoinRoomInfoDefaultTypeInternal() {}
+ union {
+ MatchingSearchJoinRoomInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchJoinRoomInfoDefaultTypeInternal _MatchingSearchJoinRoomInfo_default_instance_;
+
+inline constexpr GetRoomDataExternalListResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ rooms_{} {}
+
+template
+PROTOBUF_CONSTEXPR GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(GetRoomDataExternalListResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct GetRoomDataExternalListResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR GetRoomDataExternalListResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~GetRoomDataExternalListResponseDefaultTypeInternal() {}
+ union {
+ GetRoomDataExternalListResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListResponseDefaultTypeInternal _GetRoomDataExternalListResponse_default_instance_;
+
+inline constexpr RoomMemberUpdateInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ roommemberdatainternal_{nullptr},
+ eventcause_{nullptr},
+ optdata_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR RoomMemberUpdateInfo::RoomMemberUpdateInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomMemberUpdateInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomMemberUpdateInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomMemberUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomMemberUpdateInfoDefaultTypeInternal() {}
+ union {
+ RoomMemberUpdateInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberUpdateInfoDefaultTypeInternal _RoomMemberUpdateInfo_default_instance_;
+
+inline constexpr RoomMemberDataInternalUpdateInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ newroommemberbinattrinternal_{},
+ newroommemberdatainternal_{nullptr},
+ prevteamid_{nullptr},
+ prevflagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomMemberDataInternalUpdateInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomMemberDataInternalUpdateInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomMemberDataInternalUpdateInfoDefaultTypeInternal() {}
+ union {
+ RoomMemberDataInternalUpdateInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalUpdateInfoDefaultTypeInternal _RoomMemberDataInternalUpdateInfo_default_instance_;
+
+inline constexpr RoomDataInternal::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ memberlist_{},
+ roomgroup_{},
+ roombinattrinternal_{},
+ serverid_{nullptr},
+ ownerid_{nullptr},
+ lobbyid_{::uint64_t{0u}},
+ roomid_{::uint64_t{0u}},
+ worldid_{0u},
+ maxslot_{0u},
+ passwordslotmask_{::uint64_t{0u}},
+ flagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR RoomDataInternal::RoomDataInternal(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomDataInternal_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomDataInternalDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomDataInternalDefaultTypeInternal() {}
+ union {
+ RoomDataInternal _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalDefaultTypeInternal _RoomDataInternal_default_instance_;
+
+inline constexpr RoomDataInternalUpdateInfo::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ newroombinattrinternal_{},
+ newroomgroup_(
+ &::google::protobuf::internal::fixed_address_empty_string,
+ ::_pbi::ConstantInitialized()),
+ newroomdatainternal_{nullptr},
+ prevroompasswordslotmask_{::uint64_t{0u}},
+ prevflagattr_{0u} {}
+
+template
+PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(RoomDataInternalUpdateInfo_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct RoomDataInternalUpdateInfoDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~RoomDataInternalUpdateInfoDefaultTypeInternal() {}
+ union {
+ RoomDataInternalUpdateInfo _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalUpdateInfoDefaultTypeInternal _RoomDataInternalUpdateInfo_default_instance_;
+
+inline constexpr NotificationUserJoinedRoom::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ update_info_{nullptr},
+ signaling_{nullptr},
+ room_id_{::uint64_t{0u}} {}
+
+template
+PROTOBUF_CONSTEXPR NotificationUserJoinedRoom::NotificationUserJoinedRoom(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(NotificationUserJoinedRoom_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct NotificationUserJoinedRoomDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR NotificationUserJoinedRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~NotificationUserJoinedRoomDefaultTypeInternal() {}
+ union {
+ NotificationUserJoinedRoom _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotificationUserJoinedRoomDefaultTypeInternal _NotificationUserJoinedRoom_default_instance_;
+
+inline constexpr JoinRoomResponse::Impl_::Impl_(
+ ::_pbi::ConstantInitialized) noexcept
+ : _cached_size_{0},
+ signaling_data_{},
+ room_data_{nullptr} {}
+
+template
+PROTOBUF_CONSTEXPR JoinRoomResponse::JoinRoomResponse(::_pbi::ConstantInitialized)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(JoinRoomResponse_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(::_pbi::ConstantInitialized()) {
+}
+struct JoinRoomResponseDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR JoinRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~JoinRoomResponseDefaultTypeInternal() {}
+ union {
+ JoinRoomResponse _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomResponseDefaultTypeInternal _JoinRoomResponse_default_instance_;
+} // namespace np2_structs
+namespace np2_structs {
+// ===================================================================
+
+class uint8::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_);
+};
+
+uint8::uint8(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, uint8_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.uint8)
+}
+uint8::uint8(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint8& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, uint8_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(from._impl_) {
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+PROTOBUF_NDEBUG_INLINE uint8::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void uint8::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ _impl_.value_ = {};
+}
+uint8::~uint8() {
+ // @@protoc_insertion_point(destructor:np2_structs.uint8)
+ SharedDtor(*this);
+}
+inline void uint8::SharedDtor(MessageLite& self) {
+ uint8& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL uint8::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) uint8(arena);
+}
+constexpr auto uint8::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint8),
+ alignof(uint8));
+}
+constexpr auto uint8::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<18>{
+ {
+ &_uint8_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &uint8::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &uint8::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &uint8::ByteSizeLong,
+ &uint8::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(uint8, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.uint8",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<18> uint8_class_data_ =
+ uint8::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+uint8::GetClassData() const {
+ return uint8_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
+uint8::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_),
+ 0, // no _extensions_
+ 1, 0, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967294, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 1, // num_field_entries
+ 0, // num_aux_entries
+ offsetof(decltype(_table_), field_names), // no aux_entries
+ uint8_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::uint8>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // uint32 value = 1;
+ {::_pbi::TcParser::FastV32S1,
+ {8, 0, 0,
+ PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // uint32 value = 1;
+ {PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
+ }},
+ // no aux_entries
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void uint8::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.uint8)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.value_ = 0u;
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const uint8& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const uint8& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint8)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // uint32 value = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (this_._internal_value() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
+ 1, this_._internal_value(), target);
+ }
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint8)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t uint8::ByteSizeLong(const MessageLite& base) {
+ const uint8& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t uint8::ByteSizeLong() const {
+ const uint8& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.uint8)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ {
+ // uint32 value = 1;
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (this_._internal_value() != 0) {
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
+ this_._internal_value());
+ }
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void uint8::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint8)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (from._internal_value() != 0) {
+ _this->_impl_.value_ = from._impl_.value_;
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void uint8::CopyFrom(const uint8& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint8)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void uint8::InternalSwap(uint8* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.value_, other->_impl_.value_);
+}
+
+// ===================================================================
+
+class uint16::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_);
+};
+
+uint16::uint16(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, uint16_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.uint16)
+}
+uint16::uint16(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint16& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, uint16_class_data_.base()),
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena),
+#endif // PROTOBUF_CUSTOM_VTABLE
+ _impl_(from._impl_) {
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+PROTOBUF_NDEBUG_INLINE uint16::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void uint16::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ _impl_.value_ = {};
+}
+uint16::~uint16() {
+ // @@protoc_insertion_point(destructor:np2_structs.uint16)
+ SharedDtor(*this);
+}
+inline void uint16::SharedDtor(MessageLite& self) {
+ uint16& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL uint16::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) uint16(arena);
+}
+constexpr auto uint16::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint16),
+ alignof(uint16));
+}
+constexpr auto uint16::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<19>{
+ {
+ &_uint16_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &uint16::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &uint16::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &uint16::ByteSizeLong,
+ &uint16::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(uint16, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.uint16",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<19> uint16_class_data_ =
+ uint16::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+uint16::GetClassData() const {
+ return uint16_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
+uint16::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_),
+ 0, // no _extensions_
+ 1, 0, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967294, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 1, // num_field_entries
+ 0, // num_aux_entries
+ offsetof(decltype(_table_), field_names), // no aux_entries
+ uint16_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::uint16>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // uint32 value = 1;
+ {::_pbi::TcParser::FastV32S1,
+ {8, 0, 0,
+ PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // uint32 value = 1;
+ {PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
+ }},
+ // no aux_entries
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void uint16::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.uint16)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.value_ = 0u;
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const uint16& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const uint16& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint16)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // uint32 value = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (this_._internal_value() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
+ 1, this_._internal_value(), target);
+ }
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint16)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t uint16::ByteSizeLong(const MessageLite& base) {
+ const uint16& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t uint16::ByteSizeLong() const {
+ const uint16& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.uint16)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ {
+ // uint32 value = 1;
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (this_._internal_value() != 0) {
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
+ this_._internal_value());
+ }
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void uint16::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint16)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (from._internal_value() != 0) {
+ _this->_impl_.value_ = from._impl_.value_;
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void uint16::CopyFrom(const uint16& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint16)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void uint16::InternalSwap(uint16* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ swap(_impl_.value_, other->_impl_.value_);
+}
+
+// ===================================================================
+
+class SignalingAddr::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._has_bits_);
+};
+
+SignalingAddr::SignalingAddr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.SignalingAddr)
+}
+PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::SignalingAddr& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0},
+ ip_(arena, from.ip_) {}
+
+SignalingAddr::SignalingAddr(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const SignalingAddr& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SignalingAddr* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.port_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_)
+ : nullptr;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.SignalingAddr)
+}
+PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0},
+ ip_(arena) {}
+
+inline void SignalingAddr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ _impl_.port_ = {};
+}
+SignalingAddr::~SignalingAddr() {
+ // @@protoc_insertion_point(destructor:np2_structs.SignalingAddr)
+ SharedDtor(*this);
+}
+inline void SignalingAddr::SharedDtor(MessageLite& self) {
+ SignalingAddr& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ this_._impl_.ip_.Destroy();
+ delete this_._impl_.port_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL SignalingAddr::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) SignalingAddr(arena);
+}
+constexpr auto SignalingAddr::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SignalingAddr),
+ alignof(SignalingAddr));
+}
+constexpr auto SignalingAddr::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<26>{
+ {
+ &_SignalingAddr_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &SignalingAddr::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &SignalingAddr::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &SignalingAddr::ByteSizeLong,
+ &SignalingAddr::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.SignalingAddr",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<26> SignalingAddr_class_data_ =
+ SignalingAddr::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+SignalingAddr::GetClassData() const {
+ return SignalingAddr_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
+SignalingAddr::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 1, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ SignalingAddr_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // .np2_structs.uint16 port = 2;
+ {::_pbi::TcParser::FastMtS1,
+ {18, 1, 0,
+ PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_)}},
+ // bytes ip = 1;
+ {::_pbi::TcParser::FastBS1,
+ {10, 0, 0,
+ PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // bytes ip = 1;
+ {PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
+ // .np2_structs.uint16 port = 2;
+ {PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void SignalingAddr::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.SignalingAddr)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ _impl_.ip_.ClearNonDefaultToEmpty();
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(_impl_.port_ != nullptr);
+ _impl_.port_->Clear();
+ }
+ }
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const SignalingAddr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const SignalingAddr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SignalingAddr)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // bytes ip = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_ip().empty()) {
+ const ::std::string& _s = this_._internal_ip();
+ target = stream->WriteBytesMaybeAliased(1, _s, target);
+ }
+ }
+
+ // .np2_structs.uint16 port = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 2, *this_._impl_.port_, this_._impl_.port_->GetCachedSize(), target,
+ stream);
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SignalingAddr)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t SignalingAddr::ByteSizeLong(const MessageLite& base) {
+ const SignalingAddr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t SignalingAddr::ByteSizeLong() const {
+ const SignalingAddr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.SignalingAddr)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // bytes ip = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_ip().empty()) {
+ total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
+ this_._internal_ip());
+ }
+ }
+ // .np2_structs.uint16 port = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.port_);
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void SignalingAddr::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SignalingAddr)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!from._internal_ip().empty()) {
+ _this->_internal_set_ip(from._internal_ip());
+ } else {
+ if (_this->_impl_.ip_.IsDefault()) {
+ _this->_internal_set_ip("");
+ }
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(from._impl_.port_ != nullptr);
+ if (_this->_impl_.port_ == nullptr) {
+ _this->_impl_.port_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_);
+ } else {
+ _this->_impl_.port_->MergeFrom(*from._impl_.port_);
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void SignalingAddr::CopyFrom(const SignalingAddr& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SignalingAddr)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void SignalingAddr::InternalSwap(SignalingAddr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ auto* arena = GetArena();
+ ABSL_DCHECK_EQ(arena, other->GetArena());
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, &other->_impl_.ip_, arena);
+ swap(_impl_.port_, other->_impl_.port_);
+}
+
+// ===================================================================
+
+class MatchingSignalingInfo::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._has_bits_);
+};
+
+MatchingSignalingInfo::MatchingSignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSignalingInfo)
+}
+PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::MatchingSignalingInfo& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0},
+ npid_(arena, from.npid_) {}
+
+MatchingSignalingInfo::MatchingSignalingInfo(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const MatchingSignalingInfo& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ MatchingSignalingInfo* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_)
+ : nullptr;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingSignalingInfo)
+}
+PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0},
+ npid_(arena) {}
+
+inline void MatchingSignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ _impl_.addr_ = {};
+}
+MatchingSignalingInfo::~MatchingSignalingInfo() {
+ // @@protoc_insertion_point(destructor:np2_structs.MatchingSignalingInfo)
+ SharedDtor(*this);
+}
+inline void MatchingSignalingInfo::SharedDtor(MessageLite& self) {
+ MatchingSignalingInfo& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ this_._impl_.npid_.Destroy();
+ delete this_._impl_.addr_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL MatchingSignalingInfo::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) MatchingSignalingInfo(arena);
+}
+constexpr auto MatchingSignalingInfo::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingSignalingInfo),
+ alignof(MatchingSignalingInfo));
+}
+constexpr auto MatchingSignalingInfo::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<34>{
+ {
+ &_MatchingSignalingInfo_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &MatchingSignalingInfo::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &MatchingSignalingInfo::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &MatchingSignalingInfo::ByteSizeLong,
+ &MatchingSignalingInfo::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.MatchingSignalingInfo",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<34> MatchingSignalingInfo_class_data_ =
+ MatchingSignalingInfo::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+MatchingSignalingInfo::GetClassData() const {
+ return MatchingSignalingInfo_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 1, 46, 2>
+MatchingSignalingInfo::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 1, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ MatchingSignalingInfo_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::MatchingSignalingInfo>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // .np2_structs.SignalingAddr addr = 2;
+ {::_pbi::TcParser::FastMtS1,
+ {18, 1, 0,
+ PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_)}},
+ // string npid = 1;
+ {::_pbi::TcParser::FastUS1,
+ {10, 0, 0,
+ PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // string npid = 1;
+ {PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
+ // .np2_structs.SignalingAddr addr = 2;
+ {PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()},
+ }},
+ {{
+ "\41\4\0\0\0\0\0\0"
+ "np2_structs.MatchingSignalingInfo"
+ "npid"
+ }},
+};
+PROTOBUF_NOINLINE void MatchingSignalingInfo::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSignalingInfo)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ _impl_.npid_.ClearNonDefaultToEmpty();
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(_impl_.addr_ != nullptr);
+ _impl_.addr_->Clear();
+ }
+ }
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const MatchingSignalingInfo& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const MatchingSignalingInfo& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSignalingInfo)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // string npid = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_npid().empty()) {
+ const ::std::string& _s = this_._internal_npid();
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
+ _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MatchingSignalingInfo.npid");
+ target = stream->WriteStringMaybeAliased(1, _s, target);
+ }
+ }
+
+ // .np2_structs.SignalingAddr addr = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target,
+ stream);
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSignalingInfo)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t MatchingSignalingInfo::ByteSizeLong(const MessageLite& base) {
+ const MatchingSignalingInfo& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t MatchingSignalingInfo::ByteSizeLong() const {
+ const MatchingSignalingInfo& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSignalingInfo)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // string npid = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_npid().empty()) {
+ total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
+ this_._internal_npid());
+ }
+ }
+ // .np2_structs.SignalingAddr addr = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_);
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void MatchingSignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSignalingInfo)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!from._internal_npid().empty()) {
+ _this->_internal_set_npid(from._internal_npid());
+ } else {
+ if (_this->_impl_.npid_.IsDefault()) {
+ _this->_internal_set_npid("");
+ }
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(from._impl_.addr_ != nullptr);
+ if (_this->_impl_.addr_ == nullptr) {
+ _this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_);
+ } else {
+ _this->_impl_.addr_->MergeFrom(*from._impl_.addr_);
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void MatchingSignalingInfo::CopyFrom(const MatchingSignalingInfo& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSignalingInfo)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void MatchingSignalingInfo::InternalSwap(MatchingSignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ auto* arena = GetArena();
+ ABSL_DCHECK_EQ(arena, other->GetArena());
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
+ swap(_impl_.addr_, other->_impl_.addr_);
+}
+
+// ===================================================================
+
+class Matching2SignalingInfo::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._has_bits_);
+};
+
+Matching2SignalingInfo::Matching2SignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.Matching2SignalingInfo)
+}
+PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::Matching2SignalingInfo& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0} {}
+
+Matching2SignalingInfo::Matching2SignalingInfo(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const Matching2SignalingInfo& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ Matching2SignalingInfo* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.member_id_ = (CheckHasBit(cached_has_bits, 0x00000001U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_)
+ : nullptr;
+ _impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_)
+ : nullptr;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.Matching2SignalingInfo)
+}
+PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void Matching2SignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ ::memset(reinterpret_cast(&_impl_) +
+ offsetof(Impl_, member_id_),
+ 0,
+ offsetof(Impl_, addr_) -
+ offsetof(Impl_, member_id_) +
+ sizeof(Impl_::addr_));
+}
+Matching2SignalingInfo::~Matching2SignalingInfo() {
+ // @@protoc_insertion_point(destructor:np2_structs.Matching2SignalingInfo)
+ SharedDtor(*this);
+}
+inline void Matching2SignalingInfo::SharedDtor(MessageLite& self) {
+ Matching2SignalingInfo& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ delete this_._impl_.member_id_;
+ delete this_._impl_.addr_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL Matching2SignalingInfo::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) Matching2SignalingInfo(arena);
+}
+constexpr auto Matching2SignalingInfo::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Matching2SignalingInfo),
+ alignof(Matching2SignalingInfo));
+}
+constexpr auto Matching2SignalingInfo::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<35>{
+ {
+ &_Matching2SignalingInfo_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &Matching2SignalingInfo::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &Matching2SignalingInfo::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &Matching2SignalingInfo::ByteSizeLong,
+ &Matching2SignalingInfo::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.Matching2SignalingInfo",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<35> Matching2SignalingInfo_class_data_ =
+ Matching2SignalingInfo::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+Matching2SignalingInfo::GetClassData() const {
+ return Matching2SignalingInfo_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
+Matching2SignalingInfo::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 2, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ Matching2SignalingInfo_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // .np2_structs.SignalingAddr addr = 2;
+ {::_pbi::TcParser::FastMtS1,
+ {18, 1, 1,
+ PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_)}},
+ // .np2_structs.uint16 member_id = 1;
+ {::_pbi::TcParser::FastMtS1,
+ {10, 0, 0,
+ PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // .np2_structs.uint16 member_id = 1;
+ {PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ // .np2_structs.SignalingAddr addr = 2;
+ {PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
+ {::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void Matching2SignalingInfo::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.Matching2SignalingInfo)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(_impl_.member_id_ != nullptr);
+ _impl_.member_id_->Clear();
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(_impl_.addr_ != nullptr);
+ _impl_.addr_->Clear();
+ }
+ }
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const Matching2SignalingInfo& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const Matching2SignalingInfo& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.Matching2SignalingInfo)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // .np2_structs.uint16 member_id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 1, *this_._impl_.member_id_, this_._impl_.member_id_->GetCachedSize(), target,
+ stream);
+ }
+
+ // .np2_structs.SignalingAddr addr = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target,
+ stream);
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.Matching2SignalingInfo)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t Matching2SignalingInfo::ByteSizeLong(const MessageLite& base) {
+ const Matching2SignalingInfo& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t Matching2SignalingInfo::ByteSizeLong() const {
+ const Matching2SignalingInfo& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.Matching2SignalingInfo)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // .np2_structs.uint16 member_id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.member_id_);
+ }
+ // .np2_structs.SignalingAddr addr = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_);
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void Matching2SignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.Matching2SignalingInfo)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(from._impl_.member_id_ != nullptr);
+ if (_this->_impl_.member_id_ == nullptr) {
+ _this->_impl_.member_id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_);
+ } else {
+ _this->_impl_.member_id_->MergeFrom(*from._impl_.member_id_);
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(from._impl_.addr_ != nullptr);
+ if (_this->_impl_.addr_ == nullptr) {
+ _this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_);
+ } else {
+ _this->_impl_.addr_->MergeFrom(*from._impl_.addr_);
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void Matching2SignalingInfo::CopyFrom(const Matching2SignalingInfo& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.Matching2SignalingInfo)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void Matching2SignalingInfo::InternalSwap(Matching2SignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::google::protobuf::internal::memswap<
+ PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_)
+ + sizeof(Matching2SignalingInfo::_impl_.addr_)
+ - PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)>(
+ reinterpret_cast(&_impl_.member_id_),
+ reinterpret_cast(&other->_impl_.member_id_));
+}
+
+// ===================================================================
+
+class BinAttr::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._has_bits_);
+};
+
+BinAttr::BinAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.BinAttr)
+}
+PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::BinAttr& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0},
+ data_(arena, from.data_) {}
+
+BinAttr::BinAttr(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const BinAttr& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ BinAttr* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_)
+ : nullptr;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.BinAttr)
+}
+PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0},
+ data_(arena) {}
+
+inline void BinAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ _impl_.id_ = {};
+}
+BinAttr::~BinAttr() {
+ // @@protoc_insertion_point(destructor:np2_structs.BinAttr)
+ SharedDtor(*this);
+}
+inline void BinAttr::SharedDtor(MessageLite& self) {
+ BinAttr& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ this_._impl_.data_.Destroy();
+ delete this_._impl_.id_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL BinAttr::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) BinAttr(arena);
+}
+constexpr auto BinAttr::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BinAttr),
+ alignof(BinAttr));
+}
+constexpr auto BinAttr::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<20>{
+ {
+ &_BinAttr_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &BinAttr::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &BinAttr::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &BinAttr::ByteSizeLong,
+ &BinAttr::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.BinAttr",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<20> BinAttr_class_data_ =
+ BinAttr::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+BinAttr::GetClassData() const {
+ return BinAttr_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
+BinAttr::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 1, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ BinAttr_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::BinAttr>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // bytes data = 2;
+ {::_pbi::TcParser::FastBS1,
+ {18, 0, 0,
+ PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_)}},
+ // .np2_structs.uint16 id = 1;
+ {::_pbi::TcParser::FastMtS1,
+ {10, 1, 0,
+ PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // .np2_structs.uint16 id = 1;
+ {PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ // bytes data = 2;
+ {PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void BinAttr::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttr)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ _impl_.data_.ClearNonDefaultToEmpty();
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(_impl_.id_ != nullptr);
+ _impl_.id_->Clear();
+ }
+ }
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const BinAttr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const BinAttr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttr)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // .np2_structs.uint16 id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target,
+ stream);
+ }
+
+ // bytes data = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_data().empty()) {
+ const ::std::string& _s = this_._internal_data();
+ target = stream->WriteBytesMaybeAliased(2, _s, target);
+ }
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttr)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t BinAttr::ByteSizeLong(const MessageLite& base) {
+ const BinAttr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t BinAttr::ByteSizeLong() const {
+ const BinAttr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttr)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // bytes data = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!this_._internal_data().empty()) {
+ total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
+ this_._internal_data());
+ }
+ }
+ // .np2_structs.uint16 id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_);
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void BinAttr::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttr)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ if (!from._internal_data().empty()) {
+ _this->_internal_set_data(from._internal_data());
+ } else {
+ if (_this->_impl_.data_.IsDefault()) {
+ _this->_internal_set_data("");
+ }
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(from._impl_.id_ != nullptr);
+ if (_this->_impl_.id_ == nullptr) {
+ _this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_);
+ } else {
+ _this->_impl_.id_->MergeFrom(*from._impl_.id_);
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void BinAttr::CopyFrom(const BinAttr& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttr)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void BinAttr::InternalSwap(BinAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ auto* arena = GetArena();
+ ABSL_DCHECK_EQ(arena, other->GetArena());
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
+ swap(_impl_.id_, other->_impl_.id_);
+}
+
+// ===================================================================
+
+class IntAttr::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._has_bits_);
+};
+
+IntAttr::IntAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.IntAttr)
+}
+PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::IntAttr& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0} {}
+
+IntAttr::IntAttr(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const IntAttr& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ IntAttr* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000001U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_)
+ : nullptr;
+ _impl_.num_ = from._impl_.num_;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.IntAttr)
+}
+PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void IntAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ ::memset(reinterpret_cast(&_impl_) +
+ offsetof(Impl_, id_),
+ 0,
+ offsetof(Impl_, num_) -
+ offsetof(Impl_, id_) +
+ sizeof(Impl_::num_));
+}
+IntAttr::~IntAttr() {
+ // @@protoc_insertion_point(destructor:np2_structs.IntAttr)
+ SharedDtor(*this);
+}
+inline void IntAttr::SharedDtor(MessageLite& self) {
+ IntAttr& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ delete this_._impl_.id_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL IntAttr::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) IntAttr(arena);
+}
+constexpr auto IntAttr::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntAttr),
+ alignof(IntAttr));
+}
+constexpr auto IntAttr::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<20>{
+ {
+ &_IntAttr_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &IntAttr::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &IntAttr::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &IntAttr::ByteSizeLong,
+ &IntAttr::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.IntAttr",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<20> IntAttr_class_data_ =
+ IntAttr::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+IntAttr::GetClassData() const {
+ return IntAttr_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
+IntAttr::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 1, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ IntAttr_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::IntAttr>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // uint32 num = 2;
+ {::_pbi::TcParser::FastV32S1,
+ {16, 1, 0,
+ PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_)}},
+ // .np2_structs.uint16 id = 1;
+ {::_pbi::TcParser::FastMtS1,
+ {10, 0, 0,
+ PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // .np2_structs.uint16 id = 1;
+ {PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ // uint32 num = 2;
+ {PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void IntAttr::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.IntAttr)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(_impl_.id_ != nullptr);
+ _impl_.id_->Clear();
+ }
+ _impl_.num_ = 0u;
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const IntAttr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const IntAttr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.IntAttr)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // .np2_structs.uint16 id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target,
+ stream);
+ }
+
+ // uint32 num = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (this_._internal_num() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
+ 2, this_._internal_num(), target);
+ }
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.IntAttr)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t IntAttr::ByteSizeLong(const MessageLite& base) {
+ const IntAttr& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t IntAttr::ByteSizeLong() const {
+ const IntAttr& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.IntAttr)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // .np2_structs.uint16 id = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_);
+ }
+ // uint32 num = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (this_._internal_num() != 0) {
+ total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
+ this_._internal_num());
+ }
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void IntAttr::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.IntAttr)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(from._impl_.id_ != nullptr);
+ if (_this->_impl_.id_ == nullptr) {
+ _this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_);
+ } else {
+ _this->_impl_.id_->MergeFrom(*from._impl_.id_);
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (from._internal_num() != 0) {
+ _this->_impl_.num_ = from._impl_.num_;
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void IntAttr::CopyFrom(const IntAttr& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.IntAttr)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void IntAttr::InternalSwap(IntAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::google::protobuf::internal::memswap<
+ PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_)
+ + sizeof(IntAttr::_impl_.num_)
+ - PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)>(
+ reinterpret_cast(&_impl_.id_),
+ reinterpret_cast(&other->_impl_.id_));
+}
+
+// ===================================================================
+
+class RoomMemberBinAttrInternal::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._has_bits_);
+};
+
+RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberBinAttrInternal)
+}
+PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::RoomMemberBinAttrInternal& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0} {}
+
+RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const RoomMemberBinAttrInternal& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ RoomMemberBinAttrInternal* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000001U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_)
+ : nullptr;
+ _impl_.updatedate_ = from._impl_.updatedate_;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberBinAttrInternal)
+}
+PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void RoomMemberBinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ ::memset(reinterpret_cast(&_impl_) +
+ offsetof(Impl_, data_),
+ 0,
+ offsetof(Impl_, updatedate_) -
+ offsetof(Impl_, data_) +
+ sizeof(Impl_::updatedate_));
+}
+RoomMemberBinAttrInternal::~RoomMemberBinAttrInternal() {
+ // @@protoc_insertion_point(destructor:np2_structs.RoomMemberBinAttrInternal)
+ SharedDtor(*this);
+}
+inline void RoomMemberBinAttrInternal::SharedDtor(MessageLite& self) {
+ RoomMemberBinAttrInternal& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ delete this_._impl_.data_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL RoomMemberBinAttrInternal::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) RoomMemberBinAttrInternal(arena);
+}
+constexpr auto RoomMemberBinAttrInternal::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberBinAttrInternal),
+ alignof(RoomMemberBinAttrInternal));
+}
+constexpr auto RoomMemberBinAttrInternal::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<38>{
+ {
+ &_RoomMemberBinAttrInternal_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &RoomMemberBinAttrInternal::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &RoomMemberBinAttrInternal::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberBinAttrInternal::ByteSizeLong,
+ &RoomMemberBinAttrInternal::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.RoomMemberBinAttrInternal",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_ =
+ RoomMemberBinAttrInternal::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+RoomMemberBinAttrInternal::GetClassData() const {
+ return RoomMemberBinAttrInternal_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
+RoomMemberBinAttrInternal::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._has_bits_),
+ 0, // no _extensions_
+ 2, 8, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967292, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 2, // num_field_entries
+ 1, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ RoomMemberBinAttrInternal_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberBinAttrInternal>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ // .np2_structs.BinAttr data = 2;
+ {::_pbi::TcParser::FastMtS1,
+ {18, 0, 0,
+ PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)}},
+ // uint64 updateDate = 1;
+ {::_pbi::TcParser::FastV64S1,
+ {8, 1, 0,
+ PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // uint64 updateDate = 1;
+ {PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
+ // .np2_structs.BinAttr data = 2;
+ {PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void RoomMemberBinAttrInternal::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberBinAttrInternal)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(_impl_.data_ != nullptr);
+ _impl_.data_->Clear();
+ }
+ _impl_.updatedate_ = ::uint64_t{0u};
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const RoomMemberBinAttrInternal& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const RoomMemberBinAttrInternal& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberBinAttrInternal)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // uint64 updateDate = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (this_._internal_updatedate() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
+ 1, this_._internal_updatedate(), target);
+ }
+ }
+
+ // .np2_structs.BinAttr data = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 2, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target,
+ stream);
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberBinAttrInternal)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t RoomMemberBinAttrInternal::ByteSizeLong(const MessageLite& base) {
+ const RoomMemberBinAttrInternal& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t RoomMemberBinAttrInternal::ByteSizeLong() const {
+ const RoomMemberBinAttrInternal& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberBinAttrInternal)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ // .np2_structs.BinAttr data = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_);
+ }
+ // uint64 updateDate = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (this_._internal_updatedate() != 0) {
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
+ this_._internal_updatedate());
+ }
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void RoomMemberBinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberBinAttrInternal)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(from._impl_.data_ != nullptr);
+ if (_this->_impl_.data_ == nullptr) {
+ _this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_);
+ } else {
+ _this->_impl_.data_->MergeFrom(*from._impl_.data_);
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ if (from._internal_updatedate() != 0) {
+ _this->_impl_.updatedate_ = from._impl_.updatedate_;
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void RoomMemberBinAttrInternal::CopyFrom(const RoomMemberBinAttrInternal& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberBinAttrInternal)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void RoomMemberBinAttrInternal::InternalSwap(RoomMemberBinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::google::protobuf::internal::memswap<
+ PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_)
+ + sizeof(RoomMemberBinAttrInternal::_impl_.updatedate_)
+ - PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)>(
+ reinterpret_cast(&_impl_.data_),
+ reinterpret_cast(&other->_impl_.data_));
+}
+
+// ===================================================================
+
+class BinAttrInternal::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._has_bits_);
+};
+
+BinAttrInternal::BinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.BinAttrInternal)
+}
+PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::BinAttrInternal& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0} {}
+
+BinAttrInternal::BinAttrInternal(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const BinAttrInternal& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ BinAttrInternal* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.updatememberid_ = (CheckHasBit(cached_has_bits, 0x00000001U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_)
+ : nullptr;
+ _impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_)
+ : nullptr;
+ _impl_.updatedate_ = from._impl_.updatedate_;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.BinAttrInternal)
+}
+PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void BinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ ::memset(reinterpret_cast(&_impl_) +
+ offsetof(Impl_, updatememberid_),
+ 0,
+ offsetof(Impl_, updatedate_) -
+ offsetof(Impl_, updatememberid_) +
+ sizeof(Impl_::updatedate_));
+}
+BinAttrInternal::~BinAttrInternal() {
+ // @@protoc_insertion_point(destructor:np2_structs.BinAttrInternal)
+ SharedDtor(*this);
+}
+inline void BinAttrInternal::SharedDtor(MessageLite& self) {
+ BinAttrInternal& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ delete this_._impl_.updatememberid_;
+ delete this_._impl_.data_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL BinAttrInternal::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) BinAttrInternal(arena);
+}
+constexpr auto BinAttrInternal::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinAttrInternal),
+ alignof(BinAttrInternal));
+}
+constexpr auto BinAttrInternal::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<28>{
+ {
+ &_BinAttrInternal_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &BinAttrInternal::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &BinAttrInternal::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl(), &BinAttrInternal::ByteSizeLong,
+ &BinAttrInternal::_InternalSerialize,
+#endif // PROTOBUF_CUSTOM_VTABLE
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._cached_size_),
+ true,
+ },
+ "np2_structs.BinAttrInternal",
+ };
+}
+
+PROTOBUF_CONSTINIT
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::google::protobuf::internal::ClassDataLite<28> BinAttrInternal_class_data_ =
+ BinAttrInternal::InternalGenerateClassData_();
+
+PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
+BinAttrInternal::GetClassData() const {
+ return BinAttrInternal_class_data_.base();
+}
+PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
+const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
+BinAttrInternal::_table_ = {
+ {
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._has_bits_),
+ 0, // no _extensions_
+ 3, 24, // max_field_number, fast_idx_mask
+ offsetof(decltype(_table_), field_lookup_table),
+ 4294967288, // skipmap
+ offsetof(decltype(_table_), field_entries),
+ 3, // num_field_entries
+ 2, // num_aux_entries
+ offsetof(decltype(_table_), aux_entries),
+ BinAttrInternal_class_data_.base(),
+ nullptr, // post_loop_handler
+ ::_pbi::TcParser::GenericFallbackLite, // fallback
+ #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
+ ::_pbi::TcParser::GetTable<::np2_structs::BinAttrInternal>(), // to_prefetch
+ #endif // PROTOBUF_PREFETCH_PARSE_TABLE
+ }, {{
+ {::_pbi::TcParser::MiniParse, {}},
+ // uint64 updateDate = 1;
+ {::_pbi::TcParser::FastV64S1,
+ {8, 2, 0,
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_)}},
+ // .np2_structs.uint16 updateMemberId = 2;
+ {::_pbi::TcParser::FastMtS1,
+ {18, 0, 0,
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)}},
+ // .np2_structs.BinAttr data = 3;
+ {::_pbi::TcParser::FastMtS1,
+ {26, 1, 1,
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_)}},
+ }}, {{
+ 65535, 65535
+ }}, {{
+ // uint64 updateDate = 1;
+ {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
+ // .np2_structs.uint16 updateMemberId = 2;
+ {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ // .np2_structs.BinAttr data = 3;
+ {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
+ }},
+ {{
+ {::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
+ {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
+ }},
+ {{
+ }},
+};
+PROTOBUF_NOINLINE void BinAttrInternal::Clear() {
+// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttrInternal)
+ ::google::protobuf::internal::TSanWrite(&_impl_);
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ cached_has_bits = _impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(_impl_.updatememberid_ != nullptr);
+ _impl_.updatememberid_->Clear();
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(_impl_.data_ != nullptr);
+ _impl_.data_->Clear();
+ }
+ }
+ _impl_.updatedate_ = ::uint64_t{0u};
+ _impl_._has_bits_.Clear();
+ _internal_metadata_.Clear<::std::string>();
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize(
+ const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
+ const BinAttrInternal& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize(
+ ::uint8_t* PROTOBUF_NONNULL target,
+ ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
+ const BinAttrInternal& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttrInternal)
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = this_._impl_._has_bits_[0];
+ // uint64 updateDate = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000004U)) {
+ if (this_._internal_updatedate() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
+ 1, this_._internal_updatedate(), target);
+ }
+ }
+
+ // .np2_structs.uint16 updateMemberId = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 2, *this_._impl_.updatememberid_, this_._impl_.updatememberid_->GetCachedSize(), target,
+ stream);
+ }
+
+ // .np2_structs.BinAttr data = 3;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
+ 3, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target,
+ stream);
+ }
+
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ target = stream->WriteRaw(
+ this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
+ static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttrInternal)
+ return target;
+}
+
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+::size_t BinAttrInternal::ByteSizeLong(const MessageLite& base) {
+ const BinAttrInternal& this_ = static_cast(base);
+#else // PROTOBUF_CUSTOM_VTABLE
+::size_t BinAttrInternal::ByteSizeLong() const {
+ const BinAttrInternal& this_ = *this;
+#endif // PROTOBUF_CUSTOM_VTABLE
+ // @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttrInternal)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void)cached_has_bits;
+
+ ::_pbi::Prefetch5LinesFrom7Lines(&this_);
+ cached_has_bits = this_._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
+ // .np2_structs.uint16 updateMemberId = 2;
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updatememberid_);
+ }
+ // .np2_structs.BinAttr data = 3;
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_);
+ }
+ // uint64 updateDate = 1;
+ if (CheckHasBit(cached_has_bits, 0x00000004U)) {
+ if (this_._internal_updatedate() != 0) {
+ total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
+ this_._internal_updatedate());
+ }
+ }
+ }
+ if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
+ total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
+ }
+ this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
+ return total_size;
+}
+
+void BinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
+ const ::google::protobuf::MessageLite& from_msg) {
+ auto* const _this =
+ static_cast(&to_msg);
+ auto& from = static_cast(from_msg);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ from.CheckHasBitConsistency();
+ }
+ ::google::protobuf::Arena* arena = _this->GetArena();
+ // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttrInternal)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void)cached_has_bits;
+
+ cached_has_bits = from._impl_._has_bits_[0];
+ if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
+ if (CheckHasBit(cached_has_bits, 0x00000001U)) {
+ ABSL_DCHECK(from._impl_.updatememberid_ != nullptr);
+ if (_this->_impl_.updatememberid_ == nullptr) {
+ _this->_impl_.updatememberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_);
+ } else {
+ _this->_impl_.updatememberid_->MergeFrom(*from._impl_.updatememberid_);
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000002U)) {
+ ABSL_DCHECK(from._impl_.data_ != nullptr);
+ if (_this->_impl_.data_ == nullptr) {
+ _this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_);
+ } else {
+ _this->_impl_.data_->MergeFrom(*from._impl_.data_);
+ }
+ }
+ if (CheckHasBit(cached_has_bits, 0x00000004U)) {
+ if (from._internal_updatedate() != 0) {
+ _this->_impl_.updatedate_ = from._impl_.updatedate_;
+ }
+ }
+ }
+ _this->_impl_._has_bits_[0] |= cached_has_bits;
+ _this->_internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+}
+
+void BinAttrInternal::CopyFrom(const BinAttrInternal& from) {
+ // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttrInternal)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+
+void BinAttrInternal::InternalSwap(BinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
+ using ::std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
+ ::google::protobuf::internal::memswap<
+ PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_)
+ + sizeof(BinAttrInternal::_impl_.updatedate_)
+ - PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)>(
+ reinterpret_cast(&_impl_.updatememberid_),
+ reinterpret_cast(&other->_impl_.updatememberid_));
+}
+
+// ===================================================================
+
+class OptParam::_Internal {
+ public:
+ using HasBits =
+ decltype(::std::declval()._impl_._has_bits_);
+ static constexpr ::int32_t kHasBitsOffset =
+ 8 * PROTOBUF_FIELD_OFFSET(OptParam, _impl_._has_bits_);
+};
+
+OptParam::OptParam(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:np2_structs.OptParam)
+}
+PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
+ [[maybe_unused]] const ::np2_structs::OptParam& from_msg)
+ : _has_bits_{from._has_bits_},
+ _cached_size_{0} {}
+
+OptParam::OptParam(
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
+ const OptParam& from)
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ : ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) {
+#else // PROTOBUF_CUSTOM_VTABLE
+ : ::google::protobuf::MessageLite(arena) {
+#endif // PROTOBUF_CUSTOM_VTABLE
+ OptParam* const _this = this;
+ (void)_this;
+ _internal_metadata_.MergeFrom<::std::string>(
+ from._internal_metadata_);
+ new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
+ ::uint32_t cached_has_bits = _impl_._has_bits_[0];
+ _impl_.type_ = (CheckHasBit(cached_has_bits, 0x00000001U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_)
+ : nullptr;
+ _impl_.flag_ = (CheckHasBit(cached_has_bits, 0x00000002U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.flag_)
+ : nullptr;
+ _impl_.hubmemberid_ = (CheckHasBit(cached_has_bits, 0x00000004U))
+ ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hubmemberid_)
+ : nullptr;
+
+ // @@protoc_insertion_point(copy_constructor:np2_structs.OptParam)
+}
+PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_(
+ [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
+ [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
+ : _cached_size_{0} {}
+
+inline void OptParam::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
+ new (&_impl_) Impl_(internal_visibility(), arena);
+ ::memset(reinterpret_cast(&_impl_) +
+ offsetof(Impl_, type_),
+ 0,
+ offsetof(Impl_, hubmemberid_) -
+ offsetof(Impl_, type_) +
+ sizeof(Impl_::hubmemberid_));
+}
+OptParam::~OptParam() {
+ // @@protoc_insertion_point(destructor:np2_structs.OptParam)
+ SharedDtor(*this);
+}
+inline void OptParam::SharedDtor(MessageLite& self) {
+ OptParam& this_ = static_cast(self);
+ if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
+ this_.CheckHasBitConsistency();
+ }
+ this_._internal_metadata_.Delete<::std::string>();
+ ABSL_DCHECK(this_.GetArena() == nullptr);
+ delete this_._impl_.type_;
+ delete this_._impl_.flag_;
+ delete this_._impl_.hubmemberid_;
+ this_._impl_.~Impl_();
+}
+
+inline void* PROTOBUF_NONNULL OptParam::PlacementNew_(
+ const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
+ ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
+ return ::new (mem) OptParam(arena);
+}
+constexpr auto OptParam::InternalNewImpl_() {
+ return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OptParam),
+ alignof(OptParam));
+}
+constexpr auto OptParam::InternalGenerateClassData_() {
+ return ::google::protobuf::internal::ClassDataLite<21>{
+ {
+ &_OptParam_default_instance_._instance,
+ &_table_.header,
+ nullptr, // OnDemandRegisterArenaDtor
+ nullptr, // IsInitialized
+ &OptParam::MergeImpl,
+ ::google::protobuf::MessageLite::GetNewImpl(),
+#if defined(PROTOBUF_CUSTOM_VTABLE)
+ &OptParam::SharedDtor,
+ ::google::protobuf::MessageLite::GetClearImpl