mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-22 23:29:29 +08:00
9381 lines
346 KiB
C++
9381 lines
346 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: common.proto
|
|
// Protobuf C++ Version: 5.27.2
|
|
|
|
#include "common.pb.h"
|
|
|
|
#include <algorithm>
|
|
#include <type_traits>
|
|
#include "google/protobuf/io/coded_stream.h"
|
|
#include "google/protobuf/generated_message_tctable_impl.h"
|
|
#include "google/protobuf/extension_set.h"
|
|
#include "google/protobuf/wire_format_lite.h"
|
|
#include "google/protobuf/descriptor.h"
|
|
#include "google/protobuf/generated_message_reflection.h"
|
|
#include "google/protobuf/reflection_ops.h"
|
|
#include "google/protobuf/wire_format.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;
|
|
|
|
inline constexpr TRANSFORM_INFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
level_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TRANSFORM_INFO::TRANSFORM_INFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct TRANSFORM_INFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TRANSFORM_INFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TRANSFORM_INFODefaultTypeInternal() {}
|
|
union {
|
|
TRANSFORM_INFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TRANSFORM_INFODefaultTypeInternal _TRANSFORM_INFO_default_instance_;
|
|
|
|
inline constexpr TASKINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
progress_{0u},
|
|
accept_time_{0u},
|
|
submit_time_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TASKINFO::TASKINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct TASKINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TASKINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TASKINFODefaultTypeInternal() {}
|
|
union {
|
|
TASKINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TASKINFODefaultTypeInternal _TASKINFO_default_instance_;
|
|
|
|
inline constexpr STRENGTH_INFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
exp_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR STRENGTH_INFO::STRENGTH_INFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct STRENGTH_INFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR STRENGTH_INFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~STRENGTH_INFODefaultTypeInternal() {}
|
|
union {
|
|
STRENGTH_INFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 STRENGTH_INFODefaultTypeInternal _STRENGTH_INFO_default_instance_;
|
|
|
|
inline constexpr SPWEAPONINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
template_id_{0u},
|
|
attr_1_{0u},
|
|
attr_2_{0u},
|
|
attr_temp_1_{0u},
|
|
attr_temp_2_{0u},
|
|
effect_{0u},
|
|
pt_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SPWEAPONINFO::SPWEAPONINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SPWEAPONINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SPWEAPONINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SPWEAPONINFODefaultTypeInternal() {}
|
|
union {
|
|
SPWEAPONINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SPWEAPONINFODefaultTypeInternal _SPWEAPONINFO_default_instance_;
|
|
|
|
inline constexpr SKILLINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
exp_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SKILLINFO::SKILLINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SKILLINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SKILLINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SKILLINFODefaultTypeInternal() {}
|
|
union {
|
|
SKILLINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SKILLINFODefaultTypeInternal _SKILLINFO_default_instance_;
|
|
|
|
inline constexpr SHIPSTATE::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
state_{0u},
|
|
state_info_1_{0u},
|
|
state_info_2_{0u},
|
|
state_info_3_{0u},
|
|
state_info_4_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPSTATE::SHIPSTATE(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPSTATEDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPSTATEDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPSTATEDefaultTypeInternal() {}
|
|
union {
|
|
SHIPSTATE _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPSTATEDefaultTypeInternal _SHIPSTATE_default_instance_;
|
|
|
|
inline constexpr SHIPSKILL::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
skill_id_{0u},
|
|
skill_lv_{0u},
|
|
skill_exp_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPSKILL::SHIPSKILL(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPSKILLDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPSKILLDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPSKILLDefaultTypeInternal() {}
|
|
union {
|
|
SHIPSKILL _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPSKILLDefaultTypeInternal _SHIPSKILL_default_instance_;
|
|
|
|
inline constexpr SHIPMODELINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
pos_{0u},
|
|
id_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPMODELINFO::SHIPMODELINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPMODELINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPMODELINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPMODELINFODefaultTypeInternal() {}
|
|
union {
|
|
SHIPMODELINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPMODELINFODefaultTypeInternal _SHIPMODELINFO_default_instance_;
|
|
|
|
inline constexpr SHIPGROUPPOS::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ship_id_{0u},
|
|
pos_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPGROUPPOS::SHIPGROUPPOS(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPGROUPPOSDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPGROUPPOSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPGROUPPOSDefaultTypeInternal() {}
|
|
union {
|
|
SHIPGROUPPOS _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPGROUPPOSDefaultTypeInternal _SHIPGROUPPOS_default_instance_;
|
|
|
|
inline constexpr REFUND_SHOPINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
shop_id_{0u},
|
|
buy_time_{0u},
|
|
refund_time_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR REFUND_SHOPINFO::REFUND_SHOPINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct REFUND_SHOPINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR REFUND_SHOPINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~REFUND_SHOPINFODefaultTypeInternal() {}
|
|
union {
|
|
REFUND_SHOPINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 REFUND_SHOPINFODefaultTypeInternal _REFUND_SHOPINFO_default_instance_;
|
|
|
|
inline constexpr KVDATA2::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
key_{0u},
|
|
value1_{0u},
|
|
value2_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR KVDATA2::KVDATA2(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct KVDATA2DefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR KVDATA2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~KVDATA2DefaultTypeInternal() {}
|
|
union {
|
|
KVDATA2 _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KVDATA2DefaultTypeInternal _KVDATA2_default_instance_;
|
|
|
|
inline constexpr KVDATA::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
key_{0u},
|
|
value_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR KVDATA::KVDATA(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct KVDATADefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR KVDATADefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~KVDATADefaultTypeInternal() {}
|
|
union {
|
|
KVDATA _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KVDATADefaultTypeInternal _KVDATA_default_instance_;
|
|
|
|
inline constexpr ITEM_INFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
num_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR ITEM_INFO::ITEM_INFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct ITEM_INFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR ITEM_INFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~ITEM_INFODefaultTypeInternal() {}
|
|
union {
|
|
ITEM_INFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ITEM_INFODefaultTypeInternal _ITEM_INFO_default_instance_;
|
|
|
|
inline constexpr IDTIMEINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
time_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR IDTIMEINFO::IDTIMEINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct IDTIMEINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR IDTIMEINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~IDTIMEINFODefaultTypeInternal() {}
|
|
union {
|
|
IDTIMEINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IDTIMEINFODefaultTypeInternal _IDTIMEINFO_default_instance_;
|
|
|
|
inline constexpr EQUIPSKIN_INFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{0u},
|
|
skinid_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR EQUIPSKIN_INFO::EQUIPSKIN_INFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct EQUIPSKIN_INFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR EQUIPSKIN_INFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~EQUIPSKIN_INFODefaultTypeInternal() {}
|
|
union {
|
|
EQUIPSKIN_INFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EQUIPSKIN_INFODefaultTypeInternal _EQUIPSKIN_INFO_default_instance_;
|
|
|
|
inline constexpr DROPINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
type_{0u},
|
|
id_{0u},
|
|
number_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR DROPINFO::DROPINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct DROPINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR DROPINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~DROPINFODefaultTypeInternal() {}
|
|
union {
|
|
DROPINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DROPINFODefaultTypeInternal _DROPINFO_default_instance_;
|
|
|
|
inline constexpr DISPLAYINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
icon_{0u},
|
|
skin_{0u},
|
|
icon_frame_{0u},
|
|
chat_frame_{0u},
|
|
icon_theme_{0u},
|
|
marry_flag_{0u},
|
|
transform_flag_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR DISPLAYINFO::DISPLAYINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct DISPLAYINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR DISPLAYINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~DISPLAYINFODefaultTypeInternal() {}
|
|
union {
|
|
DISPLAYINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DISPLAYINFODefaultTypeInternal _DISPLAYINFO_default_instance_;
|
|
|
|
inline constexpr COMMANDERSINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
pos_{0u},
|
|
id_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR COMMANDERSINFO::COMMANDERSINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct COMMANDERSINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR COMMANDERSINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~COMMANDERSINFODefaultTypeInternal() {}
|
|
union {
|
|
COMMANDERSINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COMMANDERSINFODefaultTypeInternal _COMMANDERSINFO_default_instance_;
|
|
|
|
inline constexpr COLLECTIONINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ship_id_list_{},
|
|
id_{0u},
|
|
finish_time_{0u},
|
|
over_time_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR COLLECTIONINFO::COLLECTIONINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct COLLECTIONINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR COLLECTIONINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~COLLECTIONINFODefaultTypeInternal() {}
|
|
union {
|
|
COLLECTIONINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COLLECTIONINFODefaultTypeInternal _COLLECTIONINFO_default_instance_;
|
|
|
|
inline constexpr BUILDINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
time_{0u},
|
|
finish_time_{0u},
|
|
build_id_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BUILDINFO::BUILDINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct BUILDINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BUILDINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BUILDINFODefaultTypeInternal() {}
|
|
union {
|
|
BUILDINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BUILDINFODefaultTypeInternal _BUILDINFO_default_instance_;
|
|
|
|
inline constexpr ATTRINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
level_{0u},
|
|
exp_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR ATTRINFO::ATTRINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct ATTRINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR ATTRINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~ATTRINFODefaultTypeInternal() {}
|
|
union {
|
|
ATTRINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ATTRINFODefaultTypeInternal _ATTRINFO_default_instance_;
|
|
|
|
inline constexpr APPRECIATIONINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: gallerys_{},
|
|
musics_{},
|
|
favor_gallerys_{},
|
|
favor_musics_{},
|
|
_cached_size_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR APPRECIATIONINFO::APPRECIATIONINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct APPRECIATIONINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR APPRECIATIONINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~APPRECIATIONINFODefaultTypeInternal() {}
|
|
union {
|
|
APPRECIATIONINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 APPRECIATIONINFODefaultTypeInternal _APPRECIATIONINFO_default_instance_;
|
|
|
|
inline constexpr USERSIMPLEINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
name_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
display_{nullptr},
|
|
id_{0u},
|
|
lv_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR USERSIMPLEINFO::USERSIMPLEINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct USERSIMPLEINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR USERSIMPLEINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~USERSIMPLEINFODefaultTypeInternal() {}
|
|
union {
|
|
USERSIMPLEINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 USERSIMPLEINFODefaultTypeInternal _USERSIMPLEINFO_default_instance_;
|
|
|
|
inline constexpr SHIPCOREINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
model_list_{},
|
|
id_{0u},
|
|
exp_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPCOREINFO::SHIPCOREINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPCOREINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPCOREINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPCOREINFODefaultTypeInternal() {}
|
|
union {
|
|
SHIPCOREINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPCOREINFODefaultTypeInternal _SHIPCOREINFO_default_instance_;
|
|
|
|
inline constexpr FLEETINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ship_list_{},
|
|
commanders_{},
|
|
id_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR FLEETINFO::FLEETINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct FLEETINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR FLEETINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~FLEETINFODefaultTypeInternal() {}
|
|
union {
|
|
FLEETINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FLEETINFODefaultTypeInternal _FLEETINFO_default_instance_;
|
|
|
|
inline constexpr COMMANDERINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ability_{},
|
|
ability_origin_{},
|
|
skill_{},
|
|
name_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
id_{0u},
|
|
template_id_{0u},
|
|
level_{0u},
|
|
exp_{0u},
|
|
is_locked_{0u},
|
|
ability_time_{0u},
|
|
used_pt_{0u},
|
|
rename_time_{0u},
|
|
home_clean_time_{0u},
|
|
home_play_time_{0u},
|
|
home_feed_time_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR COMMANDERINFO::COMMANDERINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct COMMANDERINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR COMMANDERINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~COMMANDERINFODefaultTypeInternal() {}
|
|
union {
|
|
COMMANDERINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COMMANDERINFODefaultTypeInternal _COMMANDERINFO_default_instance_;
|
|
|
|
inline constexpr SHIPINFO::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
equip_info_list_{},
|
|
transform_list_{},
|
|
skill_id_list_{},
|
|
strength_list_{},
|
|
meta_repair_list_{},
|
|
core_list_{},
|
|
name_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
state_{nullptr},
|
|
spweapon_{nullptr},
|
|
id_{0u},
|
|
template_id_{0u},
|
|
level_{0u},
|
|
exp_{0u},
|
|
energy_{0u},
|
|
is_locked_{0u},
|
|
intimacy_{0u},
|
|
proficiency_{0u},
|
|
create_time_{0u},
|
|
skin_id_{0u},
|
|
propose_{0u},
|
|
change_name_timestamp_{0u},
|
|
commanderid_{0u},
|
|
max_level_{0u},
|
|
blue_print_flag_{0u},
|
|
common_flag_{0u},
|
|
activity_npc_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SHIPINFO::SHIPINFO(::_pbi::ConstantInitialized)
|
|
: _impl_(::_pbi::ConstantInitialized()) {}
|
|
struct SHIPINFODefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SHIPINFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SHIPINFODefaultTypeInternal() {}
|
|
union {
|
|
SHIPINFO _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SHIPINFODefaultTypeInternal _SHIPINFO_default_instance_;
|
|
static constexpr const ::_pb::EnumDescriptor**
|
|
file_level_enum_descriptors_common_2eproto = nullptr;
|
|
static constexpr const ::_pb::ServiceDescriptor**
|
|
file_level_service_descriptors_common_2eproto = nullptr;
|
|
const ::uint32_t
|
|
TableStruct_common_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
|
|
protodesc_cold) = {
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.template_id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.level_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.exp_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.equip_info_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.energy_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.state_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.is_locked_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.transform_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.skill_id_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.intimacy_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.proficiency_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.strength_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.create_time_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.skin_id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.propose_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.name_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.change_name_timestamp_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.commanderid_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.max_level_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.blue_print_flag_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.common_flag_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.activity_npc_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.meta_repair_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.core_list_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPINFO, _impl_.spweapon_),
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
~0u,
|
|
7,
|
|
1,
|
|
8,
|
|
~0u,
|
|
~0u,
|
|
9,
|
|
10,
|
|
~0u,
|
|
11,
|
|
12,
|
|
13,
|
|
0,
|
|
14,
|
|
15,
|
|
16,
|
|
17,
|
|
18,
|
|
19,
|
|
~0u,
|
|
~0u,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_.state_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_.state_info_1_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_.state_info_2_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_.state_info_3_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSTATE, _impl_.state_info_4_),
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
PROTOBUF_FIELD_OFFSET(::ATTRINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::ATTRINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::ATTRINFO, _impl_.level_),
|
|
PROTOBUF_FIELD_OFFSET(::ATTRINFO, _impl_.exp_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::EQUIPSKIN_INFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::EQUIPSKIN_INFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::EQUIPSKIN_INFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::EQUIPSKIN_INFO, _impl_.skinid_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA, _impl_.key_),
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA, _impl_.value_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA2, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA2, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA2, _impl_.key_),
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA2, _impl_.value1_),
|
|
PROTOBUF_FIELD_OFFSET(::KVDATA2, _impl_.value2_),
|
|
0,
|
|
1,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSKILL, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSKILL, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSKILL, _impl_.skill_id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSKILL, _impl_.skill_lv_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPSKILL, _impl_.skill_exp_),
|
|
0,
|
|
1,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::STRENGTH_INFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::STRENGTH_INFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::STRENGTH_INFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::STRENGTH_INFO, _impl_.exp_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::TRANSFORM_INFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::TRANSFORM_INFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::TRANSFORM_INFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::TRANSFORM_INFO, _impl_.level_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::DROPINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::DROPINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::DROPINFO, _impl_.type_),
|
|
PROTOBUF_FIELD_OFFSET(::DROPINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::DROPINFO, _impl_.number_),
|
|
0,
|
|
1,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.template_id_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.level_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.exp_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.is_locked_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.ability_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.ability_origin_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.ability_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.skill_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.used_pt_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.name_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.rename_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.home_clean_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.home_play_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERINFO, _impl_.home_feed_time_),
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
~0u,
|
|
~0u,
|
|
6,
|
|
~0u,
|
|
7,
|
|
0,
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
PROTOBUF_FIELD_OFFSET(::SKILLINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SKILLINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SKILLINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::SKILLINFO, _impl_.exp_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERSINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERSINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERSINFO, _impl_.pos_),
|
|
PROTOBUF_FIELD_OFFSET(::COMMANDERSINFO, _impl_.id_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _impl_.name_),
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _impl_.lv_),
|
|
PROTOBUF_FIELD_OFFSET(::USERSIMPLEINFO, _impl_.display_),
|
|
2,
|
|
0,
|
|
3,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.icon_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.skin_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.icon_frame_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.chat_frame_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.icon_theme_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.marry_flag_),
|
|
PROTOBUF_FIELD_OFFSET(::DISPLAYINFO, _impl_.transform_flag_),
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
PROTOBUF_FIELD_OFFSET(::IDTIMEINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::IDTIMEINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::IDTIMEINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::IDTIMEINFO, _impl_.time_),
|
|
0,
|
|
1,
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::APPRECIATIONINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::APPRECIATIONINFO, _impl_.gallerys_),
|
|
PROTOBUF_FIELD_OFFSET(::APPRECIATIONINFO, _impl_.musics_),
|
|
PROTOBUF_FIELD_OFFSET(::APPRECIATIONINFO, _impl_.favor_gallerys_),
|
|
PROTOBUF_FIELD_OFFSET(::APPRECIATIONINFO, _impl_.favor_musics_),
|
|
PROTOBUF_FIELD_OFFSET(::BUILDINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::BUILDINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::BUILDINFO, _impl_.time_),
|
|
PROTOBUF_FIELD_OFFSET(::BUILDINFO, _impl_.finish_time_),
|
|
PROTOBUF_FIELD_OFFSET(::BUILDINFO, _impl_.build_id_),
|
|
0,
|
|
1,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::SHIPCOREINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPCOREINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPCOREINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPCOREINFO, _impl_.exp_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPCOREINFO, _impl_.model_list_),
|
|
0,
|
|
1,
|
|
~0u,
|
|
PROTOBUF_FIELD_OFFSET(::SHIPMODELINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPMODELINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPMODELINFO, _impl_.pos_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPMODELINFO, _impl_.id_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::SHIPGROUPPOS, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPGROUPPOS, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SHIPGROUPPOS, _impl_.ship_id_),
|
|
PROTOBUF_FIELD_OFFSET(::SHIPGROUPPOS, _impl_.pos_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::FLEETINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::FLEETINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::FLEETINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::FLEETINFO, _impl_.ship_list_),
|
|
PROTOBUF_FIELD_OFFSET(::FLEETINFO, _impl_.commanders_),
|
|
0,
|
|
~0u,
|
|
~0u,
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _impl_.finish_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _impl_.over_time_),
|
|
PROTOBUF_FIELD_OFFSET(::COLLECTIONINFO, _impl_.ship_id_list_),
|
|
0,
|
|
1,
|
|
2,
|
|
~0u,
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _impl_.progress_),
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _impl_.accept_time_),
|
|
PROTOBUF_FIELD_OFFSET(::TASKINFO, _impl_.submit_time_),
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
PROTOBUF_FIELD_OFFSET(::REFUND_SHOPINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::REFUND_SHOPINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::REFUND_SHOPINFO, _impl_.shop_id_),
|
|
PROTOBUF_FIELD_OFFSET(::REFUND_SHOPINFO, _impl_.buy_time_),
|
|
PROTOBUF_FIELD_OFFSET(::REFUND_SHOPINFO, _impl_.refund_time_),
|
|
0,
|
|
1,
|
|
2,
|
|
PROTOBUF_FIELD_OFFSET(::ITEM_INFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::ITEM_INFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::ITEM_INFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::ITEM_INFO, _impl_.num_),
|
|
0,
|
|
1,
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_._has_bits_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.id_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.template_id_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.attr_1_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.attr_2_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.attr_temp_1_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.attr_temp_2_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.effect_),
|
|
PROTOBUF_FIELD_OFFSET(::SPWEAPONINFO, _impl_.pt_),
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
};
|
|
|
|
static const ::_pbi::MigrationSchema
|
|
schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
{0, 34, -1, sizeof(::SHIPINFO)},
|
|
{60, 73, -1, sizeof(::SHIPSTATE)},
|
|
{78, 88, -1, sizeof(::ATTRINFO)},
|
|
{90, 100, -1, sizeof(::EQUIPSKIN_INFO)},
|
|
{102, 112, -1, sizeof(::KVDATA)},
|
|
{114, 125, -1, sizeof(::KVDATA2)},
|
|
{128, 139, -1, sizeof(::SHIPSKILL)},
|
|
{142, 152, -1, sizeof(::STRENGTH_INFO)},
|
|
{154, 164, -1, sizeof(::TRANSFORM_INFO)},
|
|
{166, 177, -1, sizeof(::DROPINFO)},
|
|
{180, 203, -1, sizeof(::COMMANDERINFO)},
|
|
{218, 228, -1, sizeof(::SKILLINFO)},
|
|
{230, 240, -1, sizeof(::COMMANDERSINFO)},
|
|
{242, 254, -1, sizeof(::USERSIMPLEINFO)},
|
|
{258, 273, -1, sizeof(::DISPLAYINFO)},
|
|
{280, 290, -1, sizeof(::IDTIMEINFO)},
|
|
{292, -1, -1, sizeof(::APPRECIATIONINFO)},
|
|
{304, 315, -1, sizeof(::BUILDINFO)},
|
|
{318, 329, -1, sizeof(::SHIPCOREINFO)},
|
|
{332, 342, -1, sizeof(::SHIPMODELINFO)},
|
|
{344, 354, -1, sizeof(::SHIPGROUPPOS)},
|
|
{356, 367, -1, sizeof(::FLEETINFO)},
|
|
{370, 382, -1, sizeof(::COLLECTIONINFO)},
|
|
{386, 398, -1, sizeof(::TASKINFO)},
|
|
{402, 413, -1, sizeof(::REFUND_SHOPINFO)},
|
|
{416, 426, -1, sizeof(::ITEM_INFO)},
|
|
{428, 444, -1, sizeof(::SPWEAPONINFO)},
|
|
};
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
|
&::_SHIPINFO_default_instance_._instance,
|
|
&::_SHIPSTATE_default_instance_._instance,
|
|
&::_ATTRINFO_default_instance_._instance,
|
|
&::_EQUIPSKIN_INFO_default_instance_._instance,
|
|
&::_KVDATA_default_instance_._instance,
|
|
&::_KVDATA2_default_instance_._instance,
|
|
&::_SHIPSKILL_default_instance_._instance,
|
|
&::_STRENGTH_INFO_default_instance_._instance,
|
|
&::_TRANSFORM_INFO_default_instance_._instance,
|
|
&::_DROPINFO_default_instance_._instance,
|
|
&::_COMMANDERINFO_default_instance_._instance,
|
|
&::_SKILLINFO_default_instance_._instance,
|
|
&::_COMMANDERSINFO_default_instance_._instance,
|
|
&::_USERSIMPLEINFO_default_instance_._instance,
|
|
&::_DISPLAYINFO_default_instance_._instance,
|
|
&::_IDTIMEINFO_default_instance_._instance,
|
|
&::_APPRECIATIONINFO_default_instance_._instance,
|
|
&::_BUILDINFO_default_instance_._instance,
|
|
&::_SHIPCOREINFO_default_instance_._instance,
|
|
&::_SHIPMODELINFO_default_instance_._instance,
|
|
&::_SHIPGROUPPOS_default_instance_._instance,
|
|
&::_FLEETINFO_default_instance_._instance,
|
|
&::_COLLECTIONINFO_default_instance_._instance,
|
|
&::_TASKINFO_default_instance_._instance,
|
|
&::_REFUND_SHOPINFO_default_instance_._instance,
|
|
&::_ITEM_INFO_default_instance_._instance,
|
|
&::_SPWEAPONINFO_default_instance_._instance,
|
|
};
|
|
const char descriptor_table_protodef_common_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
|
|
protodesc_cold) = {
|
|
"\n\014common.proto\"\366\004\n\010SHIPINFO\022\n\n\002id\030\001 \002(\r\022"
|
|
"\023\n\013template_id\030\002 \002(\r\022\r\n\005level\030\003 \002(\r\022\013\n\003e"
|
|
"xp\030\004 \002(\r\022(\n\017equip_info_list\030\005 \003(\0132\017.EQUI"
|
|
"PSKIN_INFO\022\016\n\006energy\030\006 \002(\r\022\031\n\005state\030\007 \002("
|
|
"\0132\n.SHIPSTATE\022\021\n\tis_locked\030\010 \002(\r\022\'\n\016tran"
|
|
"sform_list\030\t \003(\0132\017.TRANSFORM_INFO\022!\n\rski"
|
|
"ll_id_list\030\n \003(\0132\n.SHIPSKILL\022\020\n\010intimacy"
|
|
"\030\013 \002(\r\022\023\n\013proficiency\030\014 \002(\r\022%\n\rstrength_"
|
|
"list\030\r \003(\0132\016.STRENGTH_INFO\022\023\n\013create_tim"
|
|
"e\030\016 \002(\r\022\017\n\007skin_id\030\017 \002(\r\022\017\n\007propose\030\020 \002("
|
|
"\r\022\014\n\004name\030\021 \001(\t\022\035\n\025change_name_timestamp"
|
|
"\030\022 \001(\r\022\023\n\013commanderid\030\023 \002(\r\022\021\n\tmax_level"
|
|
"\030\024 \002(\r\022\027\n\017blue_print_flag\030\025 \002(\r\022\023\n\013commo"
|
|
"n_flag\030\026 \001(\r\022\024\n\014activity_npc\030\027 \002(\r\022\030\n\020me"
|
|
"ta_repair_list\030\030 \003(\r\022 \n\tcore_list\030\031 \003(\0132"
|
|
"\r.SHIPCOREINFO\022\037\n\010spweapon\030\032 \001(\0132\r.SPWEA"
|
|
"PONINFO\"r\n\tSHIPSTATE\022\r\n\005state\030\001 \002(\r\022\024\n\014s"
|
|
"tate_info_1\030\002 \001(\r\022\024\n\014state_info_2\030\003 \001(\r\022"
|
|
"\024\n\014state_info_3\030\004 \001(\r\022\024\n\014state_info_4\030\005 "
|
|
"\001(\r\"&\n\010ATTRINFO\022\r\n\005level\030\001 \002(\r\022\013\n\003exp\030\002 "
|
|
"\002(\r\",\n\016EQUIPSKIN_INFO\022\n\n\002id\030\001 \002(\r\022\016\n\006ski"
|
|
"nId\030\002 \002(\r\"$\n\006KVDATA\022\013\n\003key\030\001 \002(\r\022\r\n\005valu"
|
|
"e\030\002 \002(\r\"6\n\007KVDATA2\022\013\n\003key\030\001 \002(\r\022\016\n\006value"
|
|
"1\030\002 \002(\r\022\016\n\006value2\030\003 \002(\r\"B\n\tSHIPSKILL\022\020\n\010"
|
|
"skill_id\030\001 \002(\r\022\020\n\010skill_lv\030\002 \002(\r\022\021\n\tskil"
|
|
"l_exp\030\003 \002(\r\"(\n\rSTRENGTH_INFO\022\n\n\002id\030\001 \002(\r"
|
|
"\022\013\n\003exp\030\002 \002(\r\"+\n\016TRANSFORM_INFO\022\n\n\002id\030\001 "
|
|
"\002(\r\022\r\n\005level\030\002 \002(\r\"4\n\010DROPINFO\022\014\n\004type\030\001"
|
|
" \002(\r\022\n\n\002id\030\002 \002(\r\022\016\n\006number\030\003 \002(\r\"\266\002\n\rCOM"
|
|
"MANDERINFO\022\n\n\002id\030\001 \002(\r\022\023\n\013template_id\030\002 "
|
|
"\002(\r\022\r\n\005level\030\003 \002(\r\022\013\n\003exp\030\004 \002(\r\022\021\n\tis_lo"
|
|
"cked\030\005 \002(\r\022\017\n\007ability\030\006 \003(\r\022\026\n\016ability_o"
|
|
"rigin\030\007 \003(\r\022\024\n\014ability_time\030\010 \002(\r\022\031\n\005ski"
|
|
"ll\030\t \003(\0132\n.SKILLINFO\022\017\n\007used_pt\030\n \002(\r\022\014\n"
|
|
"\004name\030\013 \002(\t\022\023\n\013rename_time\030\014 \002(\r\022\027\n\017home"
|
|
"_clean_time\030\r \001(\r\022\026\n\016home_play_time\030\016 \001("
|
|
"\r\022\026\n\016home_feed_time\030\017 \001(\r\"$\n\tSKILLINFO\022\n"
|
|
"\n\002id\030\001 \002(\r\022\013\n\003exp\030\002 \002(\r\")\n\016COMMANDERSINF"
|
|
"O\022\013\n\003pos\030\001 \002(\r\022\n\n\002id\030\002 \002(\r\"U\n\016USERSIMPLE"
|
|
"INFO\022\n\n\002id\030\001 \002(\r\022\014\n\004name\030\002 \002(\t\022\n\n\002lv\030\003 \002"
|
|
"(\r\022\035\n\007display\030\004 \002(\0132\014.DISPLAYINFO\"\221\001\n\013DI"
|
|
"SPLAYINFO\022\014\n\004icon\030\001 \002(\r\022\014\n\004skin\030\002 \002(\r\022\022\n"
|
|
"\nicon_frame\030\003 \002(\r\022\022\n\nchat_frame\030\004 \002(\r\022\022\n"
|
|
"\nicon_theme\030\005 \002(\r\022\022\n\nmarry_flag\030\006 \002(\r\022\026\n"
|
|
"\016transform_flag\030\007 \002(\r\"&\n\nIDTIMEINFO\022\n\n\002i"
|
|
"d\030\001 \002(\r\022\014\n\004time\030\002 \002(\r\"b\n\020APPRECIATIONINF"
|
|
"O\022\020\n\010gallerys\030\001 \003(\r\022\016\n\006musics\030\002 \003(\r\022\026\n\016f"
|
|
"avor_gallerys\030\003 \003(\r\022\024\n\014favor_musics\030\004 \003("
|
|
"\r\"@\n\tBUILDINFO\022\014\n\004time\030\001 \002(\r\022\023\n\013finish_t"
|
|
"ime\030\002 \002(\r\022\020\n\010build_id\030\003 \002(\r\"K\n\014SHIPCOREI"
|
|
"NFO\022\n\n\002id\030\001 \002(\r\022\013\n\003exp\030\002 \002(\r\022\"\n\nmodel_li"
|
|
"st\030\003 \003(\0132\016.SHIPMODELINFO\"(\n\rSHIPMODELINF"
|
|
"O\022\013\n\003pos\030\001 \002(\r\022\n\n\002id\030\002 \002(\r\",\n\014SHIPGROUPP"
|
|
"OS\022\017\n\007ship_id\030\001 \002(\r\022\013\n\003pos\030\002 \002(\r\"O\n\tFLEE"
|
|
"TINFO\022\n\n\002id\030\001 \002(\r\022\021\n\tship_list\030\002 \003(\r\022#\n\n"
|
|
"commanders\030\003 \003(\0132\017.COMMANDERSINFO\"Z\n\016COL"
|
|
"LECTIONINFO\022\n\n\002id\030\001 \002(\r\022\023\n\013finish_time\030\002"
|
|
" \002(\r\022\021\n\tover_time\030\003 \002(\r\022\024\n\014ship_id_list\030"
|
|
"\004 \003(\r\"R\n\010TASKINFO\022\n\n\002id\030\001 \002(\r\022\020\n\010progres"
|
|
"s\030\002 \002(\r\022\023\n\013accept_time\030\003 \002(\r\022\023\n\013submit_t"
|
|
"ime\030\004 \002(\r\"I\n\017REFUND_SHOPINFO\022\017\n\007shop_id\030"
|
|
"\001 \002(\r\022\020\n\010buy_time\030\002 \002(\r\022\023\n\013refund_time\030\003"
|
|
" \002(\r\"$\n\tITEM_INFO\022\n\n\002id\030\001 \002(\r\022\013\n\003num\030\002 \002"
|
|
"(\r\"\225\001\n\014SPWEAPONINFO\022\n\n\002id\030\001 \002(\r\022\023\n\013templ"
|
|
"ate_id\030\002 \002(\r\022\016\n\006attr_1\030\003 \002(\r\022\016\n\006attr_2\030\004"
|
|
" \002(\r\022\023\n\013attr_temp_1\030\005 \002(\r\022\023\n\013attr_temp_2"
|
|
"\030\006 \002(\r\022\016\n\006effect\030\007 \002(\r\022\n\n\002pt\030\010 \002(\r"
|
|
};
|
|
static ::absl::once_flag descriptor_table_common_2eproto_once;
|
|
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_common_2eproto = {
|
|
false,
|
|
false,
|
|
2674,
|
|
descriptor_table_protodef_common_2eproto,
|
|
"common.proto",
|
|
&descriptor_table_common_2eproto_once,
|
|
nullptr,
|
|
0,
|
|
27,
|
|
schemas,
|
|
file_default_instances,
|
|
TableStruct_common_2eproto::offsets,
|
|
file_level_enum_descriptors_common_2eproto,
|
|
file_level_service_descriptors_common_2eproto,
|
|
};
|
|
// ===================================================================
|
|
|
|
class SHIPINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x000bbffa) ^ 0x000bbffa) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPINFO::SHIPINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::SHIPINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
equip_info_list_{visibility, arena, from.equip_info_list_},
|
|
transform_list_{visibility, arena, from.transform_list_},
|
|
skill_id_list_{visibility, arena, from.skill_id_list_},
|
|
strength_list_{visibility, arena, from.strength_list_},
|
|
meta_repair_list_{visibility, arena, from.meta_repair_list_},
|
|
core_list_{visibility, arena, from.core_list_},
|
|
name_(arena, from.name_) {}
|
|
|
|
SHIPINFO::SHIPINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const SHIPINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
SHIPINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.state_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::SHIPSTATE>(
|
|
arena, *from._impl_.state_)
|
|
: nullptr;
|
|
_impl_.spweapon_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::SPWEAPONINFO>(
|
|
arena, *from._impl_.spweapon_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
reinterpret_cast<const char *>(&from._impl_) +
|
|
offsetof(Impl_, id_),
|
|
offsetof(Impl_, activity_npc_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::activity_npc_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:SHIPINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
equip_info_list_{visibility, arena},
|
|
transform_list_{visibility, arena},
|
|
skill_id_list_{visibility, arena},
|
|
strength_list_{visibility, arena},
|
|
meta_repair_list_{visibility, arena},
|
|
core_list_{visibility, arena},
|
|
name_(arena) {}
|
|
|
|
inline void SHIPINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, state_),
|
|
0,
|
|
offsetof(Impl_, activity_npc_) -
|
|
offsetof(Impl_, state_) +
|
|
sizeof(Impl_::activity_npc_));
|
|
}
|
|
SHIPINFO::~SHIPINFO() {
|
|
// @@protoc_insertion_point(destructor:SHIPINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.name_.Destroy();
|
|
delete _impl_.state_;
|
|
delete _impl_.spweapon_;
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPINFO::MergeImpl,
|
|
&SHIPINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<5, 26, 7, 45, 2> SHIPINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
26, 248, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4227858432, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
26, // num_field_entries
|
|
7, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
&_SHIPINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.id_), 3>(),
|
|
{8, 3, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.id_)}},
|
|
// required uint32 template_id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.template_id_), 4>(),
|
|
{16, 4, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.template_id_)}},
|
|
// required uint32 level = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.level_), 5>(),
|
|
{24, 5, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.level_)}},
|
|
// required uint32 exp = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.exp_), 6>(),
|
|
{32, 6, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.exp_)}},
|
|
// repeated .EQUIPSKIN_INFO equip_info_list = 5;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{42, 63, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.equip_info_list_)}},
|
|
// required uint32 energy = 6;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.energy_), 7>(),
|
|
{48, 7, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.energy_)}},
|
|
// required .SHIPSTATE state = 7;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{58, 1, 1, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.state_)}},
|
|
// required uint32 is_locked = 8;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.is_locked_), 8>(),
|
|
{64, 8, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.is_locked_)}},
|
|
// repeated .TRANSFORM_INFO transform_list = 9;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{74, 63, 2, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.transform_list_)}},
|
|
// repeated .SHIPSKILL skill_id_list = 10;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{82, 63, 3, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.skill_id_list_)}},
|
|
// required uint32 intimacy = 11;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.intimacy_), 9>(),
|
|
{88, 9, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.intimacy_)}},
|
|
// required uint32 proficiency = 12;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.proficiency_), 10>(),
|
|
{96, 10, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.proficiency_)}},
|
|
// repeated .STRENGTH_INFO strength_list = 13;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{106, 63, 4, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.strength_list_)}},
|
|
// required uint32 create_time = 14;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.create_time_), 11>(),
|
|
{112, 11, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.create_time_)}},
|
|
// required uint32 skin_id = 15;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPINFO, _impl_.skin_id_), 12>(),
|
|
{120, 12, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.skin_id_)}},
|
|
// required uint32 propose = 16;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{384, 13, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.propose_)}},
|
|
// optional string name = 17;
|
|
{::_pbi::TcParser::FastSS2,
|
|
{394, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.name_)}},
|
|
// optional uint32 change_name_timestamp = 18;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{400, 14, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.change_name_timestamp_)}},
|
|
// required uint32 commanderid = 19;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{408, 15, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.commanderid_)}},
|
|
// required uint32 max_level = 20;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{416, 16, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.max_level_)}},
|
|
// required uint32 blue_print_flag = 21;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{424, 17, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.blue_print_flag_)}},
|
|
// optional uint32 common_flag = 22;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{432, 18, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.common_flag_)}},
|
|
// required uint32 activity_npc = 23;
|
|
{::_pbi::TcParser::FastV32S2,
|
|
{440, 19, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.activity_npc_)}},
|
|
// repeated uint32 meta_repair_list = 24;
|
|
{::_pbi::TcParser::FastV32R2,
|
|
{448, 63, 0, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.meta_repair_list_)}},
|
|
// repeated .SHIPCOREINFO core_list = 25;
|
|
{::_pbi::TcParser::FastMtR2,
|
|
{458, 63, 5, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.core_list_)}},
|
|
// optional .SPWEAPONINFO spweapon = 26;
|
|
{::_pbi::TcParser::FastMtS2,
|
|
{466, 2, 6, PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.spweapon_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.id_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 template_id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.template_id_), _Internal::kHasBitsOffset + 4, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 level = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.level_), _Internal::kHasBitsOffset + 5, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.exp_), _Internal::kHasBitsOffset + 6, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .EQUIPSKIN_INFO equip_info_list = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.equip_info_list_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// required uint32 energy = 6;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.energy_), _Internal::kHasBitsOffset + 7, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required .SHIPSTATE state = 7;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.state_), _Internal::kHasBitsOffset + 1, 1,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// required uint32 is_locked = 8;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.is_locked_), _Internal::kHasBitsOffset + 8, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .TRANSFORM_INFO transform_list = 9;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.transform_list_), -1, 2,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .SHIPSKILL skill_id_list = 10;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.skill_id_list_), -1, 3,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// required uint32 intimacy = 11;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.intimacy_), _Internal::kHasBitsOffset + 9, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 proficiency = 12;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.proficiency_), _Internal::kHasBitsOffset + 10, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .STRENGTH_INFO strength_list = 13;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.strength_list_), -1, 4,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// required uint32 create_time = 14;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.create_time_), _Internal::kHasBitsOffset + 11, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 skin_id = 15;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.skin_id_), _Internal::kHasBitsOffset + 12, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 propose = 16;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.propose_), _Internal::kHasBitsOffset + 13, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional string name = 17;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
|
|
// optional uint32 change_name_timestamp = 18;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.change_name_timestamp_), _Internal::kHasBitsOffset + 14, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 commanderid = 19;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.commanderid_), _Internal::kHasBitsOffset + 15, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 max_level = 20;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.max_level_), _Internal::kHasBitsOffset + 16, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 blue_print_flag = 21;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.blue_print_flag_), _Internal::kHasBitsOffset + 17, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 common_flag = 22;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.common_flag_), _Internal::kHasBitsOffset + 18, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 activity_npc = 23;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.activity_npc_), _Internal::kHasBitsOffset + 19, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated uint32 meta_repair_list = 24;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.meta_repair_list_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated .SHIPCOREINFO core_list = 25;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.core_list_), -1, 5,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// optional .SPWEAPONINFO spweapon = 26;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.spweapon_), _Internal::kHasBitsOffset + 2, 6,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}}, {{
|
|
{::_pbi::TcParser::GetTable<::EQUIPSKIN_INFO>()},
|
|
{::_pbi::TcParser::GetTable<::SHIPSTATE>()},
|
|
{::_pbi::TcParser::GetTable<::TRANSFORM_INFO>()},
|
|
{::_pbi::TcParser::GetTable<::SHIPSKILL>()},
|
|
{::_pbi::TcParser::GetTable<::STRENGTH_INFO>()},
|
|
{::_pbi::TcParser::GetTable<::SHIPCOREINFO>()},
|
|
{::_pbi::TcParser::GetTable<::SPWEAPONINFO>()},
|
|
}}, {{
|
|
"\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
"SHIPINFO"
|
|
"name"
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPINFO)
|
|
::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_.equip_info_list_.Clear();
|
|
_impl_.transform_list_.Clear();
|
|
_impl_.skill_id_list_.Clear();
|
|
_impl_.strength_list_.Clear();
|
|
_impl_.meta_repair_list_.Clear();
|
|
_impl_.core_list_.Clear();
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_impl_.name_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
ABSL_DCHECK(_impl_.state_ != nullptr);
|
|
_impl_.state_->Clear();
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
ABSL_DCHECK(_impl_.spweapon_ != nullptr);
|
|
_impl_.spweapon_->Clear();
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x000000f8u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.energy_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.energy_));
|
|
}
|
|
if (cached_has_bits & 0x0000ff00u) {
|
|
::memset(&_impl_.is_locked_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.commanderid_) -
|
|
reinterpret_cast<char*>(&_impl_.is_locked_)) + sizeof(_impl_.commanderid_));
|
|
}
|
|
if (cached_has_bits & 0x000f0000u) {
|
|
::memset(&_impl_.max_level_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.activity_npc_) -
|
|
reinterpret_cast<char*>(&_impl_.max_level_)) + sizeof(_impl_.activity_npc_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_template_id(), target);
|
|
}
|
|
|
|
// required uint32 level = 3;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_level(), target);
|
|
}
|
|
|
|
// required uint32 exp = 4;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_exp(), target);
|
|
}
|
|
|
|
// repeated .EQUIPSKIN_INFO equip_info_list = 5;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_equip_info_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_equip_info_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// required uint32 energy = 6;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this->_internal_energy(), target);
|
|
}
|
|
|
|
// required .SHIPSTATE state = 7;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
7, *_impl_.state_, _impl_.state_->GetCachedSize(), target, stream);
|
|
}
|
|
|
|
// required uint32 is_locked = 8;
|
|
if (cached_has_bits & 0x00000100u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
8, this->_internal_is_locked(), target);
|
|
}
|
|
|
|
// repeated .TRANSFORM_INFO transform_list = 9;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_transform_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_transform_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
9, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// repeated .SHIPSKILL skill_id_list = 10;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_skill_id_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_skill_id_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
10, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// required uint32 intimacy = 11;
|
|
if (cached_has_bits & 0x00000200u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
11, this->_internal_intimacy(), target);
|
|
}
|
|
|
|
// required uint32 proficiency = 12;
|
|
if (cached_has_bits & 0x00000400u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
12, this->_internal_proficiency(), target);
|
|
}
|
|
|
|
// repeated .STRENGTH_INFO strength_list = 13;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_strength_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_strength_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
13, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// required uint32 create_time = 14;
|
|
if (cached_has_bits & 0x00000800u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
14, this->_internal_create_time(), target);
|
|
}
|
|
|
|
// required uint32 skin_id = 15;
|
|
if (cached_has_bits & 0x00001000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
15, this->_internal_skin_id(), target);
|
|
}
|
|
|
|
// required uint32 propose = 16;
|
|
if (cached_has_bits & 0x00002000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
16, this->_internal_propose(), target);
|
|
}
|
|
|
|
// optional string name = 17;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
const std::string& _s = this->_internal_name();
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"SHIPINFO.name");
|
|
target = stream->WriteStringMaybeAliased(17, _s, target);
|
|
}
|
|
|
|
// optional uint32 change_name_timestamp = 18;
|
|
if (cached_has_bits & 0x00004000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
18, this->_internal_change_name_timestamp(), target);
|
|
}
|
|
|
|
// required uint32 commanderid = 19;
|
|
if (cached_has_bits & 0x00008000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
19, this->_internal_commanderid(), target);
|
|
}
|
|
|
|
// required uint32 max_level = 20;
|
|
if (cached_has_bits & 0x00010000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
20, this->_internal_max_level(), target);
|
|
}
|
|
|
|
// required uint32 blue_print_flag = 21;
|
|
if (cached_has_bits & 0x00020000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
21, this->_internal_blue_print_flag(), target);
|
|
}
|
|
|
|
// optional uint32 common_flag = 22;
|
|
if (cached_has_bits & 0x00040000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
22, this->_internal_common_flag(), target);
|
|
}
|
|
|
|
// required uint32 activity_npc = 23;
|
|
if (cached_has_bits & 0x00080000u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
23, this->_internal_activity_npc(), target);
|
|
}
|
|
|
|
// repeated uint32 meta_repair_list = 24;
|
|
for (int i = 0, n = this->_internal_meta_repair_list_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
24, this->_internal_meta_repair_list().Get(i), target);
|
|
}
|
|
|
|
// repeated .SHIPCOREINFO core_list = 25;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_core_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_core_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
25, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// optional .SPWEAPONINFO spweapon = 26;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
26, *_impl_.spweapon_, _impl_.spweapon_->GetCachedSize(), target, stream);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated .EQUIPSKIN_INFO equip_info_list = 5;
|
|
total_size += 1UL * this->_internal_equip_info_list_size();
|
|
for (const auto& msg : this->_internal_equip_info_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// repeated .TRANSFORM_INFO transform_list = 9;
|
|
total_size += 1UL * this->_internal_transform_list_size();
|
|
for (const auto& msg : this->_internal_transform_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// repeated .SHIPSKILL skill_id_list = 10;
|
|
total_size += 1UL * this->_internal_skill_id_list_size();
|
|
for (const auto& msg : this->_internal_skill_id_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// repeated .STRENGTH_INFO strength_list = 13;
|
|
total_size += 1UL * this->_internal_strength_list_size();
|
|
for (const auto& msg : this->_internal_strength_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// repeated uint32 meta_repair_list = 24;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_meta_repair_list())
|
|
;
|
|
std::size_t tag_size = std::size_t{2} *
|
|
::_pbi::FromIntSize(this->_internal_meta_repair_list_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated .SHIPCOREINFO core_list = 25;
|
|
total_size += 2UL * this->_internal_core_list_size();
|
|
for (const auto& msg : this->_internal_core_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// optional string name = 17;
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->_internal_name());
|
|
}
|
|
|
|
// required .SHIPSTATE state = 7;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size +=
|
|
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.state_);
|
|
}
|
|
|
|
// optional .SPWEAPONINFO spweapon = 26;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size +=
|
|
2 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.spweapon_);
|
|
}
|
|
|
|
if (cached_has_bits & 0x000000f8u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_template_id());
|
|
}
|
|
|
|
// required uint32 level = 3;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_level());
|
|
}
|
|
|
|
// required uint32 exp = 4;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
// required uint32 energy = 6;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_energy());
|
|
}
|
|
|
|
}
|
|
if (cached_has_bits & 0x00003f00u) {
|
|
// required uint32 is_locked = 8;
|
|
if (cached_has_bits & 0x00000100u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_is_locked());
|
|
}
|
|
|
|
// required uint32 intimacy = 11;
|
|
if (cached_has_bits & 0x00000200u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_intimacy());
|
|
}
|
|
|
|
// required uint32 proficiency = 12;
|
|
if (cached_has_bits & 0x00000400u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_proficiency());
|
|
}
|
|
|
|
// required uint32 create_time = 14;
|
|
if (cached_has_bits & 0x00000800u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_create_time());
|
|
}
|
|
|
|
// required uint32 skin_id = 15;
|
|
if (cached_has_bits & 0x00001000u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skin_id());
|
|
}
|
|
|
|
// required uint32 propose = 16;
|
|
if (cached_has_bits & 0x00002000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_propose());
|
|
}
|
|
|
|
}
|
|
// optional uint32 change_name_timestamp = 18;
|
|
if (cached_has_bits & 0x00004000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_change_name_timestamp());
|
|
}
|
|
|
|
// required uint32 commanderid = 19;
|
|
if (cached_has_bits & 0x00008000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_commanderid());
|
|
}
|
|
|
|
if (cached_has_bits & 0x00030000u) {
|
|
// required uint32 max_level = 20;
|
|
if (cached_has_bits & 0x00010000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_max_level());
|
|
}
|
|
|
|
// required uint32 blue_print_flag = 21;
|
|
if (cached_has_bits & 0x00020000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_blue_print_flag());
|
|
}
|
|
|
|
}
|
|
// optional uint32 common_flag = 22;
|
|
if (cached_has_bits & 0x00040000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_common_flag());
|
|
}
|
|
|
|
// required uint32 activity_npc = 23;
|
|
if (cached_has_bits & 0x00080000u) {
|
|
total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_activity_npc());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPINFO*>(&to_msg);
|
|
auto& from = static_cast<const SHIPINFO&>(from_msg);
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_equip_info_list()->MergeFrom(
|
|
from._internal_equip_info_list());
|
|
_this->_internal_mutable_transform_list()->MergeFrom(
|
|
from._internal_transform_list());
|
|
_this->_internal_mutable_skill_id_list()->MergeFrom(
|
|
from._internal_skill_id_list());
|
|
_this->_internal_mutable_strength_list()->MergeFrom(
|
|
from._internal_strength_list());
|
|
_this->_internal_mutable_meta_repair_list()->MergeFrom(from._internal_meta_repair_list());
|
|
_this->_internal_mutable_core_list()->MergeFrom(
|
|
from._internal_core_list());
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x000000ffu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_internal_set_name(from._internal_name());
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
ABSL_DCHECK(from._impl_.state_ != nullptr);
|
|
if (_this->_impl_.state_ == nullptr) {
|
|
_this->_impl_.state_ =
|
|
::google::protobuf::Message::CopyConstruct<::SHIPSTATE>(arena, *from._impl_.state_);
|
|
} else {
|
|
_this->_impl_.state_->MergeFrom(*from._impl_.state_);
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
ABSL_DCHECK(from._impl_.spweapon_ != nullptr);
|
|
if (_this->_impl_.spweapon_ == nullptr) {
|
|
_this->_impl_.spweapon_ =
|
|
::google::protobuf::Message::CopyConstruct<::SPWEAPONINFO>(arena, *from._impl_.spweapon_);
|
|
} else {
|
|
_this->_impl_.spweapon_->MergeFrom(*from._impl_.spweapon_);
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
_this->_impl_.template_id_ = from._impl_.template_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000020u) {
|
|
_this->_impl_.level_ = from._impl_.level_;
|
|
}
|
|
if (cached_has_bits & 0x00000040u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
if (cached_has_bits & 0x00000080u) {
|
|
_this->_impl_.energy_ = from._impl_.energy_;
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x0000ff00u) {
|
|
if (cached_has_bits & 0x00000100u) {
|
|
_this->_impl_.is_locked_ = from._impl_.is_locked_;
|
|
}
|
|
if (cached_has_bits & 0x00000200u) {
|
|
_this->_impl_.intimacy_ = from._impl_.intimacy_;
|
|
}
|
|
if (cached_has_bits & 0x00000400u) {
|
|
_this->_impl_.proficiency_ = from._impl_.proficiency_;
|
|
}
|
|
if (cached_has_bits & 0x00000800u) {
|
|
_this->_impl_.create_time_ = from._impl_.create_time_;
|
|
}
|
|
if (cached_has_bits & 0x00001000u) {
|
|
_this->_impl_.skin_id_ = from._impl_.skin_id_;
|
|
}
|
|
if (cached_has_bits & 0x00002000u) {
|
|
_this->_impl_.propose_ = from._impl_.propose_;
|
|
}
|
|
if (cached_has_bits & 0x00004000u) {
|
|
_this->_impl_.change_name_timestamp_ = from._impl_.change_name_timestamp_;
|
|
}
|
|
if (cached_has_bits & 0x00008000u) {
|
|
_this->_impl_.commanderid_ = from._impl_.commanderid_;
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x000f0000u) {
|
|
if (cached_has_bits & 0x00010000u) {
|
|
_this->_impl_.max_level_ = from._impl_.max_level_;
|
|
}
|
|
if (cached_has_bits & 0x00020000u) {
|
|
_this->_impl_.blue_print_flag_ = from._impl_.blue_print_flag_;
|
|
}
|
|
if (cached_has_bits & 0x00040000u) {
|
|
_this->_impl_.common_flag_ = from._impl_.common_flag_;
|
|
}
|
|
if (cached_has_bits & 0x00080000u) {
|
|
_this->_impl_.activity_npc_ = from._impl_.activity_npc_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPINFO::CopyFrom(const SHIPINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_equip_info_list()))
|
|
return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_transform_list()))
|
|
return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_skill_id_list()))
|
|
return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_strength_list()))
|
|
return false;
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_core_list()))
|
|
return false;
|
|
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
|
|
if (!this_._impl_.state_->IsInitialized()) return false;
|
|
}
|
|
if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
|
|
if (!this_._impl_.spweapon_->IsInitialized()) return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SHIPINFO::InternalSwap(SHIPINFO* PROTOBUF_RESTRICT 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]);
|
|
_impl_.equip_info_list_.InternalSwap(&other->_impl_.equip_info_list_);
|
|
_impl_.transform_list_.InternalSwap(&other->_impl_.transform_list_);
|
|
_impl_.skill_id_list_.InternalSwap(&other->_impl_.skill_id_list_);
|
|
_impl_.strength_list_.InternalSwap(&other->_impl_.strength_list_);
|
|
_impl_.meta_repair_list_.InternalSwap(&other->_impl_.meta_repair_list_);
|
|
_impl_.core_list_.InternalSwap(&other->_impl_.core_list_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.activity_npc_)
|
|
+ sizeof(SHIPINFO::_impl_.activity_npc_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPINFO, _impl_.state_)>(
|
|
reinterpret_cast<char*>(&_impl_.state_),
|
|
reinterpret_cast<char*>(&other->_impl_.state_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SHIPSTATE::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPSTATE>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPSTATE::SHIPSTATE(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPSTATE)
|
|
}
|
|
SHIPSTATE::SHIPSTATE(
|
|
::google::protobuf::Arena* arena, const SHIPSTATE& from)
|
|
: SHIPSTATE(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPSTATE::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SHIPSTATE::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, state_),
|
|
0,
|
|
offsetof(Impl_, state_info_4_) -
|
|
offsetof(Impl_, state_) +
|
|
sizeof(Impl_::state_info_4_));
|
|
}
|
|
SHIPSTATE::~SHIPSTATE() {
|
|
// @@protoc_insertion_point(destructor:SHIPSTATE)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPSTATE::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPSTATE::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPSTATE::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPSTATE::MergeImpl,
|
|
&SHIPSTATE::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 0, 2> SHIPSTATE::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
5, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967264, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
5, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SHIPSTATE_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPSTATE>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 state = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSTATE, _impl_.state_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_)}},
|
|
// optional uint32 state_info_1 = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSTATE, _impl_.state_info_1_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_1_)}},
|
|
// optional uint32 state_info_2 = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSTATE, _impl_.state_info_2_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_2_)}},
|
|
// optional uint32 state_info_3 = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSTATE, _impl_.state_info_3_), 3>(),
|
|
{32, 3, 0, PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_3_)}},
|
|
// optional uint32 state_info_4 = 5;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSTATE, _impl_.state_info_4_), 4>(),
|
|
{40, 4, 0, PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_4_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 state = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 state_info_1 = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_1_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 state_info_2 = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_2_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 state_info_3 = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_3_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 state_info_4 = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_info_4_), _Internal::kHasBitsOffset + 4, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPSTATE::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPSTATE)
|
|
::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 (cached_has_bits & 0x0000001fu) {
|
|
::memset(&_impl_.state_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.state_info_4_) -
|
|
reinterpret_cast<char*>(&_impl_.state_)) + sizeof(_impl_.state_info_4_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPSTATE::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPSTATE)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 state = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_state(), target);
|
|
}
|
|
|
|
// optional uint32 state_info_1 = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_state_info_1(), target);
|
|
}
|
|
|
|
// optional uint32 state_info_2 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_state_info_2(), target);
|
|
}
|
|
|
|
// optional uint32 state_info_3 = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_state_info_3(), target);
|
|
}
|
|
|
|
// optional uint32 state_info_4 = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this->_internal_state_info_4(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPSTATE)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPSTATE::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPSTATE)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// required uint32 state = 1;
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_state());
|
|
}
|
|
|
|
if (cached_has_bits & 0x0000001eu) {
|
|
// optional uint32 state_info_1 = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_state_info_1());
|
|
}
|
|
|
|
// optional uint32 state_info_2 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_state_info_2());
|
|
}
|
|
|
|
// optional uint32 state_info_3 = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_state_info_3());
|
|
}
|
|
|
|
// optional uint32 state_info_4 = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_state_info_4());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPSTATE::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPSTATE*>(&to_msg);
|
|
auto& from = static_cast<const SHIPSTATE&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPSTATE)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000001fu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.state_ = from._impl_.state_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.state_info_1_ = from._impl_.state_info_1_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.state_info_2_ = from._impl_.state_info_2_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.state_info_3_ = from._impl_.state_info_3_;
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
_this->_impl_.state_info_4_ = from._impl_.state_info_4_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPSTATE::CopyFrom(const SHIPSTATE& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPSTATE)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPSTATE::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPSTATE&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SHIPSTATE::InternalSwap(SHIPSTATE* PROTOBUF_RESTRICT 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(SHIPSTATE, _impl_.state_info_4_)
|
|
+ sizeof(SHIPSTATE::_impl_.state_info_4_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPSTATE, _impl_.state_)>(
|
|
reinterpret_cast<char*>(&_impl_.state_),
|
|
reinterpret_cast<char*>(&other->_impl_.state_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPSTATE::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class ATTRINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<ATTRINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
ATTRINFO::ATTRINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:ATTRINFO)
|
|
}
|
|
ATTRINFO::ATTRINFO(
|
|
::google::protobuf::Arena* arena, const ATTRINFO& from)
|
|
: ATTRINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE ATTRINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void ATTRINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, level_),
|
|
0,
|
|
offsetof(Impl_, exp_) -
|
|
offsetof(Impl_, level_) +
|
|
sizeof(Impl_::exp_));
|
|
}
|
|
ATTRINFO::~ATTRINFO() {
|
|
// @@protoc_insertion_point(destructor:ATTRINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void ATTRINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
ATTRINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
ATTRINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&ATTRINFO::MergeImpl,
|
|
&ATTRINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ATTRINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(ATTRINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_ATTRINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::ATTRINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 exp = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ATTRINFO, _impl_.exp_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_.exp_)}},
|
|
// required uint32 level = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ATTRINFO, _impl_.level_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_.level_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 level = 1;
|
|
{PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_.level_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 2;
|
|
{PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_.exp_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void ATTRINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:ATTRINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.level_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.exp_) -
|
|
reinterpret_cast<char*>(&_impl_.level_)) + sizeof(_impl_.exp_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* ATTRINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:ATTRINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 level = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_level(), target);
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_exp(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:ATTRINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t ATTRINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:ATTRINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 level = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_level());
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void ATTRINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<ATTRINFO*>(&to_msg);
|
|
auto& from = static_cast<const ATTRINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:ATTRINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.level_ = from._impl_.level_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void ATTRINFO::CopyFrom(const ATTRINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:ATTRINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool ATTRINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const ATTRINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void ATTRINFO::InternalSwap(ATTRINFO* PROTOBUF_RESTRICT 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(ATTRINFO, _impl_.exp_)
|
|
+ sizeof(ATTRINFO::_impl_.exp_)
|
|
- PROTOBUF_FIELD_OFFSET(ATTRINFO, _impl_.level_)>(
|
|
reinterpret_cast<char*>(&_impl_.level_),
|
|
reinterpret_cast<char*>(&other->_impl_.level_));
|
|
}
|
|
|
|
::google::protobuf::Metadata ATTRINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class EQUIPSKIN_INFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<EQUIPSKIN_INFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
EQUIPSKIN_INFO::EQUIPSKIN_INFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:EQUIPSKIN_INFO)
|
|
}
|
|
EQUIPSKIN_INFO::EQUIPSKIN_INFO(
|
|
::google::protobuf::Arena* arena, const EQUIPSKIN_INFO& from)
|
|
: EQUIPSKIN_INFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE EQUIPSKIN_INFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void EQUIPSKIN_INFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, skinid_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::skinid_));
|
|
}
|
|
EQUIPSKIN_INFO::~EQUIPSKIN_INFO() {
|
|
// @@protoc_insertion_point(destructor:EQUIPSKIN_INFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void EQUIPSKIN_INFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
EQUIPSKIN_INFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
EQUIPSKIN_INFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&EQUIPSKIN_INFO::MergeImpl,
|
|
&EQUIPSKIN_INFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> EQUIPSKIN_INFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_EQUIPSKIN_INFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::EQUIPSKIN_INFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 skinId = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EQUIPSKIN_INFO, _impl_.skinid_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_.skinid_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EQUIPSKIN_INFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 skinId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_.skinid_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void EQUIPSKIN_INFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:EQUIPSKIN_INFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.skinid_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.skinid_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* EQUIPSKIN_INFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:EQUIPSKIN_INFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 skinId = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_skinid(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:EQUIPSKIN_INFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t EQUIPSKIN_INFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:EQUIPSKIN_INFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 skinId = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skinid());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void EQUIPSKIN_INFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<EQUIPSKIN_INFO*>(&to_msg);
|
|
auto& from = static_cast<const EQUIPSKIN_INFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:EQUIPSKIN_INFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.skinid_ = from._impl_.skinid_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void EQUIPSKIN_INFO::CopyFrom(const EQUIPSKIN_INFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:EQUIPSKIN_INFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool EQUIPSKIN_INFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const EQUIPSKIN_INFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void EQUIPSKIN_INFO::InternalSwap(EQUIPSKIN_INFO* PROTOBUF_RESTRICT 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(EQUIPSKIN_INFO, _impl_.skinid_)
|
|
+ sizeof(EQUIPSKIN_INFO::_impl_.skinid_)
|
|
- PROTOBUF_FIELD_OFFSET(EQUIPSKIN_INFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata EQUIPSKIN_INFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class KVDATA::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<KVDATA>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(KVDATA, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
KVDATA::KVDATA(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:KVDATA)
|
|
}
|
|
KVDATA::KVDATA(
|
|
::google::protobuf::Arena* arena, const KVDATA& from)
|
|
: KVDATA(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE KVDATA::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void KVDATA::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, key_),
|
|
0,
|
|
offsetof(Impl_, value_) -
|
|
offsetof(Impl_, key_) +
|
|
sizeof(Impl_::value_));
|
|
}
|
|
KVDATA::~KVDATA() {
|
|
// @@protoc_insertion_point(destructor:KVDATA)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void KVDATA::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
KVDATA::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
KVDATA::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(KVDATA, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&KVDATA::MergeImpl,
|
|
&KVDATA::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> KVDATA::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(KVDATA, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_KVDATA_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::KVDATA>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 value = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KVDATA, _impl_.value_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(KVDATA, _impl_.value_)}},
|
|
// required uint32 key = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KVDATA, _impl_.key_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(KVDATA, _impl_.key_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 key = 1;
|
|
{PROTOBUF_FIELD_OFFSET(KVDATA, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 value = 2;
|
|
{PROTOBUF_FIELD_OFFSET(KVDATA, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void KVDATA::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:KVDATA)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.key_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.value_) -
|
|
reinterpret_cast<char*>(&_impl_.key_)) + sizeof(_impl_.value_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* KVDATA::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:KVDATA)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 key = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_key(), target);
|
|
}
|
|
|
|
// required uint32 value = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:KVDATA)
|
|
return target;
|
|
}
|
|
|
|
::size_t KVDATA::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:KVDATA)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 key = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_key());
|
|
}
|
|
|
|
// required uint32 value = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_value());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void KVDATA::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<KVDATA*>(&to_msg);
|
|
auto& from = static_cast<const KVDATA&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:KVDATA)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.key_ = from._impl_.key_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.value_ = from._impl_.value_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void KVDATA::CopyFrom(const KVDATA& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:KVDATA)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool KVDATA::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const KVDATA&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void KVDATA::InternalSwap(KVDATA* PROTOBUF_RESTRICT 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(KVDATA, _impl_.value_)
|
|
+ sizeof(KVDATA::_impl_.value_)
|
|
- PROTOBUF_FIELD_OFFSET(KVDATA, _impl_.key_)>(
|
|
reinterpret_cast<char*>(&_impl_.key_),
|
|
reinterpret_cast<char*>(&other->_impl_.key_));
|
|
}
|
|
|
|
::google::protobuf::Metadata KVDATA::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class KVDATA2::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<KVDATA2>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
KVDATA2::KVDATA2(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:KVDATA2)
|
|
}
|
|
KVDATA2::KVDATA2(
|
|
::google::protobuf::Arena* arena, const KVDATA2& from)
|
|
: KVDATA2(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE KVDATA2::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void KVDATA2::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, key_),
|
|
0,
|
|
offsetof(Impl_, value2_) -
|
|
offsetof(Impl_, key_) +
|
|
sizeof(Impl_::value2_));
|
|
}
|
|
KVDATA2::~KVDATA2() {
|
|
// @@protoc_insertion_point(destructor:KVDATA2)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void KVDATA2::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
KVDATA2::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
KVDATA2::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&KVDATA2::MergeImpl,
|
|
&KVDATA2::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> KVDATA2::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(KVDATA2, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_KVDATA2_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::KVDATA2>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 key = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KVDATA2, _impl_.key_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.key_)}},
|
|
// required uint32 value1 = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KVDATA2, _impl_.value1_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.value1_)}},
|
|
// required uint32 value2 = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KVDATA2, _impl_.value2_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.value2_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 key = 1;
|
|
{PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.key_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 value1 = 2;
|
|
{PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.value1_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 value2 = 3;
|
|
{PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.value2_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void KVDATA2::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:KVDATA2)
|
|
::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 (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.key_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.value2_) -
|
|
reinterpret_cast<char*>(&_impl_.key_)) + sizeof(_impl_.value2_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* KVDATA2::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:KVDATA2)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 key = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_key(), target);
|
|
}
|
|
|
|
// required uint32 value1 = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_value1(), target);
|
|
}
|
|
|
|
// required uint32 value2 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_value2(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:KVDATA2)
|
|
return target;
|
|
}
|
|
|
|
::size_t KVDATA2::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:KVDATA2)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 key = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_key());
|
|
}
|
|
|
|
// required uint32 value1 = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_value1());
|
|
}
|
|
|
|
// required uint32 value2 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_value2());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void KVDATA2::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<KVDATA2*>(&to_msg);
|
|
auto& from = static_cast<const KVDATA2&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:KVDATA2)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.key_ = from._impl_.key_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.value1_ = from._impl_.value1_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.value2_ = from._impl_.value2_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void KVDATA2::CopyFrom(const KVDATA2& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:KVDATA2)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool KVDATA2::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const KVDATA2&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void KVDATA2::InternalSwap(KVDATA2* PROTOBUF_RESTRICT 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(KVDATA2, _impl_.value2_)
|
|
+ sizeof(KVDATA2::_impl_.value2_)
|
|
- PROTOBUF_FIELD_OFFSET(KVDATA2, _impl_.key_)>(
|
|
reinterpret_cast<char*>(&_impl_.key_),
|
|
reinterpret_cast<char*>(&other->_impl_.key_));
|
|
}
|
|
|
|
::google::protobuf::Metadata KVDATA2::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SHIPSKILL::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPSKILL>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPSKILL::SHIPSKILL(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPSKILL)
|
|
}
|
|
SHIPSKILL::SHIPSKILL(
|
|
::google::protobuf::Arena* arena, const SHIPSKILL& from)
|
|
: SHIPSKILL(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPSKILL::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SHIPSKILL::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, skill_id_),
|
|
0,
|
|
offsetof(Impl_, skill_exp_) -
|
|
offsetof(Impl_, skill_id_) +
|
|
sizeof(Impl_::skill_exp_));
|
|
}
|
|
SHIPSKILL::~SHIPSKILL() {
|
|
// @@protoc_insertion_point(destructor:SHIPSKILL)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPSKILL::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPSKILL::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPSKILL::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPSKILL::MergeImpl,
|
|
&SHIPSKILL::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> SHIPSKILL::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPSKILL, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SHIPSKILL_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPSKILL>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 skill_id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSKILL, _impl_.skill_id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_id_)}},
|
|
// required uint32 skill_lv = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSKILL, _impl_.skill_lv_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_lv_)}},
|
|
// required uint32 skill_exp = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPSKILL, _impl_.skill_exp_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_exp_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 skill_id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 skill_lv = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_lv_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 skill_exp = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_exp_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPSKILL::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPSKILL)
|
|
::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 (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.skill_id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.skill_exp_) -
|
|
reinterpret_cast<char*>(&_impl_.skill_id_)) + sizeof(_impl_.skill_exp_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPSKILL::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPSKILL)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 skill_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_skill_id(), target);
|
|
}
|
|
|
|
// required uint32 skill_lv = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_skill_lv(), target);
|
|
}
|
|
|
|
// required uint32 skill_exp = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_skill_exp(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPSKILL)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPSKILL::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPSKILL)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 skill_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skill_id());
|
|
}
|
|
|
|
// required uint32 skill_lv = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skill_lv());
|
|
}
|
|
|
|
// required uint32 skill_exp = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skill_exp());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPSKILL::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPSKILL*>(&to_msg);
|
|
auto& from = static_cast<const SHIPSKILL&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPSKILL)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.skill_id_ = from._impl_.skill_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.skill_lv_ = from._impl_.skill_lv_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.skill_exp_ = from._impl_.skill_exp_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPSKILL::CopyFrom(const SHIPSKILL& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPSKILL)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPSKILL::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPSKILL&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SHIPSKILL::InternalSwap(SHIPSKILL* PROTOBUF_RESTRICT 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(SHIPSKILL, _impl_.skill_exp_)
|
|
+ sizeof(SHIPSKILL::_impl_.skill_exp_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPSKILL, _impl_.skill_id_)>(
|
|
reinterpret_cast<char*>(&_impl_.skill_id_),
|
|
reinterpret_cast<char*>(&other->_impl_.skill_id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPSKILL::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class STRENGTH_INFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<STRENGTH_INFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
STRENGTH_INFO::STRENGTH_INFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:STRENGTH_INFO)
|
|
}
|
|
STRENGTH_INFO::STRENGTH_INFO(
|
|
::google::protobuf::Arena* arena, const STRENGTH_INFO& from)
|
|
: STRENGTH_INFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE STRENGTH_INFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void STRENGTH_INFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, exp_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::exp_));
|
|
}
|
|
STRENGTH_INFO::~STRENGTH_INFO() {
|
|
// @@protoc_insertion_point(destructor:STRENGTH_INFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void STRENGTH_INFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
STRENGTH_INFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
STRENGTH_INFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&STRENGTH_INFO::MergeImpl,
|
|
&STRENGTH_INFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> STRENGTH_INFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_STRENGTH_INFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::STRENGTH_INFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 exp = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(STRENGTH_INFO, _impl_.exp_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_.exp_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(STRENGTH_INFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 2;
|
|
{PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_.exp_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void STRENGTH_INFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:STRENGTH_INFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.exp_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.exp_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* STRENGTH_INFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:STRENGTH_INFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_exp(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:STRENGTH_INFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t STRENGTH_INFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:STRENGTH_INFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void STRENGTH_INFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<STRENGTH_INFO*>(&to_msg);
|
|
auto& from = static_cast<const STRENGTH_INFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:STRENGTH_INFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void STRENGTH_INFO::CopyFrom(const STRENGTH_INFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:STRENGTH_INFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool STRENGTH_INFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const STRENGTH_INFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void STRENGTH_INFO::InternalSwap(STRENGTH_INFO* PROTOBUF_RESTRICT 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(STRENGTH_INFO, _impl_.exp_)
|
|
+ sizeof(STRENGTH_INFO::_impl_.exp_)
|
|
- PROTOBUF_FIELD_OFFSET(STRENGTH_INFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata STRENGTH_INFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class TRANSFORM_INFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<TRANSFORM_INFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
TRANSFORM_INFO::TRANSFORM_INFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:TRANSFORM_INFO)
|
|
}
|
|
TRANSFORM_INFO::TRANSFORM_INFO(
|
|
::google::protobuf::Arena* arena, const TRANSFORM_INFO& from)
|
|
: TRANSFORM_INFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE TRANSFORM_INFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void TRANSFORM_INFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, level_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::level_));
|
|
}
|
|
TRANSFORM_INFO::~TRANSFORM_INFO() {
|
|
// @@protoc_insertion_point(destructor:TRANSFORM_INFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void TRANSFORM_INFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
TRANSFORM_INFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
TRANSFORM_INFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&TRANSFORM_INFO::MergeImpl,
|
|
&TRANSFORM_INFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> TRANSFORM_INFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_TRANSFORM_INFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::TRANSFORM_INFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 level = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TRANSFORM_INFO, _impl_.level_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_.level_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TRANSFORM_INFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 level = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_.level_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void TRANSFORM_INFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:TRANSFORM_INFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.level_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.level_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* TRANSFORM_INFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:TRANSFORM_INFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 level = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_level(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:TRANSFORM_INFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t TRANSFORM_INFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:TRANSFORM_INFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 level = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_level());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void TRANSFORM_INFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<TRANSFORM_INFO*>(&to_msg);
|
|
auto& from = static_cast<const TRANSFORM_INFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:TRANSFORM_INFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.level_ = from._impl_.level_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void TRANSFORM_INFO::CopyFrom(const TRANSFORM_INFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:TRANSFORM_INFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool TRANSFORM_INFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const TRANSFORM_INFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void TRANSFORM_INFO::InternalSwap(TRANSFORM_INFO* PROTOBUF_RESTRICT 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(TRANSFORM_INFO, _impl_.level_)
|
|
+ sizeof(TRANSFORM_INFO::_impl_.level_)
|
|
- PROTOBUF_FIELD_OFFSET(TRANSFORM_INFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata TRANSFORM_INFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class DROPINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<DROPINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
DROPINFO::DROPINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:DROPINFO)
|
|
}
|
|
DROPINFO::DROPINFO(
|
|
::google::protobuf::Arena* arena, const DROPINFO& from)
|
|
: DROPINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE DROPINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void DROPINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, type_),
|
|
0,
|
|
offsetof(Impl_, number_) -
|
|
offsetof(Impl_, type_) +
|
|
sizeof(Impl_::number_));
|
|
}
|
|
DROPINFO::~DROPINFO() {
|
|
// @@protoc_insertion_point(destructor:DROPINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void DROPINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
DROPINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
DROPINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&DROPINFO::MergeImpl,
|
|
&DROPINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> DROPINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(DROPINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_DROPINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::DROPINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 type = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DROPINFO, _impl_.type_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.type_)}},
|
|
// required uint32 id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DROPINFO, _impl_.id_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.id_)}},
|
|
// required uint32 number = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DROPINFO, _impl_.number_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.number_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 type = 1;
|
|
{PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.type_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.id_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 number = 3;
|
|
{PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.number_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void DROPINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:DROPINFO)
|
|
::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 (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.type_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.number_) -
|
|
reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.number_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* DROPINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:DROPINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 type = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_type(), target);
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 number = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_number(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:DROPINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t DROPINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:DROPINFO)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 type = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_type());
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 number = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_number());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void DROPINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<DROPINFO*>(&to_msg);
|
|
auto& from = static_cast<const DROPINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:DROPINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.type_ = from._impl_.type_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.number_ = from._impl_.number_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void DROPINFO::CopyFrom(const DROPINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:DROPINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool DROPINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const DROPINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void DROPINFO::InternalSwap(DROPINFO* PROTOBUF_RESTRICT 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(DROPINFO, _impl_.number_)
|
|
+ sizeof(DROPINFO::_impl_.number_)
|
|
- PROTOBUF_FIELD_OFFSET(DROPINFO, _impl_.type_)>(
|
|
reinterpret_cast<char*>(&_impl_.type_),
|
|
reinterpret_cast<char*>(&other->_impl_.type_));
|
|
}
|
|
|
|
::google::protobuf::Metadata DROPINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class COMMANDERINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<COMMANDERINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x000001ff) ^ 0x000001ff) != 0;
|
|
}
|
|
};
|
|
|
|
COMMANDERINFO::COMMANDERINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:COMMANDERINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE COMMANDERINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::COMMANDERINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ability_{visibility, arena, from.ability_},
|
|
ability_origin_{visibility, arena, from.ability_origin_},
|
|
skill_{visibility, arena, from.skill_},
|
|
name_(arena, from.name_) {}
|
|
|
|
COMMANDERINFO::COMMANDERINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const COMMANDERINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
COMMANDERINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
reinterpret_cast<const char *>(&from._impl_) +
|
|
offsetof(Impl_, id_),
|
|
offsetof(Impl_, home_feed_time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::home_feed_time_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:COMMANDERINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE COMMANDERINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
ability_{visibility, arena},
|
|
ability_origin_{visibility, arena},
|
|
skill_{visibility, arena},
|
|
name_(arena) {}
|
|
|
|
inline void COMMANDERINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, home_feed_time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::home_feed_time_));
|
|
}
|
|
COMMANDERINFO::~COMMANDERINFO() {
|
|
// @@protoc_insertion_point(destructor:COMMANDERINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void COMMANDERINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.name_.Destroy();
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
COMMANDERINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
COMMANDERINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&COMMANDERINFO::MergeImpl,
|
|
&COMMANDERINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<4, 15, 1, 34, 2> COMMANDERINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
15, 120, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294934528, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
15, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
&_COMMANDERINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::COMMANDERINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.id_), 1>(),
|
|
{8, 1, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.id_)}},
|
|
// required uint32 template_id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.template_id_), 2>(),
|
|
{16, 2, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.template_id_)}},
|
|
// required uint32 level = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.level_), 3>(),
|
|
{24, 3, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.level_)}},
|
|
// required uint32 exp = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.exp_), 4>(),
|
|
{32, 4, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.exp_)}},
|
|
// required uint32 is_locked = 5;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.is_locked_), 5>(),
|
|
{40, 5, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.is_locked_)}},
|
|
// repeated uint32 ability = 6;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{48, 63, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_)}},
|
|
// repeated uint32 ability_origin = 7;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{56, 63, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_origin_)}},
|
|
// required uint32 ability_time = 8;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.ability_time_), 6>(),
|
|
{64, 6, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_time_)}},
|
|
// repeated .SKILLINFO skill = 9;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{74, 63, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.skill_)}},
|
|
// required uint32 used_pt = 10;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.used_pt_), 7>(),
|
|
{80, 7, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.used_pt_)}},
|
|
// required string name = 11;
|
|
{::_pbi::TcParser::FastSS1,
|
|
{90, 0, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.name_)}},
|
|
// required uint32 rename_time = 12;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.rename_time_), 8>(),
|
|
{96, 8, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.rename_time_)}},
|
|
// optional uint32 home_clean_time = 13;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.home_clean_time_), 9>(),
|
|
{104, 9, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_clean_time_)}},
|
|
// optional uint32 home_play_time = 14;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.home_play_time_), 10>(),
|
|
{112, 10, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_play_time_)}},
|
|
// optional uint32 home_feed_time = 15;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERINFO, _impl_.home_feed_time_), 11>(),
|
|
{120, 11, 0, PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_feed_time_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.id_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 template_id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.template_id_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 level = 3;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.level_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 4;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.exp_), _Internal::kHasBitsOffset + 4, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 is_locked = 5;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.is_locked_), _Internal::kHasBitsOffset + 5, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated uint32 ability = 6;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated uint32 ability_origin = 7;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_origin_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// required uint32 ability_time = 8;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.ability_time_), _Internal::kHasBitsOffset + 6, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .SKILLINFO skill = 9;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.skill_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// required uint32 used_pt = 10;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.used_pt_), _Internal::kHasBitsOffset + 7, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required string name = 11;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
|
|
// required uint32 rename_time = 12;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.rename_time_), _Internal::kHasBitsOffset + 8, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 home_clean_time = 13;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_clean_time_), _Internal::kHasBitsOffset + 9, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 home_play_time = 14;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_play_time_), _Internal::kHasBitsOffset + 10, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// optional uint32 home_feed_time = 15;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_feed_time_), _Internal::kHasBitsOffset + 11, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}}, {{
|
|
{::_pbi::TcParser::GetTable<::SKILLINFO>()},
|
|
}}, {{
|
|
"\15\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0"
|
|
"COMMANDERINFO"
|
|
"name"
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void COMMANDERINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:COMMANDERINFO)
|
|
::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_.ability_.Clear();
|
|
_impl_.ability_origin_.Clear();
|
|
_impl_.skill_.Clear();
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_impl_.name_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (cached_has_bits & 0x000000feu) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.used_pt_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.used_pt_));
|
|
}
|
|
if (cached_has_bits & 0x00000f00u) {
|
|
::memset(&_impl_.rename_time_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.home_feed_time_) -
|
|
reinterpret_cast<char*>(&_impl_.rename_time_)) + sizeof(_impl_.home_feed_time_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* COMMANDERINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:COMMANDERINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_template_id(), target);
|
|
}
|
|
|
|
// required uint32 level = 3;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_level(), target);
|
|
}
|
|
|
|
// required uint32 exp = 4;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_exp(), target);
|
|
}
|
|
|
|
// required uint32 is_locked = 5;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this->_internal_is_locked(), target);
|
|
}
|
|
|
|
// repeated uint32 ability = 6;
|
|
for (int i = 0, n = this->_internal_ability_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this->_internal_ability().Get(i), target);
|
|
}
|
|
|
|
// repeated uint32 ability_origin = 7;
|
|
for (int i = 0, n = this->_internal_ability_origin_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
7, this->_internal_ability_origin().Get(i), target);
|
|
}
|
|
|
|
// required uint32 ability_time = 8;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
8, this->_internal_ability_time(), target);
|
|
}
|
|
|
|
// repeated .SKILLINFO skill = 9;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_skill_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_skill().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
9, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
// required uint32 used_pt = 10;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
10, this->_internal_used_pt(), target);
|
|
}
|
|
|
|
// required string name = 11;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
const std::string& _s = this->_internal_name();
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"COMMANDERINFO.name");
|
|
target = stream->WriteStringMaybeAliased(11, _s, target);
|
|
}
|
|
|
|
// required uint32 rename_time = 12;
|
|
if (cached_has_bits & 0x00000100u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
12, this->_internal_rename_time(), target);
|
|
}
|
|
|
|
// optional uint32 home_clean_time = 13;
|
|
if (cached_has_bits & 0x00000200u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
13, this->_internal_home_clean_time(), target);
|
|
}
|
|
|
|
// optional uint32 home_play_time = 14;
|
|
if (cached_has_bits & 0x00000400u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
14, this->_internal_home_play_time(), target);
|
|
}
|
|
|
|
// optional uint32 home_feed_time = 15;
|
|
if (cached_has_bits & 0x00000800u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
15, this->_internal_home_feed_time(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:COMMANDERINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t COMMANDERINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:COMMANDERINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated uint32 ability = 6;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_ability())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_ability_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated uint32 ability_origin = 7;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_ability_origin())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_ability_origin_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated .SKILLINFO skill = 9;
|
|
total_size += 1UL * this->_internal_skill_size();
|
|
for (const auto& msg : this->_internal_skill()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x000000ffu) {
|
|
// required string name = 11;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->_internal_name());
|
|
}
|
|
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_template_id());
|
|
}
|
|
|
|
// required uint32 level = 3;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_level());
|
|
}
|
|
|
|
// required uint32 exp = 4;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
// required uint32 is_locked = 5;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_is_locked());
|
|
}
|
|
|
|
// required uint32 ability_time = 8;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_ability_time());
|
|
}
|
|
|
|
// required uint32 used_pt = 10;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_used_pt());
|
|
}
|
|
|
|
}
|
|
// required uint32 rename_time = 12;
|
|
if (cached_has_bits & 0x00000100u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_rename_time());
|
|
}
|
|
|
|
if (cached_has_bits & 0x00000e00u) {
|
|
// optional uint32 home_clean_time = 13;
|
|
if (cached_has_bits & 0x00000200u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_home_clean_time());
|
|
}
|
|
|
|
// optional uint32 home_play_time = 14;
|
|
if (cached_has_bits & 0x00000400u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_home_play_time());
|
|
}
|
|
|
|
// optional uint32 home_feed_time = 15;
|
|
if (cached_has_bits & 0x00000800u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_home_feed_time());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void COMMANDERINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<COMMANDERINFO*>(&to_msg);
|
|
auto& from = static_cast<const COMMANDERINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:COMMANDERINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_ability()->MergeFrom(from._internal_ability());
|
|
_this->_internal_mutable_ability_origin()->MergeFrom(from._internal_ability_origin());
|
|
_this->_internal_mutable_skill()->MergeFrom(
|
|
from._internal_skill());
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x000000ffu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_internal_set_name(from._internal_name());
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.template_id_ = from._impl_.template_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.level_ = from._impl_.level_;
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
if (cached_has_bits & 0x00000020u) {
|
|
_this->_impl_.is_locked_ = from._impl_.is_locked_;
|
|
}
|
|
if (cached_has_bits & 0x00000040u) {
|
|
_this->_impl_.ability_time_ = from._impl_.ability_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000080u) {
|
|
_this->_impl_.used_pt_ = from._impl_.used_pt_;
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000f00u) {
|
|
if (cached_has_bits & 0x00000100u) {
|
|
_this->_impl_.rename_time_ = from._impl_.rename_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000200u) {
|
|
_this->_impl_.home_clean_time_ = from._impl_.home_clean_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000400u) {
|
|
_this->_impl_.home_play_time_ = from._impl_.home_play_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000800u) {
|
|
_this->_impl_.home_feed_time_ = from._impl_.home_feed_time_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void COMMANDERINFO::CopyFrom(const COMMANDERINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:COMMANDERINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool COMMANDERINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const COMMANDERINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_skill()))
|
|
return false;
|
|
return true;
|
|
}
|
|
|
|
void COMMANDERINFO::InternalSwap(COMMANDERINFO* PROTOBUF_RESTRICT 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]);
|
|
_impl_.ability_.InternalSwap(&other->_impl_.ability_);
|
|
_impl_.ability_origin_.InternalSwap(&other->_impl_.ability_origin_);
|
|
_impl_.skill_.InternalSwap(&other->_impl_.skill_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.home_feed_time_)
|
|
+ sizeof(COMMANDERINFO::_impl_.home_feed_time_)
|
|
- PROTOBUF_FIELD_OFFSET(COMMANDERINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata COMMANDERINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SKILLINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SKILLINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
SKILLINFO::SKILLINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SKILLINFO)
|
|
}
|
|
SKILLINFO::SKILLINFO(
|
|
::google::protobuf::Arena* arena, const SKILLINFO& from)
|
|
: SKILLINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SKILLINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SKILLINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, exp_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::exp_));
|
|
}
|
|
SKILLINFO::~SKILLINFO() {
|
|
// @@protoc_insertion_point(destructor:SKILLINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SKILLINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SKILLINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SKILLINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SKILLINFO::MergeImpl,
|
|
&SKILLINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SKILLINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SKILLINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SKILLINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SKILLINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 exp = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SKILLINFO, _impl_.exp_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_.exp_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SKILLINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_.exp_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SKILLINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SKILLINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.exp_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.exp_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SKILLINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SKILLINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_exp(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SKILLINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t SKILLINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SKILLINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SKILLINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SKILLINFO*>(&to_msg);
|
|
auto& from = static_cast<const SKILLINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SKILLINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SKILLINFO::CopyFrom(const SKILLINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SKILLINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SKILLINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SKILLINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SKILLINFO::InternalSwap(SKILLINFO* PROTOBUF_RESTRICT 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(SKILLINFO, _impl_.exp_)
|
|
+ sizeof(SKILLINFO::_impl_.exp_)
|
|
- PROTOBUF_FIELD_OFFSET(SKILLINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SKILLINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class COMMANDERSINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<COMMANDERSINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
COMMANDERSINFO::COMMANDERSINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:COMMANDERSINFO)
|
|
}
|
|
COMMANDERSINFO::COMMANDERSINFO(
|
|
::google::protobuf::Arena* arena, const COMMANDERSINFO& from)
|
|
: COMMANDERSINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE COMMANDERSINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void COMMANDERSINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, pos_),
|
|
0,
|
|
offsetof(Impl_, id_) -
|
|
offsetof(Impl_, pos_) +
|
|
sizeof(Impl_::id_));
|
|
}
|
|
COMMANDERSINFO::~COMMANDERSINFO() {
|
|
// @@protoc_insertion_point(destructor:COMMANDERSINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void COMMANDERSINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
COMMANDERSINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
COMMANDERSINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&COMMANDERSINFO::MergeImpl,
|
|
&COMMANDERSINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> COMMANDERSINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_COMMANDERSINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::COMMANDERSINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERSINFO, _impl_.id_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_.id_)}},
|
|
// required uint32 pos = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COMMANDERSINFO, _impl_.pos_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_.pos_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 pos = 1;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_.pos_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_.id_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void COMMANDERSINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:COMMANDERSINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.pos_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.id_) -
|
|
reinterpret_cast<char*>(&_impl_.pos_)) + sizeof(_impl_.id_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* COMMANDERSINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:COMMANDERSINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 pos = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_pos(), target);
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_id(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:COMMANDERSINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t COMMANDERSINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:COMMANDERSINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 pos = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_pos());
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void COMMANDERSINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<COMMANDERSINFO*>(&to_msg);
|
|
auto& from = static_cast<const COMMANDERSINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:COMMANDERSINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.pos_ = from._impl_.pos_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void COMMANDERSINFO::CopyFrom(const COMMANDERSINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:COMMANDERSINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool COMMANDERSINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const COMMANDERSINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void COMMANDERSINFO::InternalSwap(COMMANDERSINFO* PROTOBUF_RESTRICT 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(COMMANDERSINFO, _impl_.id_)
|
|
+ sizeof(COMMANDERSINFO::_impl_.id_)
|
|
- PROTOBUF_FIELD_OFFSET(COMMANDERSINFO, _impl_.pos_)>(
|
|
reinterpret_cast<char*>(&_impl_.pos_),
|
|
reinterpret_cast<char*>(&other->_impl_.pos_));
|
|
}
|
|
|
|
::google::protobuf::Metadata COMMANDERSINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class USERSIMPLEINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<USERSIMPLEINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
|
|
}
|
|
};
|
|
|
|
USERSIMPLEINFO::USERSIMPLEINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:USERSIMPLEINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE USERSIMPLEINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::USERSIMPLEINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
name_(arena, from.name_) {}
|
|
|
|
USERSIMPLEINFO::USERSIMPLEINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const USERSIMPLEINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
USERSIMPLEINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.display_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::DISPLAYINFO>(
|
|
arena, *from._impl_.display_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
reinterpret_cast<const char *>(&from._impl_) +
|
|
offsetof(Impl_, id_),
|
|
offsetof(Impl_, lv_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::lv_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:USERSIMPLEINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE USERSIMPLEINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
name_(arena) {}
|
|
|
|
inline void USERSIMPLEINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, display_),
|
|
0,
|
|
offsetof(Impl_, lv_) -
|
|
offsetof(Impl_, display_) +
|
|
sizeof(Impl_::lv_));
|
|
}
|
|
USERSIMPLEINFO::~USERSIMPLEINFO() {
|
|
// @@protoc_insertion_point(destructor:USERSIMPLEINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void USERSIMPLEINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.name_.Destroy();
|
|
delete _impl_.display_;
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
USERSIMPLEINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
USERSIMPLEINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&USERSIMPLEINFO::MergeImpl,
|
|
&USERSIMPLEINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 1, 27, 2> USERSIMPLEINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
&_USERSIMPLEINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::USERSIMPLEINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required .DISPLAYINFO display = 4;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{34, 1, 0, PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.display_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(USERSIMPLEINFO, _impl_.id_), 2>(),
|
|
{8, 2, 0, PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.id_)}},
|
|
// required string name = 2;
|
|
{::_pbi::TcParser::FastSS1,
|
|
{18, 0, 0, PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.name_)}},
|
|
// required uint32 lv = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(USERSIMPLEINFO, _impl_.lv_), 3>(),
|
|
{24, 3, 0, PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.lv_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.id_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required string name = 2;
|
|
{PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
|
|
// required uint32 lv = 3;
|
|
{PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.lv_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required .DISPLAYINFO display = 4;
|
|
{PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.display_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}}, {{
|
|
{::_pbi::TcParser::GetTable<::DISPLAYINFO>()},
|
|
}}, {{
|
|
"\16\0\4\0\0\0\0\0"
|
|
"USERSIMPLEINFO"
|
|
"name"
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void USERSIMPLEINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:USERSIMPLEINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_impl_.name_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
ABSL_DCHECK(_impl_.display_ != nullptr);
|
|
_impl_.display_->Clear();
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x0000000cu) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.lv_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.lv_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* USERSIMPLEINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:USERSIMPLEINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required string name = 2;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
const std::string& _s = this->_internal_name();
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
"USERSIMPLEINFO.name");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
|
|
// required uint32 lv = 3;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_lv(), target);
|
|
}
|
|
|
|
// required .DISPLAYINFO display = 4;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, *_impl_.display_, _impl_.display_->GetCachedSize(), target, stream);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:USERSIMPLEINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t USERSIMPLEINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:USERSIMPLEINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000000fu) {
|
|
// required string name = 2;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->_internal_name());
|
|
}
|
|
|
|
// required .DISPLAYINFO display = 4;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size +=
|
|
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.display_);
|
|
}
|
|
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 lv = 3;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_lv());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void USERSIMPLEINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<USERSIMPLEINFO*>(&to_msg);
|
|
auto& from = static_cast<const USERSIMPLEINFO&>(from_msg);
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:USERSIMPLEINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000000fu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_internal_set_name(from._internal_name());
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
ABSL_DCHECK(from._impl_.display_ != nullptr);
|
|
if (_this->_impl_.display_ == nullptr) {
|
|
_this->_impl_.display_ =
|
|
::google::protobuf::Message::CopyConstruct<::DISPLAYINFO>(arena, *from._impl_.display_);
|
|
} else {
|
|
_this->_impl_.display_->MergeFrom(*from._impl_.display_);
|
|
}
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.lv_ = from._impl_.lv_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void USERSIMPLEINFO::CopyFrom(const USERSIMPLEINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:USERSIMPLEINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool USERSIMPLEINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const USERSIMPLEINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
|
|
if (!this_._impl_.display_->IsInitialized()) return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void USERSIMPLEINFO::InternalSwap(USERSIMPLEINFO* PROTOBUF_RESTRICT 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_.name_, &other->_impl_.name_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.lv_)
|
|
+ sizeof(USERSIMPLEINFO::_impl_.lv_)
|
|
- PROTOBUF_FIELD_OFFSET(USERSIMPLEINFO, _impl_.display_)>(
|
|
reinterpret_cast<char*>(&_impl_.display_),
|
|
reinterpret_cast<char*>(&other->_impl_.display_));
|
|
}
|
|
|
|
::google::protobuf::Metadata USERSIMPLEINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class DISPLAYINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<DISPLAYINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x0000007f) ^ 0x0000007f) != 0;
|
|
}
|
|
};
|
|
|
|
DISPLAYINFO::DISPLAYINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:DISPLAYINFO)
|
|
}
|
|
DISPLAYINFO::DISPLAYINFO(
|
|
::google::protobuf::Arena* arena, const DISPLAYINFO& from)
|
|
: DISPLAYINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE DISPLAYINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void DISPLAYINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, icon_),
|
|
0,
|
|
offsetof(Impl_, transform_flag_) -
|
|
offsetof(Impl_, icon_) +
|
|
sizeof(Impl_::transform_flag_));
|
|
}
|
|
DISPLAYINFO::~DISPLAYINFO() {
|
|
// @@protoc_insertion_point(destructor:DISPLAYINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void DISPLAYINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
DISPLAYINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
DISPLAYINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&DISPLAYINFO::MergeImpl,
|
|
&DISPLAYINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 7, 0, 0, 2> DISPLAYINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
7, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967168, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
7, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_DISPLAYINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::DISPLAYINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 icon = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.icon_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_)}},
|
|
// required uint32 skin = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.skin_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.skin_)}},
|
|
// required uint32 icon_frame = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.icon_frame_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_frame_)}},
|
|
// required uint32 chat_frame = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.chat_frame_), 3>(),
|
|
{32, 3, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.chat_frame_)}},
|
|
// required uint32 icon_theme = 5;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.icon_theme_), 4>(),
|
|
{40, 4, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_theme_)}},
|
|
// required uint32 marry_flag = 6;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.marry_flag_), 5>(),
|
|
{48, 5, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.marry_flag_)}},
|
|
// required uint32 transform_flag = 7;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DISPLAYINFO, _impl_.transform_flag_), 6>(),
|
|
{56, 6, 0, PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.transform_flag_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 icon = 1;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 skin = 2;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.skin_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 icon_frame = 3;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_frame_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 chat_frame = 4;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.chat_frame_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 icon_theme = 5;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_theme_), _Internal::kHasBitsOffset + 4, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 marry_flag = 6;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.marry_flag_), _Internal::kHasBitsOffset + 5, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 transform_flag = 7;
|
|
{PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.transform_flag_), _Internal::kHasBitsOffset + 6, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void DISPLAYINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:DISPLAYINFO)
|
|
::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 (cached_has_bits & 0x0000007fu) {
|
|
::memset(&_impl_.icon_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.transform_flag_) -
|
|
reinterpret_cast<char*>(&_impl_.icon_)) + sizeof(_impl_.transform_flag_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* DISPLAYINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:DISPLAYINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 icon = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_icon(), target);
|
|
}
|
|
|
|
// required uint32 skin = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_skin(), target);
|
|
}
|
|
|
|
// required uint32 icon_frame = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_icon_frame(), target);
|
|
}
|
|
|
|
// required uint32 chat_frame = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_chat_frame(), target);
|
|
}
|
|
|
|
// required uint32 icon_theme = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this->_internal_icon_theme(), target);
|
|
}
|
|
|
|
// required uint32 marry_flag = 6;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this->_internal_marry_flag(), target);
|
|
}
|
|
|
|
// required uint32 transform_flag = 7;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
7, this->_internal_transform_flag(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:DISPLAYINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t DISPLAYINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:DISPLAYINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000007fu) {
|
|
// required uint32 icon = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_icon());
|
|
}
|
|
|
|
// required uint32 skin = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_skin());
|
|
}
|
|
|
|
// required uint32 icon_frame = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_icon_frame());
|
|
}
|
|
|
|
// required uint32 chat_frame = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_chat_frame());
|
|
}
|
|
|
|
// required uint32 icon_theme = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_icon_theme());
|
|
}
|
|
|
|
// required uint32 marry_flag = 6;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_marry_flag());
|
|
}
|
|
|
|
// required uint32 transform_flag = 7;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_transform_flag());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void DISPLAYINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<DISPLAYINFO*>(&to_msg);
|
|
auto& from = static_cast<const DISPLAYINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:DISPLAYINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000007fu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.icon_ = from._impl_.icon_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.skin_ = from._impl_.skin_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.icon_frame_ = from._impl_.icon_frame_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.chat_frame_ = from._impl_.chat_frame_;
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
_this->_impl_.icon_theme_ = from._impl_.icon_theme_;
|
|
}
|
|
if (cached_has_bits & 0x00000020u) {
|
|
_this->_impl_.marry_flag_ = from._impl_.marry_flag_;
|
|
}
|
|
if (cached_has_bits & 0x00000040u) {
|
|
_this->_impl_.transform_flag_ = from._impl_.transform_flag_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void DISPLAYINFO::CopyFrom(const DISPLAYINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:DISPLAYINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool DISPLAYINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const DISPLAYINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void DISPLAYINFO::InternalSwap(DISPLAYINFO* PROTOBUF_RESTRICT 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(DISPLAYINFO, _impl_.transform_flag_)
|
|
+ sizeof(DISPLAYINFO::_impl_.transform_flag_)
|
|
- PROTOBUF_FIELD_OFFSET(DISPLAYINFO, _impl_.icon_)>(
|
|
reinterpret_cast<char*>(&_impl_.icon_),
|
|
reinterpret_cast<char*>(&other->_impl_.icon_));
|
|
}
|
|
|
|
::google::protobuf::Metadata DISPLAYINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class IDTIMEINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<IDTIMEINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
IDTIMEINFO::IDTIMEINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:IDTIMEINFO)
|
|
}
|
|
IDTIMEINFO::IDTIMEINFO(
|
|
::google::protobuf::Arena* arena, const IDTIMEINFO& from)
|
|
: IDTIMEINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE IDTIMEINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void IDTIMEINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::time_));
|
|
}
|
|
IDTIMEINFO::~IDTIMEINFO() {
|
|
// @@protoc_insertion_point(destructor:IDTIMEINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void IDTIMEINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
IDTIMEINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
IDTIMEINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&IDTIMEINFO::MergeImpl,
|
|
&IDTIMEINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> IDTIMEINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_IDTIMEINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::IDTIMEINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 time = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(IDTIMEINFO, _impl_.time_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_.time_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(IDTIMEINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 time = 2;
|
|
{PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_.time_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void IDTIMEINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:IDTIMEINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.time_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.time_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* IDTIMEINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:IDTIMEINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_time(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:IDTIMEINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t IDTIMEINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:IDTIMEINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_time());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void IDTIMEINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<IDTIMEINFO*>(&to_msg);
|
|
auto& from = static_cast<const IDTIMEINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:IDTIMEINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.time_ = from._impl_.time_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void IDTIMEINFO::CopyFrom(const IDTIMEINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:IDTIMEINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool IDTIMEINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const IDTIMEINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void IDTIMEINFO::InternalSwap(IDTIMEINFO* PROTOBUF_RESTRICT 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(IDTIMEINFO, _impl_.time_)
|
|
+ sizeof(IDTIMEINFO::_impl_.time_)
|
|
- PROTOBUF_FIELD_OFFSET(IDTIMEINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata IDTIMEINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class APPRECIATIONINFO::_Internal {
|
|
public:
|
|
};
|
|
|
|
APPRECIATIONINFO::APPRECIATIONINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:APPRECIATIONINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE APPRECIATIONINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::APPRECIATIONINFO& from_msg)
|
|
: gallerys_{visibility, arena, from.gallerys_},
|
|
musics_{visibility, arena, from.musics_},
|
|
favor_gallerys_{visibility, arena, from.favor_gallerys_},
|
|
favor_musics_{visibility, arena, from.favor_musics_},
|
|
_cached_size_{0} {}
|
|
|
|
APPRECIATIONINFO::APPRECIATIONINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const APPRECIATIONINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
APPRECIATIONINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:APPRECIATIONINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE APPRECIATIONINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: gallerys_{visibility, arena},
|
|
musics_{visibility, arena},
|
|
favor_gallerys_{visibility, arena},
|
|
favor_musics_{visibility, arena},
|
|
_cached_size_{0} {}
|
|
|
|
inline void APPRECIATIONINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
APPRECIATIONINFO::~APPRECIATIONINFO() {
|
|
// @@protoc_insertion_point(destructor:APPRECIATIONINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void APPRECIATIONINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
APPRECIATIONINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&APPRECIATIONINFO::MergeImpl,
|
|
&APPRECIATIONINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2> APPRECIATIONINFO::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_APPRECIATIONINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::APPRECIATIONINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated uint32 favor_musics = 4;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{32, 63, 0, PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.favor_musics_)}},
|
|
// repeated uint32 gallerys = 1;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.gallerys_)}},
|
|
// repeated uint32 musics = 2;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{16, 63, 0, PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.musics_)}},
|
|
// repeated uint32 favor_gallerys = 3;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{24, 63, 0, PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.favor_gallerys_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated uint32 gallerys = 1;
|
|
{PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.gallerys_), 0, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated uint32 musics = 2;
|
|
{PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.musics_), 0, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated uint32 favor_gallerys = 3;
|
|
{PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.favor_gallerys_), 0, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated uint32 favor_musics = 4;
|
|
{PROTOBUF_FIELD_OFFSET(APPRECIATIONINFO, _impl_.favor_musics_), 0, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void APPRECIATIONINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:APPRECIATIONINFO)
|
|
::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_.gallerys_.Clear();
|
|
_impl_.musics_.Clear();
|
|
_impl_.favor_gallerys_.Clear();
|
|
_impl_.favor_musics_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* APPRECIATIONINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:APPRECIATIONINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// repeated uint32 gallerys = 1;
|
|
for (int i = 0, n = this->_internal_gallerys_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_gallerys().Get(i), target);
|
|
}
|
|
|
|
// repeated uint32 musics = 2;
|
|
for (int i = 0, n = this->_internal_musics_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_musics().Get(i), target);
|
|
}
|
|
|
|
// repeated uint32 favor_gallerys = 3;
|
|
for (int i = 0, n = this->_internal_favor_gallerys_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_favor_gallerys().Get(i), target);
|
|
}
|
|
|
|
// repeated uint32 favor_musics = 4;
|
|
for (int i = 0, n = this->_internal_favor_musics_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_favor_musics().Get(i), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:APPRECIATIONINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t APPRECIATIONINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:APPRECIATIONINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated uint32 gallerys = 1;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_gallerys())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_gallerys_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated uint32 musics = 2;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_musics())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_musics_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated uint32 favor_gallerys = 3;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_favor_gallerys())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_favor_gallerys_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated uint32 favor_musics = 4;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_favor_musics())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_favor_musics_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void APPRECIATIONINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<APPRECIATIONINFO*>(&to_msg);
|
|
auto& from = static_cast<const APPRECIATIONINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:APPRECIATIONINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_gallerys()->MergeFrom(from._internal_gallerys());
|
|
_this->_internal_mutable_musics()->MergeFrom(from._internal_musics());
|
|
_this->_internal_mutable_favor_gallerys()->MergeFrom(from._internal_favor_gallerys());
|
|
_this->_internal_mutable_favor_musics()->MergeFrom(from._internal_favor_musics());
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void APPRECIATIONINFO::CopyFrom(const APPRECIATIONINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:APPRECIATIONINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void APPRECIATIONINFO::InternalSwap(APPRECIATIONINFO* PROTOBUF_RESTRICT other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
_impl_.gallerys_.InternalSwap(&other->_impl_.gallerys_);
|
|
_impl_.musics_.InternalSwap(&other->_impl_.musics_);
|
|
_impl_.favor_gallerys_.InternalSwap(&other->_impl_.favor_gallerys_);
|
|
_impl_.favor_musics_.InternalSwap(&other->_impl_.favor_musics_);
|
|
}
|
|
|
|
::google::protobuf::Metadata APPRECIATIONINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class BUILDINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<BUILDINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
BUILDINFO::BUILDINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:BUILDINFO)
|
|
}
|
|
BUILDINFO::BUILDINFO(
|
|
::google::protobuf::Arena* arena, const BUILDINFO& from)
|
|
: BUILDINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE BUILDINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void BUILDINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, time_),
|
|
0,
|
|
offsetof(Impl_, build_id_) -
|
|
offsetof(Impl_, time_) +
|
|
sizeof(Impl_::build_id_));
|
|
}
|
|
BUILDINFO::~BUILDINFO() {
|
|
// @@protoc_insertion_point(destructor:BUILDINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void BUILDINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
BUILDINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
BUILDINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&BUILDINFO::MergeImpl,
|
|
&BUILDINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BUILDINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(BUILDINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_BUILDINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::BUILDINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 time = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BUILDINFO, _impl_.time_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.time_)}},
|
|
// required uint32 finish_time = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BUILDINFO, _impl_.finish_time_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.finish_time_)}},
|
|
// required uint32 build_id = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BUILDINFO, _impl_.build_id_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.build_id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 time = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.time_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 finish_time = 2;
|
|
{PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.finish_time_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 build_id = 3;
|
|
{PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.build_id_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void BUILDINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:BUILDINFO)
|
|
::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 (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.time_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.build_id_) -
|
|
reinterpret_cast<char*>(&_impl_.time_)) + sizeof(_impl_.build_id_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* BUILDINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:BUILDINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 time = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_time(), target);
|
|
}
|
|
|
|
// required uint32 finish_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_finish_time(), target);
|
|
}
|
|
|
|
// required uint32 build_id = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_build_id(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:BUILDINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t BUILDINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:BUILDINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 time = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_time());
|
|
}
|
|
|
|
// required uint32 finish_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_finish_time());
|
|
}
|
|
|
|
// required uint32 build_id = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_build_id());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void BUILDINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<BUILDINFO*>(&to_msg);
|
|
auto& from = static_cast<const BUILDINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:BUILDINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.time_ = from._impl_.time_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.finish_time_ = from._impl_.finish_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.build_id_ = from._impl_.build_id_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void BUILDINFO::CopyFrom(const BUILDINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:BUILDINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool BUILDINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const BUILDINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void BUILDINFO::InternalSwap(BUILDINFO* PROTOBUF_RESTRICT 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(BUILDINFO, _impl_.build_id_)
|
|
+ sizeof(BUILDINFO::_impl_.build_id_)
|
|
- PROTOBUF_FIELD_OFFSET(BUILDINFO, _impl_.time_)>(
|
|
reinterpret_cast<char*>(&_impl_.time_),
|
|
reinterpret_cast<char*>(&other->_impl_.time_));
|
|
}
|
|
|
|
::google::protobuf::Metadata BUILDINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SHIPCOREINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPCOREINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPCOREINFO::SHIPCOREINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPCOREINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPCOREINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::SHIPCOREINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
model_list_{visibility, arena, from.model_list_} {}
|
|
|
|
SHIPCOREINFO::SHIPCOREINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const SHIPCOREINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
SHIPCOREINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
reinterpret_cast<const char *>(&from._impl_) +
|
|
offsetof(Impl_, id_),
|
|
offsetof(Impl_, exp_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::exp_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:SHIPCOREINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPCOREINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
model_list_{visibility, arena} {}
|
|
|
|
inline void SHIPCOREINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, exp_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::exp_));
|
|
}
|
|
SHIPCOREINFO::~SHIPCOREINFO() {
|
|
// @@protoc_insertion_point(destructor:SHIPCOREINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPCOREINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPCOREINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPCOREINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPCOREINFO::MergeImpl,
|
|
&SHIPCOREINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 1, 0, 2> SHIPCOREINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
&_SHIPCOREINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPCOREINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPCOREINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.id_)}},
|
|
// required uint32 exp = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPCOREINFO, _impl_.exp_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.exp_)}},
|
|
// repeated .SHIPMODELINFO model_list = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 63, 0, PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.model_list_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 exp = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.exp_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .SHIPMODELINFO model_list = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.model_list_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}}, {{
|
|
{::_pbi::TcParser::GetTable<::SHIPMODELINFO>()},
|
|
}}, {{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPCOREINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPCOREINFO)
|
|
::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_.model_list_.Clear();
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.exp_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.exp_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPCOREINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPCOREINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_exp(), target);
|
|
}
|
|
|
|
// repeated .SHIPMODELINFO model_list = 3;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_model_list_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_model_list().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPCOREINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPCOREINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPCOREINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated .SHIPMODELINFO model_list = 3;
|
|
total_size += 1UL * this->_internal_model_list_size();
|
|
for (const auto& msg : this->_internal_model_list()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 exp = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_exp());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPCOREINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPCOREINFO*>(&to_msg);
|
|
auto& from = static_cast<const SHIPCOREINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPCOREINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_model_list()->MergeFrom(
|
|
from._internal_model_list());
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.exp_ = from._impl_.exp_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPCOREINFO::CopyFrom(const SHIPCOREINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPCOREINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPCOREINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPCOREINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_model_list()))
|
|
return false;
|
|
return true;
|
|
}
|
|
|
|
void SHIPCOREINFO::InternalSwap(SHIPCOREINFO* PROTOBUF_RESTRICT other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.model_list_.InternalSwap(&other->_impl_.model_list_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.exp_)
|
|
+ sizeof(SHIPCOREINFO::_impl_.exp_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPCOREINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPCOREINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SHIPMODELINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPMODELINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPMODELINFO::SHIPMODELINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPMODELINFO)
|
|
}
|
|
SHIPMODELINFO::SHIPMODELINFO(
|
|
::google::protobuf::Arena* arena, const SHIPMODELINFO& from)
|
|
: SHIPMODELINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPMODELINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SHIPMODELINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, pos_),
|
|
0,
|
|
offsetof(Impl_, id_) -
|
|
offsetof(Impl_, pos_) +
|
|
sizeof(Impl_::id_));
|
|
}
|
|
SHIPMODELINFO::~SHIPMODELINFO() {
|
|
// @@protoc_insertion_point(destructor:SHIPMODELINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPMODELINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPMODELINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPMODELINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPMODELINFO::MergeImpl,
|
|
&SHIPMODELINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SHIPMODELINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SHIPMODELINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPMODELINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPMODELINFO, _impl_.id_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_.id_)}},
|
|
// required uint32 pos = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPMODELINFO, _impl_.pos_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_.pos_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 pos = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_.pos_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_.id_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPMODELINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPMODELINFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.pos_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.id_) -
|
|
reinterpret_cast<char*>(&_impl_.pos_)) + sizeof(_impl_.id_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPMODELINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPMODELINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 pos = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_pos(), target);
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_id(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPMODELINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPMODELINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPMODELINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 pos = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_pos());
|
|
}
|
|
|
|
// required uint32 id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPMODELINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPMODELINFO*>(&to_msg);
|
|
auto& from = static_cast<const SHIPMODELINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPMODELINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.pos_ = from._impl_.pos_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPMODELINFO::CopyFrom(const SHIPMODELINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPMODELINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPMODELINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPMODELINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SHIPMODELINFO::InternalSwap(SHIPMODELINFO* PROTOBUF_RESTRICT 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(SHIPMODELINFO, _impl_.id_)
|
|
+ sizeof(SHIPMODELINFO::_impl_.id_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPMODELINFO, _impl_.pos_)>(
|
|
reinterpret_cast<char*>(&_impl_.pos_),
|
|
reinterpret_cast<char*>(&other->_impl_.pos_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPMODELINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SHIPGROUPPOS::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SHIPGROUPPOS>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
SHIPGROUPPOS::SHIPGROUPPOS(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SHIPGROUPPOS)
|
|
}
|
|
SHIPGROUPPOS::SHIPGROUPPOS(
|
|
::google::protobuf::Arena* arena, const SHIPGROUPPOS& from)
|
|
: SHIPGROUPPOS(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SHIPGROUPPOS::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SHIPGROUPPOS::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, ship_id_),
|
|
0,
|
|
offsetof(Impl_, pos_) -
|
|
offsetof(Impl_, ship_id_) +
|
|
sizeof(Impl_::pos_));
|
|
}
|
|
SHIPGROUPPOS::~SHIPGROUPPOS() {
|
|
// @@protoc_insertion_point(destructor:SHIPGROUPPOS)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SHIPGROUPPOS::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SHIPGROUPPOS::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SHIPGROUPPOS::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SHIPGROUPPOS::MergeImpl,
|
|
&SHIPGROUPPOS::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SHIPGROUPPOS::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SHIPGROUPPOS_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SHIPGROUPPOS>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 pos = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPGROUPPOS, _impl_.pos_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_.pos_)}},
|
|
// required uint32 ship_id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SHIPGROUPPOS, _impl_.ship_id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_.ship_id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 ship_id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_.ship_id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 pos = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_.pos_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SHIPGROUPPOS::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SHIPGROUPPOS)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.ship_id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.pos_) -
|
|
reinterpret_cast<char*>(&_impl_.ship_id_)) + sizeof(_impl_.pos_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SHIPGROUPPOS::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SHIPGROUPPOS)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 ship_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_ship_id(), target);
|
|
}
|
|
|
|
// required uint32 pos = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_pos(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SHIPGROUPPOS)
|
|
return target;
|
|
}
|
|
|
|
::size_t SHIPGROUPPOS::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SHIPGROUPPOS)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 ship_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_ship_id());
|
|
}
|
|
|
|
// required uint32 pos = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_pos());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SHIPGROUPPOS::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SHIPGROUPPOS*>(&to_msg);
|
|
auto& from = static_cast<const SHIPGROUPPOS&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SHIPGROUPPOS)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.ship_id_ = from._impl_.ship_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.pos_ = from._impl_.pos_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SHIPGROUPPOS::CopyFrom(const SHIPGROUPPOS& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SHIPGROUPPOS)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SHIPGROUPPOS::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SHIPGROUPPOS&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SHIPGROUPPOS::InternalSwap(SHIPGROUPPOS* PROTOBUF_RESTRICT 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(SHIPGROUPPOS, _impl_.pos_)
|
|
+ sizeof(SHIPGROUPPOS::_impl_.pos_)
|
|
- PROTOBUF_FIELD_OFFSET(SHIPGROUPPOS, _impl_.ship_id_)>(
|
|
reinterpret_cast<char*>(&_impl_.ship_id_),
|
|
reinterpret_cast<char*>(&other->_impl_.ship_id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SHIPGROUPPOS::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class FLEETINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<FLEETINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
|
|
}
|
|
};
|
|
|
|
FLEETINFO::FLEETINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:FLEETINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE FLEETINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::FLEETINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ship_list_{visibility, arena, from.ship_list_},
|
|
commanders_{visibility, arena, from.commanders_} {}
|
|
|
|
FLEETINFO::FLEETINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const FLEETINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
FLEETINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.id_ = from._impl_.id_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:FLEETINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE FLEETINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
ship_list_{visibility, arena},
|
|
commanders_{visibility, arena} {}
|
|
|
|
inline void FLEETINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.id_ = {};
|
|
}
|
|
FLEETINFO::~FLEETINFO() {
|
|
// @@protoc_insertion_point(destructor:FLEETINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void FLEETINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
FLEETINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
FLEETINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&FLEETINFO::MergeImpl,
|
|
&FLEETINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 1, 0, 2> FLEETINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(FLEETINFO, _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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
&_FLEETINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::FLEETINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FLEETINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.id_)}},
|
|
// repeated uint32 ship_list = 2;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{16, 63, 0, PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.ship_list_)}},
|
|
// repeated .COMMANDERSINFO commanders = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 63, 0, PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.commanders_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated uint32 ship_list = 2;
|
|
{PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.ship_list_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
// repeated .COMMANDERSINFO commanders = 3;
|
|
{PROTOBUF_FIELD_OFFSET(FLEETINFO, _impl_.commanders_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}}, {{
|
|
{::_pbi::TcParser::GetTable<::COMMANDERSINFO>()},
|
|
}}, {{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void FLEETINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:FLEETINFO)
|
|
::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_.ship_list_.Clear();
|
|
_impl_.commanders_.Clear();
|
|
_impl_.id_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* FLEETINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:FLEETINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// repeated uint32 ship_list = 2;
|
|
for (int i = 0, n = this->_internal_ship_list_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_ship_list().Get(i), target);
|
|
}
|
|
|
|
// repeated .COMMANDERSINFO commanders = 3;
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this->_internal_commanders_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this->_internal_commanders().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:FLEETINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t FLEETINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:FLEETINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated uint32 ship_list = 2;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_ship_list())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_ship_list_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
// repeated .COMMANDERSINFO commanders = 3;
|
|
total_size += 1UL * this->_internal_commanders_size();
|
|
for (const auto& msg : this->_internal_commanders()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
// required uint32 id = 1;
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void FLEETINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<FLEETINFO*>(&to_msg);
|
|
auto& from = static_cast<const FLEETINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:FLEETINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_ship_list()->MergeFrom(from._internal_ship_list());
|
|
_this->_internal_mutable_commanders()->MergeFrom(
|
|
from._internal_commanders());
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void FLEETINFO::CopyFrom(const FLEETINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:FLEETINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool FLEETINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const FLEETINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
if (!::google::protobuf::internal::AllAreInitialized(this_._internal_commanders()))
|
|
return false;
|
|
return true;
|
|
}
|
|
|
|
void FLEETINFO::InternalSwap(FLEETINFO* PROTOBUF_RESTRICT other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.ship_list_.InternalSwap(&other->_impl_.ship_list_);
|
|
_impl_.commanders_.InternalSwap(&other->_impl_.commanders_);
|
|
swap(_impl_.id_, other->_impl_.id_);
|
|
}
|
|
|
|
::google::protobuf::Metadata FLEETINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class COLLECTIONINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<COLLECTIONINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
COLLECTIONINFO::COLLECTIONINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:COLLECTIONINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE COLLECTIONINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
|
|
const Impl_& from, const ::COLLECTIONINFO& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ship_id_list_{visibility, arena, from.ship_id_list_} {}
|
|
|
|
COLLECTIONINFO::COLLECTIONINFO(
|
|
::google::protobuf::Arena* arena,
|
|
const COLLECTIONINFO& from)
|
|
: ::google::protobuf::Message(arena) {
|
|
COLLECTIONINFO* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
reinterpret_cast<const char *>(&from._impl_) +
|
|
offsetof(Impl_, id_),
|
|
offsetof(Impl_, over_time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::over_time_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:COLLECTIONINFO)
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE COLLECTIONINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0},
|
|
ship_id_list_{visibility, arena} {}
|
|
|
|
inline void COLLECTIONINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, over_time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::over_time_));
|
|
}
|
|
COLLECTIONINFO::~COLLECTIONINFO() {
|
|
// @@protoc_insertion_point(destructor:COLLECTIONINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void COLLECTIONINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
COLLECTIONINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
COLLECTIONINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&COLLECTIONINFO::MergeImpl,
|
|
&COLLECTIONINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2> COLLECTIONINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_COLLECTIONINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::COLLECTIONINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated uint32 ship_id_list = 4;
|
|
{::_pbi::TcParser::FastV32R1,
|
|
{32, 63, 0, PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.ship_id_list_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COLLECTIONINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.id_)}},
|
|
// required uint32 finish_time = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COLLECTIONINFO, _impl_.finish_time_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.finish_time_)}},
|
|
// required uint32 over_time = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(COLLECTIONINFO, _impl_.over_time_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.over_time_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 finish_time = 2;
|
|
{PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.finish_time_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 over_time = 3;
|
|
{PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.over_time_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated uint32 ship_id_list = 4;
|
|
{PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.ship_id_list_), -1, 0,
|
|
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void COLLECTIONINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:COLLECTIONINFO)
|
|
::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_.ship_id_list_.Clear();
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.over_time_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.over_time_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* COLLECTIONINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:COLLECTIONINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 finish_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_finish_time(), target);
|
|
}
|
|
|
|
// required uint32 over_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_over_time(), target);
|
|
}
|
|
|
|
// repeated uint32 ship_id_list = 4;
|
|
for (int i = 0, n = this->_internal_ship_id_list_size(); i < n; ++i) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_ship_id_list().Get(i), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:COLLECTIONINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t COLLECTIONINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:COLLECTIONINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
// repeated uint32 ship_id_list = 4;
|
|
{
|
|
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
|
|
this->_internal_ship_id_list())
|
|
;
|
|
std::size_t tag_size = std::size_t{1} *
|
|
::_pbi::FromIntSize(this->_internal_ship_id_list_size());
|
|
;
|
|
total_size += tag_size + data_size;
|
|
}
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 finish_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_finish_time());
|
|
}
|
|
|
|
// required uint32 over_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_over_time());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void COLLECTIONINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<COLLECTIONINFO*>(&to_msg);
|
|
auto& from = static_cast<const COLLECTIONINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:COLLECTIONINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
_this->_internal_mutable_ship_id_list()->MergeFrom(from._internal_ship_id_list());
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.finish_time_ = from._impl_.finish_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.over_time_ = from._impl_.over_time_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void COLLECTIONINFO::CopyFrom(const COLLECTIONINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:COLLECTIONINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool COLLECTIONINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const COLLECTIONINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void COLLECTIONINFO::InternalSwap(COLLECTIONINFO* PROTOBUF_RESTRICT other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.ship_id_list_.InternalSwap(&other->_impl_.ship_id_list_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.over_time_)
|
|
+ sizeof(COLLECTIONINFO::_impl_.over_time_)
|
|
- PROTOBUF_FIELD_OFFSET(COLLECTIONINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata COLLECTIONINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class TASKINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<TASKINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
|
|
}
|
|
};
|
|
|
|
TASKINFO::TASKINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:TASKINFO)
|
|
}
|
|
TASKINFO::TASKINFO(
|
|
::google::protobuf::Arena* arena, const TASKINFO& from)
|
|
: TASKINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE TASKINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void TASKINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, submit_time_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::submit_time_));
|
|
}
|
|
TASKINFO::~TASKINFO() {
|
|
// @@protoc_insertion_point(destructor:TASKINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void TASKINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
TASKINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
TASKINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&TASKINFO::MergeImpl,
|
|
&TASKINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2> TASKINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_TASKINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::TASKINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 submit_time = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TASKINFO, _impl_.submit_time_), 3>(),
|
|
{32, 3, 0, PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.submit_time_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TASKINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.id_)}},
|
|
// required uint32 progress = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TASKINFO, _impl_.progress_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.progress_)}},
|
|
// required uint32 accept_time = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TASKINFO, _impl_.accept_time_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.accept_time_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 progress = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.progress_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 accept_time = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.accept_time_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 submit_time = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.submit_time_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void TASKINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:TASKINFO)
|
|
::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 (cached_has_bits & 0x0000000fu) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.submit_time_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.submit_time_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* TASKINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:TASKINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 progress = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_progress(), target);
|
|
}
|
|
|
|
// required uint32 accept_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_accept_time(), target);
|
|
}
|
|
|
|
// required uint32 submit_time = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_submit_time(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:TASKINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t TASKINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:TASKINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000000fu) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 progress = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_progress());
|
|
}
|
|
|
|
// required uint32 accept_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_accept_time());
|
|
}
|
|
|
|
// required uint32 submit_time = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_submit_time());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void TASKINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<TASKINFO*>(&to_msg);
|
|
auto& from = static_cast<const TASKINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:TASKINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x0000000fu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.progress_ = from._impl_.progress_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.accept_time_ = from._impl_.accept_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.submit_time_ = from._impl_.submit_time_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void TASKINFO::CopyFrom(const TASKINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:TASKINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool TASKINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const TASKINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void TASKINFO::InternalSwap(TASKINFO* PROTOBUF_RESTRICT 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(TASKINFO, _impl_.submit_time_)
|
|
+ sizeof(TASKINFO::_impl_.submit_time_)
|
|
- PROTOBUF_FIELD_OFFSET(TASKINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata TASKINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class REFUND_SHOPINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<REFUND_SHOPINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
|
|
}
|
|
};
|
|
|
|
REFUND_SHOPINFO::REFUND_SHOPINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:REFUND_SHOPINFO)
|
|
}
|
|
REFUND_SHOPINFO::REFUND_SHOPINFO(
|
|
::google::protobuf::Arena* arena, const REFUND_SHOPINFO& from)
|
|
: REFUND_SHOPINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE REFUND_SHOPINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void REFUND_SHOPINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, shop_id_),
|
|
0,
|
|
offsetof(Impl_, refund_time_) -
|
|
offsetof(Impl_, shop_id_) +
|
|
sizeof(Impl_::refund_time_));
|
|
}
|
|
REFUND_SHOPINFO::~REFUND_SHOPINFO() {
|
|
// @@protoc_insertion_point(destructor:REFUND_SHOPINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void REFUND_SHOPINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
REFUND_SHOPINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
REFUND_SHOPINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&REFUND_SHOPINFO::MergeImpl,
|
|
&REFUND_SHOPINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> REFUND_SHOPINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_REFUND_SHOPINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::REFUND_SHOPINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// required uint32 shop_id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(REFUND_SHOPINFO, _impl_.shop_id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.shop_id_)}},
|
|
// required uint32 buy_time = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(REFUND_SHOPINFO, _impl_.buy_time_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.buy_time_)}},
|
|
// required uint32 refund_time = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(REFUND_SHOPINFO, _impl_.refund_time_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.refund_time_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 shop_id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.shop_id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 buy_time = 2;
|
|
{PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.buy_time_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 refund_time = 3;
|
|
{PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.refund_time_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void REFUND_SHOPINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:REFUND_SHOPINFO)
|
|
::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 (cached_has_bits & 0x00000007u) {
|
|
::memset(&_impl_.shop_id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.refund_time_) -
|
|
reinterpret_cast<char*>(&_impl_.shop_id_)) + sizeof(_impl_.refund_time_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* REFUND_SHOPINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:REFUND_SHOPINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 shop_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_shop_id(), target);
|
|
}
|
|
|
|
// required uint32 buy_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_buy_time(), target);
|
|
}
|
|
|
|
// required uint32 refund_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_refund_time(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:REFUND_SHOPINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t REFUND_SHOPINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:REFUND_SHOPINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
// required uint32 shop_id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_shop_id());
|
|
}
|
|
|
|
// required uint32 buy_time = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_buy_time());
|
|
}
|
|
|
|
// required uint32 refund_time = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_refund_time());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void REFUND_SHOPINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<REFUND_SHOPINFO*>(&to_msg);
|
|
auto& from = static_cast<const REFUND_SHOPINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:REFUND_SHOPINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000007u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.shop_id_ = from._impl_.shop_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.buy_time_ = from._impl_.buy_time_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.refund_time_ = from._impl_.refund_time_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void REFUND_SHOPINFO::CopyFrom(const REFUND_SHOPINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:REFUND_SHOPINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool REFUND_SHOPINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const REFUND_SHOPINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void REFUND_SHOPINFO::InternalSwap(REFUND_SHOPINFO* PROTOBUF_RESTRICT 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(REFUND_SHOPINFO, _impl_.refund_time_)
|
|
+ sizeof(REFUND_SHOPINFO::_impl_.refund_time_)
|
|
- PROTOBUF_FIELD_OFFSET(REFUND_SHOPINFO, _impl_.shop_id_)>(
|
|
reinterpret_cast<char*>(&_impl_.shop_id_),
|
|
reinterpret_cast<char*>(&other->_impl_.shop_id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata REFUND_SHOPINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class ITEM_INFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<ITEM_INFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
|
|
}
|
|
};
|
|
|
|
ITEM_INFO::ITEM_INFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:ITEM_INFO)
|
|
}
|
|
ITEM_INFO::ITEM_INFO(
|
|
::google::protobuf::Arena* arena, const ITEM_INFO& from)
|
|
: ITEM_INFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE ITEM_INFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void ITEM_INFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, num_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::num_));
|
|
}
|
|
ITEM_INFO::~ITEM_INFO() {
|
|
// @@protoc_insertion_point(destructor:ITEM_INFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void ITEM_INFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
ITEM_INFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
ITEM_INFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&ITEM_INFO::MergeImpl,
|
|
&ITEM_INFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ITEM_INFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(ITEM_INFO, _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
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_ITEM_INFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::ITEM_INFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 num = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ITEM_INFO, _impl_.num_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_.num_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ITEM_INFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 num = 2;
|
|
{PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_.num_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void ITEM_INFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:ITEM_INFO)
|
|
::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 (cached_has_bits & 0x00000003u) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.num_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.num_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* ITEM_INFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:ITEM_INFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 num = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_num(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:ITEM_INFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t ITEM_INFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:ITEM_INFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 num = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_num());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void ITEM_INFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<ITEM_INFO*>(&to_msg);
|
|
auto& from = static_cast<const ITEM_INFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:ITEM_INFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x00000003u) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.num_ = from._impl_.num_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void ITEM_INFO::CopyFrom(const ITEM_INFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:ITEM_INFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool ITEM_INFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const ITEM_INFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void ITEM_INFO::InternalSwap(ITEM_INFO* PROTOBUF_RESTRICT 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(ITEM_INFO, _impl_.num_)
|
|
+ sizeof(ITEM_INFO::_impl_.num_)
|
|
- PROTOBUF_FIELD_OFFSET(ITEM_INFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata ITEM_INFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// ===================================================================
|
|
|
|
class SPWEAPONINFO::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(std::declval<SPWEAPONINFO>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_._has_bits_);
|
|
static bool MissingRequiredFields(const HasBits& has_bits) {
|
|
return ((has_bits[0] & 0x000000ff) ^ 0x000000ff) != 0;
|
|
}
|
|
};
|
|
|
|
SPWEAPONINFO::SPWEAPONINFO(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:SPWEAPONINFO)
|
|
}
|
|
SPWEAPONINFO::SPWEAPONINFO(
|
|
::google::protobuf::Arena* arena, const SPWEAPONINFO& from)
|
|
: SPWEAPONINFO(arena) {
|
|
MergeFrom(from);
|
|
}
|
|
inline PROTOBUF_NDEBUG_INLINE SPWEAPONINFO::Impl_::Impl_(
|
|
::google::protobuf::internal::InternalVisibility visibility,
|
|
::google::protobuf::Arena* arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void SPWEAPONINFO::SharedCtor(::_pb::Arena* arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char *>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, pt_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::pt_));
|
|
}
|
|
SPWEAPONINFO::~SPWEAPONINFO() {
|
|
// @@protoc_insertion_point(destructor:SPWEAPONINFO)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void SPWEAPONINFO::SharedDtor() {
|
|
ABSL_DCHECK(GetArena() == nullptr);
|
|
_impl_.~Impl_();
|
|
}
|
|
|
|
const ::google::protobuf::MessageLite::ClassData*
|
|
SPWEAPONINFO::GetClassData() const {
|
|
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
|
|
ClassDataFull _data_ = {
|
|
{
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
SPWEAPONINFO::IsInitializedImpl,
|
|
PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_._cached_size_),
|
|
false,
|
|
},
|
|
&SPWEAPONINFO::MergeImpl,
|
|
&SPWEAPONINFO::kDescriptorMethods,
|
|
&descriptor_table_common_2eproto,
|
|
nullptr, // tracker
|
|
};
|
|
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
|
|
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
|
|
return _data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 8, 0, 0, 2> SPWEAPONINFO::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
8, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967040, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
8, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_SPWEAPONINFO_default_instance_._instance,
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::SPWEAPONINFO>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// required uint32 pt = 8;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.pt_), 7>(),
|
|
{64, 7, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.pt_)}},
|
|
// required uint32 id = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.id_), 0>(),
|
|
{8, 0, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.id_)}},
|
|
// required uint32 template_id = 2;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.template_id_), 1>(),
|
|
{16, 1, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.template_id_)}},
|
|
// required uint32 attr_1 = 3;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.attr_1_), 2>(),
|
|
{24, 2, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_1_)}},
|
|
// required uint32 attr_2 = 4;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.attr_2_), 3>(),
|
|
{32, 3, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_2_)}},
|
|
// required uint32 attr_temp_1 = 5;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.attr_temp_1_), 4>(),
|
|
{40, 4, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_temp_1_)}},
|
|
// required uint32 attr_temp_2 = 6;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.attr_temp_2_), 5>(),
|
|
{48, 5, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_temp_2_)}},
|
|
// required uint32 effect = 7;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SPWEAPONINFO, _impl_.effect_), 6>(),
|
|
{56, 6, 0, PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.effect_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// required uint32 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 template_id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.template_id_), _Internal::kHasBitsOffset + 1, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 attr_1 = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_1_), _Internal::kHasBitsOffset + 2, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 attr_2 = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_2_), _Internal::kHasBitsOffset + 3, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 attr_temp_1 = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_temp_1_), _Internal::kHasBitsOffset + 4, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 attr_temp_2 = 6;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.attr_temp_2_), _Internal::kHasBitsOffset + 5, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 effect = 7;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.effect_), _Internal::kHasBitsOffset + 6, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// required uint32 pt = 8;
|
|
{PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.pt_), _Internal::kHasBitsOffset + 7, 0,
|
|
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
PROTOBUF_NOINLINE void SPWEAPONINFO::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:SPWEAPONINFO)
|
|
::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 (cached_has_bits & 0x000000ffu) {
|
|
::memset(&_impl_.id_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.pt_) -
|
|
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.pt_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
::uint8_t* SPWEAPONINFO::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:SPWEAPONINFO)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_id(), target);
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this->_internal_template_id(), target);
|
|
}
|
|
|
|
// required uint32 attr_1 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this->_internal_attr_1(), target);
|
|
}
|
|
|
|
// required uint32 attr_2 = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this->_internal_attr_2(), target);
|
|
}
|
|
|
|
// required uint32 attr_temp_1 = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this->_internal_attr_temp_1(), target);
|
|
}
|
|
|
|
// required uint32 attr_temp_2 = 6;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this->_internal_attr_temp_2(), target);
|
|
}
|
|
|
|
// required uint32 effect = 7;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
7, this->_internal_effect(), target);
|
|
}
|
|
|
|
// required uint32 pt = 8;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
8, this->_internal_pt(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:SPWEAPONINFO)
|
|
return target;
|
|
}
|
|
|
|
::size_t SPWEAPONINFO::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:SPWEAPONINFO)
|
|
::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(reinterpret_cast<const void*>(this));
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x000000ffu) {
|
|
// required uint32 id = 1;
|
|
if (cached_has_bits & 0x00000001u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_id());
|
|
}
|
|
|
|
// required uint32 template_id = 2;
|
|
if (cached_has_bits & 0x00000002u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_template_id());
|
|
}
|
|
|
|
// required uint32 attr_1 = 3;
|
|
if (cached_has_bits & 0x00000004u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_attr_1());
|
|
}
|
|
|
|
// required uint32 attr_2 = 4;
|
|
if (cached_has_bits & 0x00000008u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_attr_2());
|
|
}
|
|
|
|
// required uint32 attr_temp_1 = 5;
|
|
if (cached_has_bits & 0x00000010u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_attr_temp_1());
|
|
}
|
|
|
|
// required uint32 attr_temp_2 = 6;
|
|
if (cached_has_bits & 0x00000020u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_attr_temp_2());
|
|
}
|
|
|
|
// required uint32 effect = 7;
|
|
if (cached_has_bits & 0x00000040u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_effect());
|
|
}
|
|
|
|
// required uint32 pt = 8;
|
|
if (cached_has_bits & 0x00000080u) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_pt());
|
|
}
|
|
|
|
}
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
|
|
void SPWEAPONINFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this = static_cast<SPWEAPONINFO*>(&to_msg);
|
|
auto& from = static_cast<const SPWEAPONINFO&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:SPWEAPONINFO)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (cached_has_bits & 0x000000ffu) {
|
|
if (cached_has_bits & 0x00000001u) {
|
|
_this->_impl_.id_ = from._impl_.id_;
|
|
}
|
|
if (cached_has_bits & 0x00000002u) {
|
|
_this->_impl_.template_id_ = from._impl_.template_id_;
|
|
}
|
|
if (cached_has_bits & 0x00000004u) {
|
|
_this->_impl_.attr_1_ = from._impl_.attr_1_;
|
|
}
|
|
if (cached_has_bits & 0x00000008u) {
|
|
_this->_impl_.attr_2_ = from._impl_.attr_2_;
|
|
}
|
|
if (cached_has_bits & 0x00000010u) {
|
|
_this->_impl_.attr_temp_1_ = from._impl_.attr_temp_1_;
|
|
}
|
|
if (cached_has_bits & 0x00000020u) {
|
|
_this->_impl_.attr_temp_2_ = from._impl_.attr_temp_2_;
|
|
}
|
|
if (cached_has_bits & 0x00000040u) {
|
|
_this->_impl_.effect_ = from._impl_.effect_;
|
|
}
|
|
if (cached_has_bits & 0x00000080u) {
|
|
_this->_impl_.pt_ = from._impl_.pt_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void SPWEAPONINFO::CopyFrom(const SPWEAPONINFO& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:SPWEAPONINFO)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool SPWEAPONINFO::IsInitializedImpl(
|
|
const MessageLite& msg) {
|
|
auto& this_ = static_cast<const SPWEAPONINFO&>(msg);
|
|
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
void SPWEAPONINFO::InternalSwap(SPWEAPONINFO* PROTOBUF_RESTRICT 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(SPWEAPONINFO, _impl_.pt_)
|
|
+ sizeof(SPWEAPONINFO::_impl_.pt_)
|
|
- PROTOBUF_FIELD_OFFSET(SPWEAPONINFO, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
::google::protobuf::Metadata SPWEAPONINFO::GetMetadata() const {
|
|
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
|
|
}
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
namespace google {
|
|
namespace protobuf {
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
// @@protoc_insertion_point(global_scope)
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
|
|
_static_init2_ PROTOBUF_UNUSED =
|
|
(::_pbi::AddDescriptors(&descriptor_table_common_2eproto),
|
|
::std::false_type{});
|
|
#include "google/protobuf/port_undef.inc"
|