You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9501 lines
364 KiB

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: command.proto
// Protobuf C++ Version: 5.29.3
#include "command.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/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace dapi {
namespace commands {
inline constexpr UseItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR UseItem::UseItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct UseItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR UseItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~UseItemDefaultTypeInternal() {}
union {
UseItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseItemDefaultTypeInternal _UseItem_default_instance_;
inline constexpr UseBeltItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: slot_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR UseBeltItem::UseBeltItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct UseBeltItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR UseBeltItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~UseBeltItemDefaultTypeInternal() {}
union {
UseBeltItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseBeltItemDefaultTypeInternal _UseBeltItem_default_instance_;
inline constexpr ToggleMenu::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR ToggleMenu::ToggleMenu(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct ToggleMenuDefaultTypeInternal {
PROTOBUF_CONSTEXPR ToggleMenuDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ToggleMenuDefaultTypeInternal() {}
union {
ToggleMenu _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ToggleMenuDefaultTypeInternal _ToggleMenu_default_instance_;
inline constexpr ToggleInventory::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR ToggleInventory::ToggleInventory(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct ToggleInventoryDefaultTypeInternal {
PROTOBUF_CONSTEXPR ToggleInventoryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ToggleInventoryDefaultTypeInternal() {}
union {
ToggleInventory _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ToggleInventoryDefaultTypeInternal _ToggleInventory_default_instance_;
inline constexpr ToggleCharacterSheet::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR ToggleCharacterSheet::ToggleCharacterSheet(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct ToggleCharacterSheetDefaultTypeInternal {
PROTOBUF_CONSTEXPR ToggleCharacterSheetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ToggleCharacterSheetDefaultTypeInternal() {}
union {
ToggleCharacterSheet _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ToggleCharacterSheetDefaultTypeInternal _ToggleCharacterSheet_default_instance_;
inline constexpr Talk::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: targetx_{0u},
targety_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR Talk::Talk(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct TalkDefaultTypeInternal {
PROTOBUF_CONSTEXPR TalkDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~TalkDefaultTypeInternal() {}
union {
Talk _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TalkDefaultTypeInternal _Talk_default_instance_;
inline constexpr SkillRepair::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SkillRepair::SkillRepair(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SkillRepairDefaultTypeInternal {
PROTOBUF_CONSTEXPR SkillRepairDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SkillRepairDefaultTypeInternal() {}
union {
SkillRepair _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SkillRepairDefaultTypeInternal _SkillRepair_default_instance_;
inline constexpr SkillRecharge::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SkillRecharge::SkillRecharge(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SkillRechargeDefaultTypeInternal {
PROTOBUF_CONSTEXPR SkillRechargeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SkillRechargeDefaultTypeInternal() {}
union {
SkillRecharge _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SkillRechargeDefaultTypeInternal _SkillRecharge_default_instance_;
inline constexpr SetSpell::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: spellid_{0},
spelltype_{0},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SetSpell::SetSpell(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SetSpellDefaultTypeInternal {
PROTOBUF_CONSTEXPR SetSpellDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SetSpellDefaultTypeInternal() {}
union {
SetSpell _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSpellDefaultTypeInternal _SetSpell_default_instance_;
inline constexpr SetFPS::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: fps_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SetFPS::SetFPS(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SetFPSDefaultTypeInternal {
PROTOBUF_CONSTEXPR SetFPSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SetFPSDefaultTypeInternal() {}
union {
SetFPS _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetFPSDefaultTypeInternal _SetFPS_default_instance_;
inline constexpr SellItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SellItem::SellItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SellItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR SellItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SellItemDefaultTypeInternal() {}
union {
SellItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SellItemDefaultTypeInternal _SellItem_default_instance_;
inline constexpr SelectStoreOption::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: option_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SelectStoreOption::SelectStoreOption(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SelectStoreOptionDefaultTypeInternal {
PROTOBUF_CONSTEXPR SelectStoreOptionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SelectStoreOptionDefaultTypeInternal() {}
union {
SelectStoreOption _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectStoreOptionDefaultTypeInternal _SelectStoreOption_default_instance_;
inline constexpr SaveGame::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR SaveGame::SaveGame(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct SaveGameDefaultTypeInternal {
PROTOBUF_CONSTEXPR SaveGameDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~SaveGameDefaultTypeInternal() {}
union {
SaveGame _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SaveGameDefaultTypeInternal _SaveGame_default_instance_;
inline constexpr RepairItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR RepairItem::RepairItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct RepairItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR RepairItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~RepairItemDefaultTypeInternal() {}
union {
RepairItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RepairItemDefaultTypeInternal _RepairItem_default_instance_;
inline constexpr RechargeItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR RechargeItem::RechargeItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct RechargeItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR RechargeItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~RechargeItemDefaultTypeInternal() {}
union {
RechargeItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RechargeItemDefaultTypeInternal _RechargeItem_default_instance_;
inline constexpr Quit::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR Quit::Quit(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct QuitDefaultTypeInternal {
PROTOBUF_CONSTEXPR QuitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~QuitDefaultTypeInternal() {}
union {
Quit _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuitDefaultTypeInternal _Quit_default_instance_;
inline constexpr PutInCursor::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR PutInCursor::PutInCursor(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct PutInCursorDefaultTypeInternal {
PROTOBUF_CONSTEXPR PutInCursorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~PutInCursorDefaultTypeInternal() {}
union {
PutInCursor _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PutInCursorDefaultTypeInternal _PutInCursor_default_instance_;
inline constexpr PutCursorItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: target_{0},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR PutCursorItem::PutCursorItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct PutCursorItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR PutCursorItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~PutCursorItemDefaultTypeInternal() {}
union {
PutCursorItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PutCursorItemDefaultTypeInternal _PutCursorItem_default_instance_;
inline constexpr OperateObject::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: index_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR OperateObject::OperateObject(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct OperateObjectDefaultTypeInternal {
PROTOBUF_CONSTEXPR OperateObjectDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~OperateObjectDefaultTypeInternal() {}
union {
OperateObject _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperateObjectDefaultTypeInternal _OperateObject_default_instance_;
inline constexpr Move::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: type_{0u},
targetx_{0u},
targety_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR Move::Move(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct MoveDefaultTypeInternal {
PROTOBUF_CONSTEXPR MoveDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~MoveDefaultTypeInternal() {}
union {
Move _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MoveDefaultTypeInternal _Move_default_instance_;
inline constexpr IncreaseStat::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: stat_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR IncreaseStat::IncreaseStat(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct IncreaseStatDefaultTypeInternal {
PROTOBUF_CONSTEXPR IncreaseStatDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~IncreaseStatDefaultTypeInternal() {}
union {
IncreaseStat _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IncreaseStatDefaultTypeInternal _IncreaseStat_default_instance_;
inline constexpr IdentifyStoreItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR IdentifyStoreItem::IdentifyStoreItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct IdentifyStoreItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR IdentifyStoreItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~IdentifyStoreItemDefaultTypeInternal() {}
union {
IdentifyStoreItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IdentifyStoreItemDefaultTypeInternal _IdentifyStoreItem_default_instance_;
inline constexpr IdentifyItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR IdentifyItem::IdentifyItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct IdentifyItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR IdentifyItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~IdentifyItemDefaultTypeInternal() {}
union {
IdentifyItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IdentifyItemDefaultTypeInternal _IdentifyItem_default_instance_;
inline constexpr GetItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GetItem::GetItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct GetItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR GetItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GetItemDefaultTypeInternal() {}
union {
GetItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetItemDefaultTypeInternal _GetItem_default_instance_;
inline constexpr DropCursorItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR DropCursorItem::DropCursorItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct DropCursorItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR DropCursorItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~DropCursorItemDefaultTypeInternal() {}
union {
DropCursorItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropCursorItemDefaultTypeInternal _DropCursorItem_default_instance_;
inline constexpr DisarmTrap::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: index_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR DisarmTrap::DisarmTrap(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct DisarmTrapDefaultTypeInternal {
PROTOBUF_CONSTEXPR DisarmTrapDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~DisarmTrapDefaultTypeInternal() {}
union {
DisarmTrap _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisarmTrapDefaultTypeInternal _DisarmTrap_default_instance_;
inline constexpr ClearCursor::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR ClearCursor::ClearCursor(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct ClearCursorDefaultTypeInternal {
PROTOBUF_CONSTEXPR ClearCursorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ClearCursorDefaultTypeInternal() {}
union {
ClearCursor _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ClearCursorDefaultTypeInternal _ClearCursor_default_instance_;
inline constexpr CastXY::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: x_{0},
y_{0},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR CastXY::CastXY(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct CastXYDefaultTypeInternal {
PROTOBUF_CONSTEXPR CastXYDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~CastXYDefaultTypeInternal() {}
union {
CastXY _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CastXYDefaultTypeInternal _CastXY_default_instance_;
inline constexpr CastMonster::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: index_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR CastMonster::CastMonster(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct CastMonsterDefaultTypeInternal {
PROTOBUF_CONSTEXPR CastMonsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~CastMonsterDefaultTypeInternal() {}
union {
CastMonster _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CastMonsterDefaultTypeInternal _CastMonster_default_instance_;
inline constexpr CancelQText::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR CancelQText::CancelQText(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct CancelQTextDefaultTypeInternal {
PROTOBUF_CONSTEXPR CancelQTextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~CancelQTextDefaultTypeInternal() {}
union {
CancelQText _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelQTextDefaultTypeInternal _CancelQText_default_instance_;
inline constexpr BuyItem::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: id_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR BuyItem::BuyItem(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct BuyItemDefaultTypeInternal {
PROTOBUF_CONSTEXPR BuyItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~BuyItemDefaultTypeInternal() {}
union {
BuyItem _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuyItemDefaultTypeInternal _BuyItem_default_instance_;
inline constexpr AttackXY::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: x_{0},
y_{0},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR AttackXY::AttackXY(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct AttackXYDefaultTypeInternal {
PROTOBUF_CONSTEXPR AttackXYDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~AttackXYDefaultTypeInternal() {}
union {
AttackXY _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttackXYDefaultTypeInternal _AttackXY_default_instance_;
inline constexpr AttackMonster::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: index_{0u},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR AttackMonster::AttackMonster(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct AttackMonsterDefaultTypeInternal {
PROTOBUF_CONSTEXPR AttackMonsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~AttackMonsterDefaultTypeInternal() {}
union {
AttackMonster _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttackMonsterDefaultTypeInternal _AttackMonster_default_instance_;
inline constexpr Command::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: command_{},
_cached_size_{0},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR Command::Command(::_pbi::ConstantInitialized)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(_class_data_.base()),
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(),
#endif // PROTOBUF_CUSTOM_VTABLE
_impl_(::_pbi::ConstantInitialized()) {
}
struct CommandDefaultTypeInternal {
PROTOBUF_CONSTEXPR CommandDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~CommandDefaultTypeInternal() {}
union {
Command _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommandDefaultTypeInternal _Command_default_instance_;
} // namespace commands
} // namespace dapi
namespace dapi {
namespace commands {
// ===================================================================
class SetFPS::_Internal {
public:
};
SetFPS::SetFPS(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SetFPS)
}
SetFPS::SetFPS(
::google::protobuf::Arena* arena, const SetFPS& from)
: SetFPS(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SetFPS::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SetFPS::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.fps_ = {};
}
SetFPS::~SetFPS() {
// @@protoc_insertion_point(destructor:dapi.commands.SetFPS)
SharedDtor(*this);
}
inline void SetFPS::SharedDtor(MessageLite& self) {
SetFPS& this_ = static_cast<SetFPS&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SetFPS::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SetFPS(arena);
}
constexpr auto SetFPS::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetFPS),
alignof(SetFPS));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<21> SetFPS::_class_data_ = {
{
&_SetFPS_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SetFPS::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SetFPS>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SetFPS::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SetFPS>(), &SetFPS::ByteSizeLong,
&SetFPS::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SetFPS, _impl_._cached_size_),
true,
},
"dapi.commands.SetFPS",
};
const ::google::protobuf::internal::ClassData* SetFPS::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetFPS::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SetFPS>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 FPS = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SetFPS, _impl_.fps_)}},
}}, {{
65535, 65535
}}, {{
// uint32 FPS = 1;
{PROTOBUF_FIELD_OFFSET(SetFPS, _impl_.fps_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SetFPS::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SetFPS)
::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_.fps_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SetFPS::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SetFPS& this_ = static_cast<const SetFPS&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SetFPS::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SetFPS& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SetFPS)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 FPS = 1;
if (this_._internal_fps() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_fps(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SetFPS)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SetFPS::ByteSizeLong(const MessageLite& base) {
const SetFPS& this_ = static_cast<const SetFPS&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SetFPS::ByteSizeLong() const {
const SetFPS& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SetFPS)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 FPS = 1;
if (this_._internal_fps() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_fps());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SetFPS::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SetFPS*>(&to_msg);
auto& from = static_cast<const SetFPS&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SetFPS)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_fps() != 0) {
_this->_impl_.fps_ = from._impl_.fps_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SetFPS::CopyFrom(const SetFPS& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SetFPS)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SetFPS::InternalSwap(SetFPS* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.fps_, other->_impl_.fps_);
}
// ===================================================================
class CancelQText::_Internal {
public:
};
CancelQText::CancelQText(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.CancelQText)
}
CancelQText::CancelQText(
::google::protobuf::Arena* arena, const CancelQText& from)
: CancelQText(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE CancelQText::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void CancelQText::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
CancelQText::~CancelQText() {
// @@protoc_insertion_point(destructor:dapi.commands.CancelQText)
SharedDtor(*this);
}
inline void CancelQText::SharedDtor(MessageLite& self) {
CancelQText& this_ = static_cast<CancelQText&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* CancelQText::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) CancelQText(arena);
}
constexpr auto CancelQText::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CancelQText),
alignof(CancelQText));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> CancelQText::_class_data_ = {
{
&_CancelQText_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&CancelQText::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<CancelQText>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&CancelQText::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<CancelQText>(), &CancelQText::ByteSizeLong,
&CancelQText::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(CancelQText, _impl_._cached_size_),
true,
},
"dapi.commands.CancelQText",
};
const ::google::protobuf::internal::ClassData* CancelQText::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> CancelQText::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::CancelQText>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void CancelQText::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.CancelQText)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* CancelQText::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const CancelQText& this_ = static_cast<const CancelQText&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* CancelQText::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const CancelQText& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.CancelQText)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.CancelQText)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CancelQText::ByteSizeLong(const MessageLite& base) {
const CancelQText& this_ = static_cast<const CancelQText&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t CancelQText::ByteSizeLong() const {
const CancelQText& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.CancelQText)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void CancelQText::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<CancelQText*>(&to_msg);
auto& from = static_cast<const CancelQText&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.CancelQText)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void CancelQText::CopyFrom(const CancelQText& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.CancelQText)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CancelQText::InternalSwap(CancelQText* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class Move::_Internal {
public:
};
Move::Move(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.Move)
}
Move::Move(
::google::protobuf::Arena* arena, const Move& from)
: Move(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE Move::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void Move::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, type_),
0,
offsetof(Impl_, targety_) -
offsetof(Impl_, type_) +
sizeof(Impl_::targety_));
}
Move::~Move() {
// @@protoc_insertion_point(destructor:dapi.commands.Move)
SharedDtor(*this);
}
inline void Move::SharedDtor(MessageLite& self) {
Move& this_ = static_cast<Move&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* Move::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Move(arena);
}
constexpr auto Move::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Move),
alignof(Move));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<19> Move::_class_data_ = {
{
&_Move_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Move::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<Move>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Move::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<Move>(), &Move::ByteSizeLong,
&Move::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Move, _impl_._cached_size_),
true,
},
"dapi.commands.Move",
};
const ::google::protobuf::internal::ClassData* Move::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> Move::_table_ = {
{
0, // no _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
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::Move>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
// uint32 type = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Move, _impl_.type_)}},
// uint32 targetX = 2;
{::_pbi::TcParser::FastV32S1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(Move, _impl_.targetx_)}},
// uint32 targetY = 3;
{::_pbi::TcParser::FastV32S1,
{24, 63, 0, PROTOBUF_FIELD_OFFSET(Move, _impl_.targety_)}},
}}, {{
65535, 65535
}}, {{
// uint32 type = 1;
{PROTOBUF_FIELD_OFFSET(Move, _impl_.type_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
// uint32 targetX = 2;
{PROTOBUF_FIELD_OFFSET(Move, _impl_.targetx_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
// uint32 targetY = 3;
{PROTOBUF_FIELD_OFFSET(Move, _impl_.targety_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void Move::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.Move)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&_impl_.type_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.targety_) -
reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.targety_));
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Move::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Move& this_ = static_cast<const Move&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Move::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Move& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.Move)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 type = 1;
if (this_._internal_type() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_type(), target);
}
// uint32 targetX = 2;
if (this_._internal_targetx() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2, this_._internal_targetx(), target);
}
// uint32 targetY = 3;
if (this_._internal_targety() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3, this_._internal_targety(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.Move)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Move::ByteSizeLong(const MessageLite& base) {
const Move& this_ = static_cast<const Move&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Move::ByteSizeLong() const {
const Move& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.Move)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// uint32 type = 1;
if (this_._internal_type() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_type());
}
// uint32 targetX = 2;
if (this_._internal_targetx() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_targetx());
}
// uint32 targetY = 3;
if (this_._internal_targety() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_targety());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void Move::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Move*>(&to_msg);
auto& from = static_cast<const Move&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.Move)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_type() != 0) {
_this->_impl_.type_ = from._impl_.type_;
}
if (from._internal_targetx() != 0) {
_this->_impl_.targetx_ = from._impl_.targetx_;
}
if (from._internal_targety() != 0) {
_this->_impl_.targety_ = from._impl_.targety_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void Move::CopyFrom(const Move& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.Move)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Move::InternalSwap(Move* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(Move, _impl_.targety_)
+ sizeof(Move::_impl_.targety_)
- PROTOBUF_FIELD_OFFSET(Move, _impl_.type_)>(
reinterpret_cast<char*>(&_impl_.type_),
reinterpret_cast<char*>(&other->_impl_.type_));
}
// ===================================================================
class Talk::_Internal {
public:
};
Talk::Talk(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.Talk)
}
Talk::Talk(
::google::protobuf::Arena* arena, const Talk& from)
: Talk(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE Talk::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void Talk::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, targetx_),
0,
offsetof(Impl_, targety_) -
offsetof(Impl_, targetx_) +
sizeof(Impl_::targety_));
}
Talk::~Talk() {
// @@protoc_insertion_point(destructor:dapi.commands.Talk)
SharedDtor(*this);
}
inline void Talk::SharedDtor(MessageLite& self) {
Talk& this_ = static_cast<Talk&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* Talk::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Talk(arena);
}
constexpr auto Talk::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Talk),
alignof(Talk));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<19> Talk::_class_data_ = {
{
&_Talk_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Talk::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<Talk>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Talk::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<Talk>(), &Talk::ByteSizeLong,
&Talk::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Talk, _impl_._cached_size_),
true,
},
"dapi.commands.Talk",
};
const ::google::protobuf::internal::ClassData* Talk::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> Talk::_table_ = {
{
0, // no _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
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::Talk>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 targetY = 2;
{::_pbi::TcParser::FastV32S1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(Talk, _impl_.targety_)}},
// uint32 targetX = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Talk, _impl_.targetx_)}},
}}, {{
65535, 65535
}}, {{
// uint32 targetX = 1;
{PROTOBUF_FIELD_OFFSET(Talk, _impl_.targetx_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
// uint32 targetY = 2;
{PROTOBUF_FIELD_OFFSET(Talk, _impl_.targety_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void Talk::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.Talk)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&_impl_.targetx_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.targety_) -
reinterpret_cast<char*>(&_impl_.targetx_)) + sizeof(_impl_.targety_));
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Talk::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Talk& this_ = static_cast<const Talk&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Talk::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Talk& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.Talk)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 targetX = 1;
if (this_._internal_targetx() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_targetx(), target);
}
// uint32 targetY = 2;
if (this_._internal_targety() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2, this_._internal_targety(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.Talk)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Talk::ByteSizeLong(const MessageLite& base) {
const Talk& this_ = static_cast<const Talk&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Talk::ByteSizeLong() const {
const Talk& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.Talk)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// uint32 targetX = 1;
if (this_._internal_targetx() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_targetx());
}
// uint32 targetY = 2;
if (this_._internal_targety() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_targety());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void Talk::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Talk*>(&to_msg);
auto& from = static_cast<const Talk&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.Talk)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_targetx() != 0) {
_this->_impl_.targetx_ = from._impl_.targetx_;
}
if (from._internal_targety() != 0) {
_this->_impl_.targety_ = from._impl_.targety_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void Talk::CopyFrom(const Talk& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.Talk)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Talk::InternalSwap(Talk* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(Talk, _impl_.targety_)
+ sizeof(Talk::_impl_.targety_)
- PROTOBUF_FIELD_OFFSET(Talk, _impl_.targetx_)>(
reinterpret_cast<char*>(&_impl_.targetx_),
reinterpret_cast<char*>(&other->_impl_.targetx_));
}
// ===================================================================
class SelectStoreOption::_Internal {
public:
};
SelectStoreOption::SelectStoreOption(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SelectStoreOption)
}
SelectStoreOption::SelectStoreOption(
::google::protobuf::Arena* arena, const SelectStoreOption& from)
: SelectStoreOption(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SelectStoreOption::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SelectStoreOption::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.option_ = {};
}
SelectStoreOption::~SelectStoreOption() {
// @@protoc_insertion_point(destructor:dapi.commands.SelectStoreOption)
SharedDtor(*this);
}
inline void SelectStoreOption::SharedDtor(MessageLite& self) {
SelectStoreOption& this_ = static_cast<SelectStoreOption&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SelectStoreOption::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SelectStoreOption(arena);
}
constexpr auto SelectStoreOption::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SelectStoreOption),
alignof(SelectStoreOption));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<32> SelectStoreOption::_class_data_ = {
{
&_SelectStoreOption_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SelectStoreOption::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SelectStoreOption>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SelectStoreOption::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SelectStoreOption>(), &SelectStoreOption::ByteSizeLong,
&SelectStoreOption::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SelectStoreOption, _impl_._cached_size_),
true,
},
"dapi.commands.SelectStoreOption",
};
const ::google::protobuf::internal::ClassData* SelectStoreOption::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SelectStoreOption::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SelectStoreOption>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 option = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SelectStoreOption, _impl_.option_)}},
}}, {{
65535, 65535
}}, {{
// uint32 option = 1;
{PROTOBUF_FIELD_OFFSET(SelectStoreOption, _impl_.option_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SelectStoreOption::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SelectStoreOption)
::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_.option_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SelectStoreOption::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SelectStoreOption& this_ = static_cast<const SelectStoreOption&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SelectStoreOption::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SelectStoreOption& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SelectStoreOption)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 option = 1;
if (this_._internal_option() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_option(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SelectStoreOption)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SelectStoreOption::ByteSizeLong(const MessageLite& base) {
const SelectStoreOption& this_ = static_cast<const SelectStoreOption&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SelectStoreOption::ByteSizeLong() const {
const SelectStoreOption& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SelectStoreOption)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 option = 1;
if (this_._internal_option() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_option());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SelectStoreOption::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SelectStoreOption*>(&to_msg);
auto& from = static_cast<const SelectStoreOption&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SelectStoreOption)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_option() != 0) {
_this->_impl_.option_ = from._impl_.option_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SelectStoreOption::CopyFrom(const SelectStoreOption& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SelectStoreOption)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SelectStoreOption::InternalSwap(SelectStoreOption* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.option_, other->_impl_.option_);
}
// ===================================================================
class BuyItem::_Internal {
public:
};
BuyItem::BuyItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.BuyItem)
}
BuyItem::BuyItem(
::google::protobuf::Arena* arena, const BuyItem& from)
: BuyItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE BuyItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void BuyItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
BuyItem::~BuyItem() {
// @@protoc_insertion_point(destructor:dapi.commands.BuyItem)
SharedDtor(*this);
}
inline void BuyItem::SharedDtor(MessageLite& self) {
BuyItem& this_ = static_cast<BuyItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* BuyItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) BuyItem(arena);
}
constexpr auto BuyItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BuyItem),
alignof(BuyItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<22> BuyItem::_class_data_ = {
{
&_BuyItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&BuyItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<BuyItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&BuyItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<BuyItem>(), &BuyItem::ByteSizeLong,
&BuyItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(BuyItem, _impl_._cached_size_),
true,
},
"dapi.commands.BuyItem",
};
const ::google::protobuf::internal::ClassData* BuyItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BuyItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::BuyItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(BuyItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(BuyItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void BuyItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.BuyItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* BuyItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const BuyItem& this_ = static_cast<const BuyItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* BuyItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const BuyItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.BuyItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.BuyItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BuyItem::ByteSizeLong(const MessageLite& base) {
const BuyItem& this_ = static_cast<const BuyItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t BuyItem::ByteSizeLong() const {
const BuyItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.BuyItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void BuyItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<BuyItem*>(&to_msg);
auto& from = static_cast<const BuyItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.BuyItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void BuyItem::CopyFrom(const BuyItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.BuyItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void BuyItem::InternalSwap(BuyItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class SellItem::_Internal {
public:
};
SellItem::SellItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SellItem)
}
SellItem::SellItem(
::google::protobuf::Arena* arena, const SellItem& from)
: SellItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SellItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SellItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
SellItem::~SellItem() {
// @@protoc_insertion_point(destructor:dapi.commands.SellItem)
SharedDtor(*this);
}
inline void SellItem::SharedDtor(MessageLite& self) {
SellItem& this_ = static_cast<SellItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SellItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SellItem(arena);
}
constexpr auto SellItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SellItem),
alignof(SellItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<23> SellItem::_class_data_ = {
{
&_SellItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SellItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SellItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SellItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SellItem>(), &SellItem::ByteSizeLong,
&SellItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SellItem, _impl_._cached_size_),
true,
},
"dapi.commands.SellItem",
};
const ::google::protobuf::internal::ClassData* SellItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SellItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SellItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SellItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(SellItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SellItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SellItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SellItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SellItem& this_ = static_cast<const SellItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SellItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SellItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SellItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SellItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SellItem::ByteSizeLong(const MessageLite& base) {
const SellItem& this_ = static_cast<const SellItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SellItem::ByteSizeLong() const {
const SellItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SellItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SellItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SellItem*>(&to_msg);
auto& from = static_cast<const SellItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SellItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SellItem::CopyFrom(const SellItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SellItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SellItem::InternalSwap(SellItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class RechargeItem::_Internal {
public:
};
RechargeItem::RechargeItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.RechargeItem)
}
RechargeItem::RechargeItem(
::google::protobuf::Arena* arena, const RechargeItem& from)
: RechargeItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE RechargeItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void RechargeItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
RechargeItem::~RechargeItem() {
// @@protoc_insertion_point(destructor:dapi.commands.RechargeItem)
SharedDtor(*this);
}
inline void RechargeItem::SharedDtor(MessageLite& self) {
RechargeItem& this_ = static_cast<RechargeItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* RechargeItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) RechargeItem(arena);
}
constexpr auto RechargeItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RechargeItem),
alignof(RechargeItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<27> RechargeItem::_class_data_ = {
{
&_RechargeItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&RechargeItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<RechargeItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&RechargeItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<RechargeItem>(), &RechargeItem::ByteSizeLong,
&RechargeItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(RechargeItem, _impl_._cached_size_),
true,
},
"dapi.commands.RechargeItem",
};
const ::google::protobuf::internal::ClassData* RechargeItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> RechargeItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::RechargeItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(RechargeItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(RechargeItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void RechargeItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.RechargeItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* RechargeItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const RechargeItem& this_ = static_cast<const RechargeItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* RechargeItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const RechargeItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.RechargeItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.RechargeItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t RechargeItem::ByteSizeLong(const MessageLite& base) {
const RechargeItem& this_ = static_cast<const RechargeItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t RechargeItem::ByteSizeLong() const {
const RechargeItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.RechargeItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void RechargeItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<RechargeItem*>(&to_msg);
auto& from = static_cast<const RechargeItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.RechargeItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void RechargeItem::CopyFrom(const RechargeItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.RechargeItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void RechargeItem::InternalSwap(RechargeItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class RepairItem::_Internal {
public:
};
RepairItem::RepairItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.RepairItem)
}
RepairItem::RepairItem(
::google::protobuf::Arena* arena, const RepairItem& from)
: RepairItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE RepairItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void RepairItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
RepairItem::~RepairItem() {
// @@protoc_insertion_point(destructor:dapi.commands.RepairItem)
SharedDtor(*this);
}
inline void RepairItem::SharedDtor(MessageLite& self) {
RepairItem& this_ = static_cast<RepairItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* RepairItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) RepairItem(arena);
}
constexpr auto RepairItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RepairItem),
alignof(RepairItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<25> RepairItem::_class_data_ = {
{
&_RepairItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&RepairItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<RepairItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&RepairItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<RepairItem>(), &RepairItem::ByteSizeLong,
&RepairItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(RepairItem, _impl_._cached_size_),
true,
},
"dapi.commands.RepairItem",
};
const ::google::protobuf::internal::ClassData* RepairItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> RepairItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::RepairItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(RepairItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(RepairItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void RepairItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.RepairItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* RepairItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const RepairItem& this_ = static_cast<const RepairItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* RepairItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const RepairItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.RepairItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.RepairItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t RepairItem::ByteSizeLong(const MessageLite& base) {
const RepairItem& this_ = static_cast<const RepairItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t RepairItem::ByteSizeLong() const {
const RepairItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.RepairItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void RepairItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<RepairItem*>(&to_msg);
auto& from = static_cast<const RepairItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.RepairItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void RepairItem::CopyFrom(const RepairItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.RepairItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void RepairItem::InternalSwap(RepairItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class AttackMonster::_Internal {
public:
};
AttackMonster::AttackMonster(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.AttackMonster)
}
AttackMonster::AttackMonster(
::google::protobuf::Arena* arena, const AttackMonster& from)
: AttackMonster(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE AttackMonster::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void AttackMonster::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.index_ = {};
}
AttackMonster::~AttackMonster() {
// @@protoc_insertion_point(destructor:dapi.commands.AttackMonster)
SharedDtor(*this);
}
inline void AttackMonster::SharedDtor(MessageLite& self) {
AttackMonster& this_ = static_cast<AttackMonster&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* AttackMonster::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) AttackMonster(arena);
}
constexpr auto AttackMonster::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AttackMonster),
alignof(AttackMonster));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<28> AttackMonster::_class_data_ = {
{
&_AttackMonster_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&AttackMonster::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<AttackMonster>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&AttackMonster::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<AttackMonster>(), &AttackMonster::ByteSizeLong,
&AttackMonster::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(AttackMonster, _impl_._cached_size_),
true,
},
"dapi.commands.AttackMonster",
};
const ::google::protobuf::internal::ClassData* AttackMonster::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> AttackMonster::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::AttackMonster>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 index = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(AttackMonster, _impl_.index_)}},
}}, {{
65535, 65535
}}, {{
// uint32 index = 1;
{PROTOBUF_FIELD_OFFSET(AttackMonster, _impl_.index_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void AttackMonster::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.AttackMonster)
::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_.index_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* AttackMonster::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const AttackMonster& this_ = static_cast<const AttackMonster&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* AttackMonster::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const AttackMonster& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.AttackMonster)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 index = 1;
if (this_._internal_index() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.AttackMonster)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AttackMonster::ByteSizeLong(const MessageLite& base) {
const AttackMonster& this_ = static_cast<const AttackMonster&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t AttackMonster::ByteSizeLong() const {
const AttackMonster& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.AttackMonster)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 index = 1;
if (this_._internal_index() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_index());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void AttackMonster::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<AttackMonster*>(&to_msg);
auto& from = static_cast<const AttackMonster&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.AttackMonster)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_index() != 0) {
_this->_impl_.index_ = from._impl_.index_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void AttackMonster::CopyFrom(const AttackMonster& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.AttackMonster)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void AttackMonster::InternalSwap(AttackMonster* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.index_, other->_impl_.index_);
}
// ===================================================================
class AttackXY::_Internal {
public:
};
AttackXY::AttackXY(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.AttackXY)
}
AttackXY::AttackXY(
::google::protobuf::Arena* arena, const AttackXY& from)
: AttackXY(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE AttackXY::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void AttackXY::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, x_),
0,
offsetof(Impl_, y_) -
offsetof(Impl_, x_) +
sizeof(Impl_::y_));
}
AttackXY::~AttackXY() {
// @@protoc_insertion_point(destructor:dapi.commands.AttackXY)
SharedDtor(*this);
}
inline void AttackXY::SharedDtor(MessageLite& self) {
AttackXY& this_ = static_cast<AttackXY&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* AttackXY::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) AttackXY(arena);
}
constexpr auto AttackXY::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AttackXY),
alignof(AttackXY));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<23> AttackXY::_class_data_ = {
{
&_AttackXY_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&AttackXY::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<AttackXY>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&AttackXY::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<AttackXY>(), &AttackXY::ByteSizeLong,
&AttackXY::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(AttackXY, _impl_._cached_size_),
true,
},
"dapi.commands.AttackXY",
};
const ::google::protobuf::internal::ClassData* AttackXY::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> AttackXY::_table_ = {
{
0, // no _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
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::AttackXY>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// sint32 y = 2;
{::_pbi::TcParser::FastZ32S1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.y_)}},
// sint32 x = 1;
{::_pbi::TcParser::FastZ32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.x_)}},
}}, {{
65535, 65535
}}, {{
// sint32 x = 1;
{PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.x_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
// sint32 y = 2;
{PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.y_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void AttackXY::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.AttackXY)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&_impl_.x_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.y_) -
reinterpret_cast<char*>(&_impl_.x_)) + sizeof(_impl_.y_));
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* AttackXY::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const AttackXY& this_ = static_cast<const AttackXY&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* AttackXY::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const AttackXY& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.AttackXY)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// sint32 x = 1;
if (this_._internal_x() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
1, this_._internal_x(), target);
}
// sint32 y = 2;
if (this_._internal_y() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
2, this_._internal_y(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.AttackXY)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AttackXY::ByteSizeLong(const MessageLite& base) {
const AttackXY& this_ = static_cast<const AttackXY&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t AttackXY::ByteSizeLong() const {
const AttackXY& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.AttackXY)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// sint32 x = 1;
if (this_._internal_x() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_x());
}
// sint32 y = 2;
if (this_._internal_y() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_y());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void AttackXY::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<AttackXY*>(&to_msg);
auto& from = static_cast<const AttackXY&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.AttackXY)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_x() != 0) {
_this->_impl_.x_ = from._impl_.x_;
}
if (from._internal_y() != 0) {
_this->_impl_.y_ = from._impl_.y_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void AttackXY::CopyFrom(const AttackXY& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.AttackXY)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void AttackXY::InternalSwap(AttackXY* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.y_)
+ sizeof(AttackXY::_impl_.y_)
- PROTOBUF_FIELD_OFFSET(AttackXY, _impl_.x_)>(
reinterpret_cast<char*>(&_impl_.x_),
reinterpret_cast<char*>(&other->_impl_.x_));
}
// ===================================================================
class OperateObject::_Internal {
public:
};
OperateObject::OperateObject(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.OperateObject)
}
OperateObject::OperateObject(
::google::protobuf::Arena* arena, const OperateObject& from)
: OperateObject(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE OperateObject::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void OperateObject::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.index_ = {};
}
OperateObject::~OperateObject() {
// @@protoc_insertion_point(destructor:dapi.commands.OperateObject)
SharedDtor(*this);
}
inline void OperateObject::SharedDtor(MessageLite& self) {
OperateObject& this_ = static_cast<OperateObject&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* OperateObject::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) OperateObject(arena);
}
constexpr auto OperateObject::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OperateObject),
alignof(OperateObject));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<28> OperateObject::_class_data_ = {
{
&_OperateObject_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&OperateObject::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<OperateObject>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&OperateObject::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<OperateObject>(), &OperateObject::ByteSizeLong,
&OperateObject::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(OperateObject, _impl_._cached_size_),
true,
},
"dapi.commands.OperateObject",
};
const ::google::protobuf::internal::ClassData* OperateObject::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> OperateObject::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::OperateObject>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 index = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(OperateObject, _impl_.index_)}},
}}, {{
65535, 65535
}}, {{
// uint32 index = 1;
{PROTOBUF_FIELD_OFFSET(OperateObject, _impl_.index_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void OperateObject::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.OperateObject)
::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_.index_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* OperateObject::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const OperateObject& this_ = static_cast<const OperateObject&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* OperateObject::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const OperateObject& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.OperateObject)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 index = 1;
if (this_._internal_index() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.OperateObject)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OperateObject::ByteSizeLong(const MessageLite& base) {
const OperateObject& this_ = static_cast<const OperateObject&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t OperateObject::ByteSizeLong() const {
const OperateObject& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.OperateObject)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 index = 1;
if (this_._internal_index() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_index());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void OperateObject::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<OperateObject*>(&to_msg);
auto& from = static_cast<const OperateObject&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.OperateObject)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_index() != 0) {
_this->_impl_.index_ = from._impl_.index_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void OperateObject::CopyFrom(const OperateObject& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.OperateObject)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void OperateObject::InternalSwap(OperateObject* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.index_, other->_impl_.index_);
}
// ===================================================================
class UseBeltItem::_Internal {
public:
};
UseBeltItem::UseBeltItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.UseBeltItem)
}
UseBeltItem::UseBeltItem(
::google::protobuf::Arena* arena, const UseBeltItem& from)
: UseBeltItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE UseBeltItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void UseBeltItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.slot_ = {};
}
UseBeltItem::~UseBeltItem() {
// @@protoc_insertion_point(destructor:dapi.commands.UseBeltItem)
SharedDtor(*this);
}
inline void UseBeltItem::SharedDtor(MessageLite& self) {
UseBeltItem& this_ = static_cast<UseBeltItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* UseBeltItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) UseBeltItem(arena);
}
constexpr auto UseBeltItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UseBeltItem),
alignof(UseBeltItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> UseBeltItem::_class_data_ = {
{
&_UseBeltItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&UseBeltItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<UseBeltItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&UseBeltItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<UseBeltItem>(), &UseBeltItem::ByteSizeLong,
&UseBeltItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(UseBeltItem, _impl_._cached_size_),
true,
},
"dapi.commands.UseBeltItem",
};
const ::google::protobuf::internal::ClassData* UseBeltItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UseBeltItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::UseBeltItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 slot = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UseBeltItem, _impl_.slot_)}},
}}, {{
65535, 65535
}}, {{
// uint32 slot = 1;
{PROTOBUF_FIELD_OFFSET(UseBeltItem, _impl_.slot_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void UseBeltItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.UseBeltItem)
::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_.slot_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* UseBeltItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const UseBeltItem& this_ = static_cast<const UseBeltItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* UseBeltItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const UseBeltItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.UseBeltItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 slot = 1;
if (this_._internal_slot() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_slot(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.UseBeltItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UseBeltItem::ByteSizeLong(const MessageLite& base) {
const UseBeltItem& this_ = static_cast<const UseBeltItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t UseBeltItem::ByteSizeLong() const {
const UseBeltItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.UseBeltItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 slot = 1;
if (this_._internal_slot() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_slot());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void UseBeltItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<UseBeltItem*>(&to_msg);
auto& from = static_cast<const UseBeltItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.UseBeltItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_slot() != 0) {
_this->_impl_.slot_ = from._impl_.slot_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void UseBeltItem::CopyFrom(const UseBeltItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.UseBeltItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void UseBeltItem::InternalSwap(UseBeltItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.slot_, other->_impl_.slot_);
}
// ===================================================================
class ToggleCharacterSheet::_Internal {
public:
};
ToggleCharacterSheet::ToggleCharacterSheet(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.ToggleCharacterSheet)
}
ToggleCharacterSheet::ToggleCharacterSheet(
::google::protobuf::Arena* arena, const ToggleCharacterSheet& from)
: ToggleCharacterSheet(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE ToggleCharacterSheet::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void ToggleCharacterSheet::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
ToggleCharacterSheet::~ToggleCharacterSheet() {
// @@protoc_insertion_point(destructor:dapi.commands.ToggleCharacterSheet)
SharedDtor(*this);
}
inline void ToggleCharacterSheet::SharedDtor(MessageLite& self) {
ToggleCharacterSheet& this_ = static_cast<ToggleCharacterSheet&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* ToggleCharacterSheet::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) ToggleCharacterSheet(arena);
}
constexpr auto ToggleCharacterSheet::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ToggleCharacterSheet),
alignof(ToggleCharacterSheet));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<35> ToggleCharacterSheet::_class_data_ = {
{
&_ToggleCharacterSheet_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&ToggleCharacterSheet::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<ToggleCharacterSheet>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&ToggleCharacterSheet::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<ToggleCharacterSheet>(), &ToggleCharacterSheet::ByteSizeLong,
&ToggleCharacterSheet::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(ToggleCharacterSheet, _impl_._cached_size_),
true,
},
"dapi.commands.ToggleCharacterSheet",
};
const ::google::protobuf::internal::ClassData* ToggleCharacterSheet::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ToggleCharacterSheet::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::ToggleCharacterSheet>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void ToggleCharacterSheet::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.ToggleCharacterSheet)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ToggleCharacterSheet::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const ToggleCharacterSheet& this_ = static_cast<const ToggleCharacterSheet&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ToggleCharacterSheet::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ToggleCharacterSheet& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.ToggleCharacterSheet)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.ToggleCharacterSheet)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ToggleCharacterSheet::ByteSizeLong(const MessageLite& base) {
const ToggleCharacterSheet& this_ = static_cast<const ToggleCharacterSheet&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ToggleCharacterSheet::ByteSizeLong() const {
const ToggleCharacterSheet& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.ToggleCharacterSheet)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void ToggleCharacterSheet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ToggleCharacterSheet*>(&to_msg);
auto& from = static_cast<const ToggleCharacterSheet&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.ToggleCharacterSheet)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void ToggleCharacterSheet::CopyFrom(const ToggleCharacterSheet& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.ToggleCharacterSheet)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ToggleCharacterSheet::InternalSwap(ToggleCharacterSheet* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class IncreaseStat::_Internal {
public:
};
IncreaseStat::IncreaseStat(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.IncreaseStat)
}
IncreaseStat::IncreaseStat(
::google::protobuf::Arena* arena, const IncreaseStat& from)
: IncreaseStat(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE IncreaseStat::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void IncreaseStat::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.stat_ = {};
}
IncreaseStat::~IncreaseStat() {
// @@protoc_insertion_point(destructor:dapi.commands.IncreaseStat)
SharedDtor(*this);
}
inline void IncreaseStat::SharedDtor(MessageLite& self) {
IncreaseStat& this_ = static_cast<IncreaseStat&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* IncreaseStat::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) IncreaseStat(arena);
}
constexpr auto IncreaseStat::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IncreaseStat),
alignof(IncreaseStat));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<27> IncreaseStat::_class_data_ = {
{
&_IncreaseStat_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&IncreaseStat::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<IncreaseStat>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&IncreaseStat::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<IncreaseStat>(), &IncreaseStat::ByteSizeLong,
&IncreaseStat::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(IncreaseStat, _impl_._cached_size_),
true,
},
"dapi.commands.IncreaseStat",
};
const ::google::protobuf::internal::ClassData* IncreaseStat::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> IncreaseStat::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::IncreaseStat>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 stat = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(IncreaseStat, _impl_.stat_)}},
}}, {{
65535, 65535
}}, {{
// uint32 stat = 1;
{PROTOBUF_FIELD_OFFSET(IncreaseStat, _impl_.stat_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void IncreaseStat::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.IncreaseStat)
::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_.stat_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* IncreaseStat::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const IncreaseStat& this_ = static_cast<const IncreaseStat&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* IncreaseStat::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const IncreaseStat& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.IncreaseStat)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 stat = 1;
if (this_._internal_stat() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_stat(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.IncreaseStat)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t IncreaseStat::ByteSizeLong(const MessageLite& base) {
const IncreaseStat& this_ = static_cast<const IncreaseStat&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t IncreaseStat::ByteSizeLong() const {
const IncreaseStat& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.IncreaseStat)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 stat = 1;
if (this_._internal_stat() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_stat());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void IncreaseStat::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<IncreaseStat*>(&to_msg);
auto& from = static_cast<const IncreaseStat&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.IncreaseStat)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_stat() != 0) {
_this->_impl_.stat_ = from._impl_.stat_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void IncreaseStat::CopyFrom(const IncreaseStat& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.IncreaseStat)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void IncreaseStat::InternalSwap(IncreaseStat* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.stat_, other->_impl_.stat_);
}
// ===================================================================
class GetItem::_Internal {
public:
};
GetItem::GetItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.GetItem)
}
GetItem::GetItem(
::google::protobuf::Arena* arena, const GetItem& from)
: GetItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE GetItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void GetItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
GetItem::~GetItem() {
// @@protoc_insertion_point(destructor:dapi.commands.GetItem)
SharedDtor(*this);
}
inline void GetItem::SharedDtor(MessageLite& self) {
GetItem& this_ = static_cast<GetItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* GetItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) GetItem(arena);
}
constexpr auto GetItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetItem),
alignof(GetItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<22> GetItem::_class_data_ = {
{
&_GetItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&GetItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<GetItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&GetItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<GetItem>(), &GetItem::ByteSizeLong,
&GetItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(GetItem, _impl_._cached_size_),
true,
},
"dapi.commands.GetItem",
};
const ::google::protobuf::internal::ClassData* GetItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::GetItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(GetItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(GetItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void GetItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.GetItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* GetItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const GetItem& this_ = static_cast<const GetItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* GetItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const GetItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.GetItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.GetItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t GetItem::ByteSizeLong(const MessageLite& base) {
const GetItem& this_ = static_cast<const GetItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t GetItem::ByteSizeLong() const {
const GetItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.GetItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void GetItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<GetItem*>(&to_msg);
auto& from = static_cast<const GetItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.GetItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void GetItem::CopyFrom(const GetItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.GetItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void GetItem::InternalSwap(GetItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class SetSpell::_Internal {
public:
};
SetSpell::SetSpell(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SetSpell)
}
SetSpell::SetSpell(
::google::protobuf::Arena* arena, const SetSpell& from)
: SetSpell(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SetSpell::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SetSpell::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, spellid_),
0,
offsetof(Impl_, spelltype_) -
offsetof(Impl_, spellid_) +
sizeof(Impl_::spelltype_));
}
SetSpell::~SetSpell() {
// @@protoc_insertion_point(destructor:dapi.commands.SetSpell)
SharedDtor(*this);
}
inline void SetSpell::SharedDtor(MessageLite& self) {
SetSpell& this_ = static_cast<SetSpell&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SetSpell::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SetSpell(arena);
}
constexpr auto SetSpell::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetSpell),
alignof(SetSpell));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<23> SetSpell::_class_data_ = {
{
&_SetSpell_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SetSpell::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SetSpell>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SetSpell::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SetSpell>(), &SetSpell::ByteSizeLong,
&SetSpell::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SetSpell, _impl_._cached_size_),
true,
},
"dapi.commands.SetSpell",
};
const ::google::protobuf::internal::ClassData* SetSpell::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SetSpell::_table_ = {
{
0, // no _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
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SetSpell>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// sint32 spellType = 2;
{::_pbi::TcParser::FastZ32S1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spelltype_)}},
// sint32 spellID = 1;
{::_pbi::TcParser::FastZ32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spellid_)}},
}}, {{
65535, 65535
}}, {{
// sint32 spellID = 1;
{PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spellid_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
// sint32 spellType = 2;
{PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spelltype_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SetSpell::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SetSpell)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&_impl_.spellid_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.spelltype_) -
reinterpret_cast<char*>(&_impl_.spellid_)) + sizeof(_impl_.spelltype_));
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SetSpell::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SetSpell& this_ = static_cast<const SetSpell&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SetSpell::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SetSpell& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SetSpell)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// sint32 spellID = 1;
if (this_._internal_spellid() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
1, this_._internal_spellid(), target);
}
// sint32 spellType = 2;
if (this_._internal_spelltype() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
2, this_._internal_spelltype(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SetSpell)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SetSpell::ByteSizeLong(const MessageLite& base) {
const SetSpell& this_ = static_cast<const SetSpell&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SetSpell::ByteSizeLong() const {
const SetSpell& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SetSpell)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// sint32 spellID = 1;
if (this_._internal_spellid() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_spellid());
}
// sint32 spellType = 2;
if (this_._internal_spelltype() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_spelltype());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SetSpell::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SetSpell*>(&to_msg);
auto& from = static_cast<const SetSpell&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SetSpell)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_spellid() != 0) {
_this->_impl_.spellid_ = from._impl_.spellid_;
}
if (from._internal_spelltype() != 0) {
_this->_impl_.spelltype_ = from._impl_.spelltype_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SetSpell::CopyFrom(const SetSpell& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SetSpell)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SetSpell::InternalSwap(SetSpell* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spelltype_)
+ sizeof(SetSpell::_impl_.spelltype_)
- PROTOBUF_FIELD_OFFSET(SetSpell, _impl_.spellid_)>(
reinterpret_cast<char*>(&_impl_.spellid_),
reinterpret_cast<char*>(&other->_impl_.spellid_));
}
// ===================================================================
class CastMonster::_Internal {
public:
};
CastMonster::CastMonster(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.CastMonster)
}
CastMonster::CastMonster(
::google::protobuf::Arena* arena, const CastMonster& from)
: CastMonster(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE CastMonster::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void CastMonster::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.index_ = {};
}
CastMonster::~CastMonster() {
// @@protoc_insertion_point(destructor:dapi.commands.CastMonster)
SharedDtor(*this);
}
inline void CastMonster::SharedDtor(MessageLite& self) {
CastMonster& this_ = static_cast<CastMonster&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* CastMonster::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) CastMonster(arena);
}
constexpr auto CastMonster::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CastMonster),
alignof(CastMonster));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> CastMonster::_class_data_ = {
{
&_CastMonster_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&CastMonster::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<CastMonster>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&CastMonster::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<CastMonster>(), &CastMonster::ByteSizeLong,
&CastMonster::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(CastMonster, _impl_._cached_size_),
true,
},
"dapi.commands.CastMonster",
};
const ::google::protobuf::internal::ClassData* CastMonster::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> CastMonster::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::CastMonster>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 index = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(CastMonster, _impl_.index_)}},
}}, {{
65535, 65535
}}, {{
// uint32 index = 1;
{PROTOBUF_FIELD_OFFSET(CastMonster, _impl_.index_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void CastMonster::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.CastMonster)
::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_.index_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* CastMonster::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const CastMonster& this_ = static_cast<const CastMonster&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* CastMonster::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const CastMonster& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.CastMonster)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 index = 1;
if (this_._internal_index() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.CastMonster)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastMonster::ByteSizeLong(const MessageLite& base) {
const CastMonster& this_ = static_cast<const CastMonster&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t CastMonster::ByteSizeLong() const {
const CastMonster& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.CastMonster)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 index = 1;
if (this_._internal_index() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_index());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void CastMonster::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<CastMonster*>(&to_msg);
auto& from = static_cast<const CastMonster&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.CastMonster)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_index() != 0) {
_this->_impl_.index_ = from._impl_.index_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void CastMonster::CopyFrom(const CastMonster& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.CastMonster)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CastMonster::InternalSwap(CastMonster* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.index_, other->_impl_.index_);
}
// ===================================================================
class CastXY::_Internal {
public:
};
CastXY::CastXY(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.CastXY)
}
CastXY::CastXY(
::google::protobuf::Arena* arena, const CastXY& from)
: CastXY(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE CastXY::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void CastXY::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, x_),
0,
offsetof(Impl_, y_) -
offsetof(Impl_, x_) +
sizeof(Impl_::y_));
}
CastXY::~CastXY() {
// @@protoc_insertion_point(destructor:dapi.commands.CastXY)
SharedDtor(*this);
}
inline void CastXY::SharedDtor(MessageLite& self) {
CastXY& this_ = static_cast<CastXY&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* CastXY::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) CastXY(arena);
}
constexpr auto CastXY::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CastXY),
alignof(CastXY));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<21> CastXY::_class_data_ = {
{
&_CastXY_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&CastXY::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<CastXY>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&CastXY::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<CastXY>(), &CastXY::ByteSizeLong,
&CastXY::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(CastXY, _impl_._cached_size_),
true,
},
"dapi.commands.CastXY",
};
const ::google::protobuf::internal::ClassData* CastXY::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> CastXY::_table_ = {
{
0, // no _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
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::CastXY>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// sint32 y = 2;
{::_pbi::TcParser::FastZ32S1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(CastXY, _impl_.y_)}},
// sint32 x = 1;
{::_pbi::TcParser::FastZ32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(CastXY, _impl_.x_)}},
}}, {{
65535, 65535
}}, {{
// sint32 x = 1;
{PROTOBUF_FIELD_OFFSET(CastXY, _impl_.x_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
// sint32 y = 2;
{PROTOBUF_FIELD_OFFSET(CastXY, _impl_.y_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void CastXY::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.CastXY)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&_impl_.x_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.y_) -
reinterpret_cast<char*>(&_impl_.x_)) + sizeof(_impl_.y_));
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* CastXY::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const CastXY& this_ = static_cast<const CastXY&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* CastXY::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const CastXY& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.CastXY)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// sint32 x = 1;
if (this_._internal_x() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
1, this_._internal_x(), target);
}
// sint32 y = 2;
if (this_._internal_y() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
2, this_._internal_y(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.CastXY)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastXY::ByteSizeLong(const MessageLite& base) {
const CastXY& this_ = static_cast<const CastXY&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t CastXY::ByteSizeLong() const {
const CastXY& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.CastXY)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// sint32 x = 1;
if (this_._internal_x() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_x());
}
// sint32 y = 2;
if (this_._internal_y() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_y());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void CastXY::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<CastXY*>(&to_msg);
auto& from = static_cast<const CastXY&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.CastXY)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_x() != 0) {
_this->_impl_.x_ = from._impl_.x_;
}
if (from._internal_y() != 0) {
_this->_impl_.y_ = from._impl_.y_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void CastXY::CopyFrom(const CastXY& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.CastXY)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CastXY::InternalSwap(CastXY* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(CastXY, _impl_.y_)
+ sizeof(CastXY::_impl_.y_)
- PROTOBUF_FIELD_OFFSET(CastXY, _impl_.x_)>(
reinterpret_cast<char*>(&_impl_.x_),
reinterpret_cast<char*>(&other->_impl_.x_));
}
// ===================================================================
class ToggleInventory::_Internal {
public:
};
ToggleInventory::ToggleInventory(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.ToggleInventory)
}
ToggleInventory::ToggleInventory(
::google::protobuf::Arena* arena, const ToggleInventory& from)
: ToggleInventory(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE ToggleInventory::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void ToggleInventory::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
ToggleInventory::~ToggleInventory() {
// @@protoc_insertion_point(destructor:dapi.commands.ToggleInventory)
SharedDtor(*this);
}
inline void ToggleInventory::SharedDtor(MessageLite& self) {
ToggleInventory& this_ = static_cast<ToggleInventory&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* ToggleInventory::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) ToggleInventory(arena);
}
constexpr auto ToggleInventory::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ToggleInventory),
alignof(ToggleInventory));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<30> ToggleInventory::_class_data_ = {
{
&_ToggleInventory_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&ToggleInventory::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<ToggleInventory>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&ToggleInventory::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<ToggleInventory>(), &ToggleInventory::ByteSizeLong,
&ToggleInventory::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(ToggleInventory, _impl_._cached_size_),
true,
},
"dapi.commands.ToggleInventory",
};
const ::google::protobuf::internal::ClassData* ToggleInventory::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ToggleInventory::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::ToggleInventory>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void ToggleInventory::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.ToggleInventory)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ToggleInventory::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const ToggleInventory& this_ = static_cast<const ToggleInventory&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ToggleInventory::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ToggleInventory& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.ToggleInventory)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.ToggleInventory)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ToggleInventory::ByteSizeLong(const MessageLite& base) {
const ToggleInventory& this_ = static_cast<const ToggleInventory&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ToggleInventory::ByteSizeLong() const {
const ToggleInventory& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.ToggleInventory)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void ToggleInventory::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ToggleInventory*>(&to_msg);
auto& from = static_cast<const ToggleInventory&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.ToggleInventory)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void ToggleInventory::CopyFrom(const ToggleInventory& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.ToggleInventory)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ToggleInventory::InternalSwap(ToggleInventory* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class PutInCursor::_Internal {
public:
};
PutInCursor::PutInCursor(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.PutInCursor)
}
PutInCursor::PutInCursor(
::google::protobuf::Arena* arena, const PutInCursor& from)
: PutInCursor(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE PutInCursor::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void PutInCursor::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
PutInCursor::~PutInCursor() {
// @@protoc_insertion_point(destructor:dapi.commands.PutInCursor)
SharedDtor(*this);
}
inline void PutInCursor::SharedDtor(MessageLite& self) {
PutInCursor& this_ = static_cast<PutInCursor&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* PutInCursor::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) PutInCursor(arena);
}
constexpr auto PutInCursor::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PutInCursor),
alignof(PutInCursor));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> PutInCursor::_class_data_ = {
{
&_PutInCursor_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&PutInCursor::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<PutInCursor>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&PutInCursor::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<PutInCursor>(), &PutInCursor::ByteSizeLong,
&PutInCursor::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(PutInCursor, _impl_._cached_size_),
true,
},
"dapi.commands.PutInCursor",
};
const ::google::protobuf::internal::ClassData* PutInCursor::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> PutInCursor::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::PutInCursor>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(PutInCursor, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(PutInCursor, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void PutInCursor::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.PutInCursor)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PutInCursor::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const PutInCursor& this_ = static_cast<const PutInCursor&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PutInCursor::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const PutInCursor& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.PutInCursor)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.PutInCursor)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PutInCursor::ByteSizeLong(const MessageLite& base) {
const PutInCursor& this_ = static_cast<const PutInCursor&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t PutInCursor::ByteSizeLong() const {
const PutInCursor& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.PutInCursor)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void PutInCursor::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<PutInCursor*>(&to_msg);
auto& from = static_cast<const PutInCursor&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.PutInCursor)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void PutInCursor::CopyFrom(const PutInCursor& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.PutInCursor)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void PutInCursor::InternalSwap(PutInCursor* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class PutCursorItem::_Internal {
public:
};
PutCursorItem::PutCursorItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.PutCursorItem)
}
PutCursorItem::PutCursorItem(
::google::protobuf::Arena* arena, const PutCursorItem& from)
: PutCursorItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE PutCursorItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void PutCursorItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.target_ = {};
}
PutCursorItem::~PutCursorItem() {
// @@protoc_insertion_point(destructor:dapi.commands.PutCursorItem)
SharedDtor(*this);
}
inline void PutCursorItem::SharedDtor(MessageLite& self) {
PutCursorItem& this_ = static_cast<PutCursorItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* PutCursorItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) PutCursorItem(arena);
}
constexpr auto PutCursorItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PutCursorItem),
alignof(PutCursorItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<28> PutCursorItem::_class_data_ = {
{
&_PutCursorItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&PutCursorItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<PutCursorItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&PutCursorItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<PutCursorItem>(), &PutCursorItem::ByteSizeLong,
&PutCursorItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(PutCursorItem, _impl_._cached_size_),
true,
},
"dapi.commands.PutCursorItem",
};
const ::google::protobuf::internal::ClassData* PutCursorItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> PutCursorItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::PutCursorItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// sint32 target = 1;
{::_pbi::TcParser::FastZ32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(PutCursorItem, _impl_.target_)}},
}}, {{
65535, 65535
}}, {{
// sint32 target = 1;
{PROTOBUF_FIELD_OFFSET(PutCursorItem, _impl_.target_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kSInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void PutCursorItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.PutCursorItem)
::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_.target_ = 0;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PutCursorItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const PutCursorItem& this_ = static_cast<const PutCursorItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PutCursorItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const PutCursorItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.PutCursorItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// sint32 target = 1;
if (this_._internal_target() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteSInt32ToArray(
1, this_._internal_target(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.PutCursorItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PutCursorItem::ByteSizeLong(const MessageLite& base) {
const PutCursorItem& this_ = static_cast<const PutCursorItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t PutCursorItem::ByteSizeLong() const {
const PutCursorItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.PutCursorItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// sint32 target = 1;
if (this_._internal_target() != 0) {
total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(
this_._internal_target());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void PutCursorItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<PutCursorItem*>(&to_msg);
auto& from = static_cast<const PutCursorItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.PutCursorItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_target() != 0) {
_this->_impl_.target_ = from._impl_.target_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void PutCursorItem::CopyFrom(const PutCursorItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.PutCursorItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void PutCursorItem::InternalSwap(PutCursorItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.target_, other->_impl_.target_);
}
// ===================================================================
class DropCursorItem::_Internal {
public:
};
DropCursorItem::DropCursorItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.DropCursorItem)
}
DropCursorItem::DropCursorItem(
::google::protobuf::Arena* arena, const DropCursorItem& from)
: DropCursorItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE DropCursorItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void DropCursorItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
DropCursorItem::~DropCursorItem() {
// @@protoc_insertion_point(destructor:dapi.commands.DropCursorItem)
SharedDtor(*this);
}
inline void DropCursorItem::SharedDtor(MessageLite& self) {
DropCursorItem& this_ = static_cast<DropCursorItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* DropCursorItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) DropCursorItem(arena);
}
constexpr auto DropCursorItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DropCursorItem),
alignof(DropCursorItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<29> DropCursorItem::_class_data_ = {
{
&_DropCursorItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&DropCursorItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<DropCursorItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&DropCursorItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<DropCursorItem>(), &DropCursorItem::ByteSizeLong,
&DropCursorItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(DropCursorItem, _impl_._cached_size_),
true,
},
"dapi.commands.DropCursorItem",
};
const ::google::protobuf::internal::ClassData* DropCursorItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> DropCursorItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::DropCursorItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void DropCursorItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.DropCursorItem)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* DropCursorItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const DropCursorItem& this_ = static_cast<const DropCursorItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* DropCursorItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const DropCursorItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.DropCursorItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.DropCursorItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DropCursorItem::ByteSizeLong(const MessageLite& base) {
const DropCursorItem& this_ = static_cast<const DropCursorItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t DropCursorItem::ByteSizeLong() const {
const DropCursorItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.DropCursorItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void DropCursorItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<DropCursorItem*>(&to_msg);
auto& from = static_cast<const DropCursorItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.DropCursorItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void DropCursorItem::CopyFrom(const DropCursorItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.DropCursorItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DropCursorItem::InternalSwap(DropCursorItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class UseItem::_Internal {
public:
};
UseItem::UseItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.UseItem)
}
UseItem::UseItem(
::google::protobuf::Arena* arena, const UseItem& from)
: UseItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE UseItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void UseItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
UseItem::~UseItem() {
// @@protoc_insertion_point(destructor:dapi.commands.UseItem)
SharedDtor(*this);
}
inline void UseItem::SharedDtor(MessageLite& self) {
UseItem& this_ = static_cast<UseItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* UseItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) UseItem(arena);
}
constexpr auto UseItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UseItem),
alignof(UseItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<22> UseItem::_class_data_ = {
{
&_UseItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&UseItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<UseItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&UseItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<UseItem>(), &UseItem::ByteSizeLong,
&UseItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(UseItem, _impl_._cached_size_),
true,
},
"dapi.commands.UseItem",
};
const ::google::protobuf::internal::ClassData* UseItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UseItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::UseItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UseItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(UseItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void UseItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.UseItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* UseItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const UseItem& this_ = static_cast<const UseItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* UseItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const UseItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.UseItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.UseItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UseItem::ByteSizeLong(const MessageLite& base) {
const UseItem& this_ = static_cast<const UseItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t UseItem::ByteSizeLong() const {
const UseItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.UseItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void UseItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<UseItem*>(&to_msg);
auto& from = static_cast<const UseItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.UseItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void UseItem::CopyFrom(const UseItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.UseItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void UseItem::InternalSwap(UseItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class IdentifyStoreItem::_Internal {
public:
};
IdentifyStoreItem::IdentifyStoreItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.IdentifyStoreItem)
}
IdentifyStoreItem::IdentifyStoreItem(
::google::protobuf::Arena* arena, const IdentifyStoreItem& from)
: IdentifyStoreItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE IdentifyStoreItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void IdentifyStoreItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
IdentifyStoreItem::~IdentifyStoreItem() {
// @@protoc_insertion_point(destructor:dapi.commands.IdentifyStoreItem)
SharedDtor(*this);
}
inline void IdentifyStoreItem::SharedDtor(MessageLite& self) {
IdentifyStoreItem& this_ = static_cast<IdentifyStoreItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* IdentifyStoreItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) IdentifyStoreItem(arena);
}
constexpr auto IdentifyStoreItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IdentifyStoreItem),
alignof(IdentifyStoreItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<32> IdentifyStoreItem::_class_data_ = {
{
&_IdentifyStoreItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&IdentifyStoreItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<IdentifyStoreItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&IdentifyStoreItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<IdentifyStoreItem>(), &IdentifyStoreItem::ByteSizeLong,
&IdentifyStoreItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(IdentifyStoreItem, _impl_._cached_size_),
true,
},
"dapi.commands.IdentifyStoreItem",
};
const ::google::protobuf::internal::ClassData* IdentifyStoreItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> IdentifyStoreItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::IdentifyStoreItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(IdentifyStoreItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(IdentifyStoreItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void IdentifyStoreItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.IdentifyStoreItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* IdentifyStoreItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const IdentifyStoreItem& this_ = static_cast<const IdentifyStoreItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* IdentifyStoreItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const IdentifyStoreItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.IdentifyStoreItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.IdentifyStoreItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t IdentifyStoreItem::ByteSizeLong(const MessageLite& base) {
const IdentifyStoreItem& this_ = static_cast<const IdentifyStoreItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t IdentifyStoreItem::ByteSizeLong() const {
const IdentifyStoreItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.IdentifyStoreItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void IdentifyStoreItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<IdentifyStoreItem*>(&to_msg);
auto& from = static_cast<const IdentifyStoreItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.IdentifyStoreItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void IdentifyStoreItem::CopyFrom(const IdentifyStoreItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.IdentifyStoreItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void IdentifyStoreItem::InternalSwap(IdentifyStoreItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class DisarmTrap::_Internal {
public:
};
DisarmTrap::DisarmTrap(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.DisarmTrap)
}
DisarmTrap::DisarmTrap(
::google::protobuf::Arena* arena, const DisarmTrap& from)
: DisarmTrap(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE DisarmTrap::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void DisarmTrap::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.index_ = {};
}
DisarmTrap::~DisarmTrap() {
// @@protoc_insertion_point(destructor:dapi.commands.DisarmTrap)
SharedDtor(*this);
}
inline void DisarmTrap::SharedDtor(MessageLite& self) {
DisarmTrap& this_ = static_cast<DisarmTrap&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* DisarmTrap::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) DisarmTrap(arena);
}
constexpr auto DisarmTrap::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DisarmTrap),
alignof(DisarmTrap));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<25> DisarmTrap::_class_data_ = {
{
&_DisarmTrap_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&DisarmTrap::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<DisarmTrap>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&DisarmTrap::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<DisarmTrap>(), &DisarmTrap::ByteSizeLong,
&DisarmTrap::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(DisarmTrap, _impl_._cached_size_),
true,
},
"dapi.commands.DisarmTrap",
};
const ::google::protobuf::internal::ClassData* DisarmTrap::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> DisarmTrap::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::DisarmTrap>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 index = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(DisarmTrap, _impl_.index_)}},
}}, {{
65535, 65535
}}, {{
// uint32 index = 1;
{PROTOBUF_FIELD_OFFSET(DisarmTrap, _impl_.index_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void DisarmTrap::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.DisarmTrap)
::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_.index_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* DisarmTrap::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const DisarmTrap& this_ = static_cast<const DisarmTrap&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* DisarmTrap::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const DisarmTrap& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.DisarmTrap)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 index = 1;
if (this_._internal_index() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_index(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.DisarmTrap)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DisarmTrap::ByteSizeLong(const MessageLite& base) {
const DisarmTrap& this_ = static_cast<const DisarmTrap&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t DisarmTrap::ByteSizeLong() const {
const DisarmTrap& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.DisarmTrap)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 index = 1;
if (this_._internal_index() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_index());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void DisarmTrap::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<DisarmTrap*>(&to_msg);
auto& from = static_cast<const DisarmTrap&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.DisarmTrap)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_index() != 0) {
_this->_impl_.index_ = from._impl_.index_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void DisarmTrap::CopyFrom(const DisarmTrap& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.DisarmTrap)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void DisarmTrap::InternalSwap(DisarmTrap* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.index_, other->_impl_.index_);
}
// ===================================================================
class SkillRepair::_Internal {
public:
};
SkillRepair::SkillRepair(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SkillRepair)
}
SkillRepair::SkillRepair(
::google::protobuf::Arena* arena, const SkillRepair& from)
: SkillRepair(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SkillRepair::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SkillRepair::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
SkillRepair::~SkillRepair() {
// @@protoc_insertion_point(destructor:dapi.commands.SkillRepair)
SharedDtor(*this);
}
inline void SkillRepair::SharedDtor(MessageLite& self) {
SkillRepair& this_ = static_cast<SkillRepair&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SkillRepair::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SkillRepair(arena);
}
constexpr auto SkillRepair::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SkillRepair),
alignof(SkillRepair));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> SkillRepair::_class_data_ = {
{
&_SkillRepair_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SkillRepair::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SkillRepair>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SkillRepair::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SkillRepair>(), &SkillRepair::ByteSizeLong,
&SkillRepair::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SkillRepair, _impl_._cached_size_),
true,
},
"dapi.commands.SkillRepair",
};
const ::google::protobuf::internal::ClassData* SkillRepair::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SkillRepair::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SkillRepair>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SkillRepair, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(SkillRepair, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SkillRepair::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SkillRepair)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SkillRepair::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SkillRepair& this_ = static_cast<const SkillRepair&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SkillRepair::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SkillRepair& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SkillRepair)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SkillRepair)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SkillRepair::ByteSizeLong(const MessageLite& base) {
const SkillRepair& this_ = static_cast<const SkillRepair&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SkillRepair::ByteSizeLong() const {
const SkillRepair& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SkillRepair)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SkillRepair::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SkillRepair*>(&to_msg);
auto& from = static_cast<const SkillRepair&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SkillRepair)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SkillRepair::CopyFrom(const SkillRepair& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SkillRepair)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SkillRepair::InternalSwap(SkillRepair* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class SkillRecharge::_Internal {
public:
};
SkillRecharge::SkillRecharge(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SkillRecharge)
}
SkillRecharge::SkillRecharge(
::google::protobuf::Arena* arena, const SkillRecharge& from)
: SkillRecharge(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SkillRecharge::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SkillRecharge::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
SkillRecharge::~SkillRecharge() {
// @@protoc_insertion_point(destructor:dapi.commands.SkillRecharge)
SharedDtor(*this);
}
inline void SkillRecharge::SharedDtor(MessageLite& self) {
SkillRecharge& this_ = static_cast<SkillRecharge&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SkillRecharge::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SkillRecharge(arena);
}
constexpr auto SkillRecharge::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SkillRecharge),
alignof(SkillRecharge));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<28> SkillRecharge::_class_data_ = {
{
&_SkillRecharge_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SkillRecharge::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SkillRecharge>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SkillRecharge::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SkillRecharge>(), &SkillRecharge::ByteSizeLong,
&SkillRecharge::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SkillRecharge, _impl_._cached_size_),
true,
},
"dapi.commands.SkillRecharge",
};
const ::google::protobuf::internal::ClassData* SkillRecharge::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SkillRecharge::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SkillRecharge>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(SkillRecharge, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(SkillRecharge, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SkillRecharge::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SkillRecharge)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SkillRecharge::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SkillRecharge& this_ = static_cast<const SkillRecharge&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SkillRecharge::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SkillRecharge& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SkillRecharge)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SkillRecharge)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SkillRecharge::ByteSizeLong(const MessageLite& base) {
const SkillRecharge& this_ = static_cast<const SkillRecharge&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SkillRecharge::ByteSizeLong() const {
const SkillRecharge& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SkillRecharge)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SkillRecharge::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SkillRecharge*>(&to_msg);
auto& from = static_cast<const SkillRecharge&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SkillRecharge)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SkillRecharge::CopyFrom(const SkillRecharge& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SkillRecharge)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SkillRecharge::InternalSwap(SkillRecharge* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class ToggleMenu::_Internal {
public:
};
ToggleMenu::ToggleMenu(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.ToggleMenu)
}
ToggleMenu::ToggleMenu(
::google::protobuf::Arena* arena, const ToggleMenu& from)
: ToggleMenu(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE ToggleMenu::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void ToggleMenu::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
ToggleMenu::~ToggleMenu() {
// @@protoc_insertion_point(destructor:dapi.commands.ToggleMenu)
SharedDtor(*this);
}
inline void ToggleMenu::SharedDtor(MessageLite& self) {
ToggleMenu& this_ = static_cast<ToggleMenu&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* ToggleMenu::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) ToggleMenu(arena);
}
constexpr auto ToggleMenu::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ToggleMenu),
alignof(ToggleMenu));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<25> ToggleMenu::_class_data_ = {
{
&_ToggleMenu_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&ToggleMenu::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<ToggleMenu>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&ToggleMenu::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<ToggleMenu>(), &ToggleMenu::ByteSizeLong,
&ToggleMenu::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(ToggleMenu, _impl_._cached_size_),
true,
},
"dapi.commands.ToggleMenu",
};
const ::google::protobuf::internal::ClassData* ToggleMenu::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ToggleMenu::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::ToggleMenu>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void ToggleMenu::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.ToggleMenu)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ToggleMenu::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const ToggleMenu& this_ = static_cast<const ToggleMenu&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ToggleMenu::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ToggleMenu& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.ToggleMenu)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.ToggleMenu)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ToggleMenu::ByteSizeLong(const MessageLite& base) {
const ToggleMenu& this_ = static_cast<const ToggleMenu&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ToggleMenu::ByteSizeLong() const {
const ToggleMenu& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.ToggleMenu)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void ToggleMenu::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ToggleMenu*>(&to_msg);
auto& from = static_cast<const ToggleMenu&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.ToggleMenu)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void ToggleMenu::CopyFrom(const ToggleMenu& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.ToggleMenu)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ToggleMenu::InternalSwap(ToggleMenu* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class SaveGame::_Internal {
public:
};
SaveGame::SaveGame(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.SaveGame)
}
SaveGame::SaveGame(
::google::protobuf::Arena* arena, const SaveGame& from)
: SaveGame(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE SaveGame::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void SaveGame::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
SaveGame::~SaveGame() {
// @@protoc_insertion_point(destructor:dapi.commands.SaveGame)
SharedDtor(*this);
}
inline void SaveGame::SharedDtor(MessageLite& self) {
SaveGame& this_ = static_cast<SaveGame&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* SaveGame::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) SaveGame(arena);
}
constexpr auto SaveGame::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SaveGame),
alignof(SaveGame));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<23> SaveGame::_class_data_ = {
{
&_SaveGame_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&SaveGame::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<SaveGame>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&SaveGame::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<SaveGame>(), &SaveGame::ByteSizeLong,
&SaveGame::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SaveGame, _impl_._cached_size_),
true,
},
"dapi.commands.SaveGame",
};
const ::google::protobuf::internal::ClassData* SaveGame::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SaveGame::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::SaveGame>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void SaveGame::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.SaveGame)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SaveGame::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SaveGame& this_ = static_cast<const SaveGame&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SaveGame::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SaveGame& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.SaveGame)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.SaveGame)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SaveGame::ByteSizeLong(const MessageLite& base) {
const SaveGame& this_ = static_cast<const SaveGame&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SaveGame::ByteSizeLong() const {
const SaveGame& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.SaveGame)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void SaveGame::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SaveGame*>(&to_msg);
auto& from = static_cast<const SaveGame&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.SaveGame)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void SaveGame::CopyFrom(const SaveGame& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.SaveGame)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void SaveGame::InternalSwap(SaveGame* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class Quit::_Internal {
public:
};
Quit::Quit(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.Quit)
}
Quit::Quit(
::google::protobuf::Arena* arena, const Quit& from)
: Quit(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE Quit::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void Quit::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
Quit::~Quit() {
// @@protoc_insertion_point(destructor:dapi.commands.Quit)
SharedDtor(*this);
}
inline void Quit::SharedDtor(MessageLite& self) {
Quit& this_ = static_cast<Quit&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* Quit::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Quit(arena);
}
constexpr auto Quit::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Quit),
alignof(Quit));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<19> Quit::_class_data_ = {
{
&_Quit_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Quit::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<Quit>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Quit::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<Quit>(), &Quit::ByteSizeLong,
&Quit::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Quit, _impl_._cached_size_),
true,
},
"dapi.commands.Quit",
};
const ::google::protobuf::internal::ClassData* Quit::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> Quit::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::Quit>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void Quit::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.Quit)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Quit::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Quit& this_ = static_cast<const Quit&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Quit::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Quit& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.Quit)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.Quit)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Quit::ByteSizeLong(const MessageLite& base) {
const Quit& this_ = static_cast<const Quit&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Quit::ByteSizeLong() const {
const Quit& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.Quit)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void Quit::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Quit*>(&to_msg);
auto& from = static_cast<const Quit&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.Quit)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void Quit::CopyFrom(const Quit& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.Quit)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Quit::InternalSwap(Quit* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class ClearCursor::_Internal {
public:
};
ClearCursor::ClearCursor(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.ClearCursor)
}
ClearCursor::ClearCursor(
::google::protobuf::Arena* arena, const ClearCursor& from)
: ClearCursor(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE ClearCursor::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void ClearCursor::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
ClearCursor::~ClearCursor() {
// @@protoc_insertion_point(destructor:dapi.commands.ClearCursor)
SharedDtor(*this);
}
inline void ClearCursor::SharedDtor(MessageLite& self) {
ClearCursor& this_ = static_cast<ClearCursor&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* ClearCursor::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) ClearCursor(arena);
}
constexpr auto ClearCursor::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ClearCursor),
alignof(ClearCursor));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<26> ClearCursor::_class_data_ = {
{
&_ClearCursor_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&ClearCursor::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<ClearCursor>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&ClearCursor::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<ClearCursor>(), &ClearCursor::ByteSizeLong,
&ClearCursor::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(ClearCursor, _impl_._cached_size_),
true,
},
"dapi.commands.ClearCursor",
};
const ::google::protobuf::internal::ClassData* ClearCursor::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ClearCursor::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967295, // skipmap
offsetof(decltype(_table_), field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::ClearCursor>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}},
// no field_entries, or aux_entries
{{
}},
};
PROTOBUF_NOINLINE void ClearCursor::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.ClearCursor)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ClearCursor::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const ClearCursor& this_ = static_cast<const ClearCursor&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ClearCursor::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ClearCursor& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.ClearCursor)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.ClearCursor)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClearCursor::ByteSizeLong(const MessageLite& base) {
const ClearCursor& this_ = static_cast<const ClearCursor&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ClearCursor::ByteSizeLong() const {
const ClearCursor& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.ClearCursor)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void ClearCursor::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ClearCursor*>(&to_msg);
auto& from = static_cast<const ClearCursor&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.ClearCursor)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void ClearCursor::CopyFrom(const ClearCursor& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.ClearCursor)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void ClearCursor::InternalSwap(ClearCursor* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
}
// ===================================================================
class IdentifyItem::_Internal {
public:
};
IdentifyItem::IdentifyItem(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.IdentifyItem)
}
IdentifyItem::IdentifyItem(
::google::protobuf::Arena* arena, const IdentifyItem& from)
: IdentifyItem(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE IdentifyItem::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void IdentifyItem::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
IdentifyItem::~IdentifyItem() {
// @@protoc_insertion_point(destructor:dapi.commands.IdentifyItem)
SharedDtor(*this);
}
inline void IdentifyItem::SharedDtor(MessageLite& self) {
IdentifyItem& this_ = static_cast<IdentifyItem&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
this_._impl_.~Impl_();
}
inline void* IdentifyItem::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) IdentifyItem(arena);
}
constexpr auto IdentifyItem::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IdentifyItem),
alignof(IdentifyItem));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<27> IdentifyItem::_class_data_ = {
{
&_IdentifyItem_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&IdentifyItem::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<IdentifyItem>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&IdentifyItem::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<IdentifyItem>(), &IdentifyItem::ByteSizeLong,
&IdentifyItem::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(IdentifyItem, _impl_._cached_size_),
true,
},
"dapi.commands.IdentifyItem",
};
const ::google::protobuf::internal::ClassData* IdentifyItem::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> IdentifyItem::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::IdentifyItem>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 ID = 1;
{::_pbi::TcParser::FastV32S1,
{8, 63, 0, PROTOBUF_FIELD_OFFSET(IdentifyItem, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// uint32 ID = 1;
{PROTOBUF_FIELD_OFFSET(IdentifyItem, _impl_.id_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void IdentifyItem::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.IdentifyItem)
::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_.id_ = 0u;
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* IdentifyItem::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const IdentifyItem& this_ = static_cast<const IdentifyItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* IdentifyItem::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const IdentifyItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.IdentifyItem)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// uint32 ID = 1;
if (this_._internal_id() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this_._internal_id(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.IdentifyItem)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t IdentifyItem::ByteSizeLong(const MessageLite& base) {
const IdentifyItem& this_ = static_cast<const IdentifyItem&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t IdentifyItem::ByteSizeLong() const {
const IdentifyItem& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.IdentifyItem)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// uint32 ID = 1;
if (this_._internal_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this_._internal_id());
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void IdentifyItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<IdentifyItem*>(&to_msg);
auto& from = static_cast<const IdentifyItem&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.IdentifyItem)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_id() != 0) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void IdentifyItem::CopyFrom(const IdentifyItem& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.IdentifyItem)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void IdentifyItem::InternalSwap(IdentifyItem* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.id_, other->_impl_.id_);
}
// ===================================================================
class Command::_Internal {
public:
static constexpr ::int32_t kOneofCaseOffset =
PROTOBUF_FIELD_OFFSET(::dapi::commands::Command, _impl_._oneof_case_);
};
void Command::set_allocated_move(::dapi::commands::Move* move) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (move) {
::google::protobuf::Arena* submessage_arena = move->GetArena();
if (message_arena != submessage_arena) {
move = ::google::protobuf::internal::GetOwnedMessage(message_arena, move, submessage_arena);
}
set_has_move();
_impl_.command_.move_ = move;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.move)
}
void Command::set_allocated_talk(::dapi::commands::Talk* talk) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (talk) {
::google::protobuf::Arena* submessage_arena = talk->GetArena();
if (message_arena != submessage_arena) {
talk = ::google::protobuf::internal::GetOwnedMessage(message_arena, talk, submessage_arena);
}
set_has_talk();
_impl_.command_.talk_ = talk;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.talk)
}
void Command::set_allocated_option(::dapi::commands::SelectStoreOption* option) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (option) {
::google::protobuf::Arena* submessage_arena = option->GetArena();
if (message_arena != submessage_arena) {
option = ::google::protobuf::internal::GetOwnedMessage(message_arena, option, submessage_arena);
}
set_has_option();
_impl_.command_.option_ = option;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.option)
}
void Command::set_allocated_buyitem(::dapi::commands::BuyItem* buyitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (buyitem) {
::google::protobuf::Arena* submessage_arena = buyitem->GetArena();
if (message_arena != submessage_arena) {
buyitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, buyitem, submessage_arena);
}
set_has_buyitem();
_impl_.command_.buyitem_ = buyitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.buyItem)
}
void Command::set_allocated_sellitem(::dapi::commands::SellItem* sellitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (sellitem) {
::google::protobuf::Arena* submessage_arena = sellitem->GetArena();
if (message_arena != submessage_arena) {
sellitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, sellitem, submessage_arena);
}
set_has_sellitem();
_impl_.command_.sellitem_ = sellitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.sellItem)
}
void Command::set_allocated_rechargeitem(::dapi::commands::RechargeItem* rechargeitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (rechargeitem) {
::google::protobuf::Arena* submessage_arena = rechargeitem->GetArena();
if (message_arena != submessage_arena) {
rechargeitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, rechargeitem, submessage_arena);
}
set_has_rechargeitem();
_impl_.command_.rechargeitem_ = rechargeitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.rechargeItem)
}
void Command::set_allocated_repairitem(::dapi::commands::RepairItem* repairitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (repairitem) {
::google::protobuf::Arena* submessage_arena = repairitem->GetArena();
if (message_arena != submessage_arena) {
repairitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, repairitem, submessage_arena);
}
set_has_repairitem();
_impl_.command_.repairitem_ = repairitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.repairItem)
}
void Command::set_allocated_attackmonster(::dapi::commands::AttackMonster* attackmonster) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (attackmonster) {
::google::protobuf::Arena* submessage_arena = attackmonster->GetArena();
if (message_arena != submessage_arena) {
attackmonster = ::google::protobuf::internal::GetOwnedMessage(message_arena, attackmonster, submessage_arena);
}
set_has_attackmonster();
_impl_.command_.attackmonster_ = attackmonster;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.attackMonster)
}
void Command::set_allocated_attackxy(::dapi::commands::AttackXY* attackxy) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (attackxy) {
::google::protobuf::Arena* submessage_arena = attackxy->GetArena();
if (message_arena != submessage_arena) {
attackxy = ::google::protobuf::internal::GetOwnedMessage(message_arena, attackxy, submessage_arena);
}
set_has_attackxy();
_impl_.command_.attackxy_ = attackxy;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.attackXY)
}
void Command::set_allocated_operateobject(::dapi::commands::OperateObject* operateobject) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (operateobject) {
::google::protobuf::Arena* submessage_arena = operateobject->GetArena();
if (message_arena != submessage_arena) {
operateobject = ::google::protobuf::internal::GetOwnedMessage(message_arena, operateobject, submessage_arena);
}
set_has_operateobject();
_impl_.command_.operateobject_ = operateobject;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.operateObject)
}
void Command::set_allocated_usebeltitem(::dapi::commands::UseBeltItem* usebeltitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (usebeltitem) {
::google::protobuf::Arena* submessage_arena = usebeltitem->GetArena();
if (message_arena != submessage_arena) {
usebeltitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, usebeltitem, submessage_arena);
}
set_has_usebeltitem();
_impl_.command_.usebeltitem_ = usebeltitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.useBeltItem)
}
void Command::set_allocated_togglecharactersheet(::dapi::commands::ToggleCharacterSheet* togglecharactersheet) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (togglecharactersheet) {
::google::protobuf::Arena* submessage_arena = togglecharactersheet->GetArena();
if (message_arena != submessage_arena) {
togglecharactersheet = ::google::protobuf::internal::GetOwnedMessage(message_arena, togglecharactersheet, submessage_arena);
}
set_has_togglecharactersheet();
_impl_.command_.togglecharactersheet_ = togglecharactersheet;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.toggleCharacterSheet)
}
void Command::set_allocated_increasestat(::dapi::commands::IncreaseStat* increasestat) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (increasestat) {
::google::protobuf::Arena* submessage_arena = increasestat->GetArena();
if (message_arena != submessage_arena) {
increasestat = ::google::protobuf::internal::GetOwnedMessage(message_arena, increasestat, submessage_arena);
}
set_has_increasestat();
_impl_.command_.increasestat_ = increasestat;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.increaseStat)
}
void Command::set_allocated_getitem(::dapi::commands::GetItem* getitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (getitem) {
::google::protobuf::Arena* submessage_arena = getitem->GetArena();
if (message_arena != submessage_arena) {
getitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, getitem, submessage_arena);
}
set_has_getitem();
_impl_.command_.getitem_ = getitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.getItem)
}
void Command::set_allocated_setspell(::dapi::commands::SetSpell* setspell) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (setspell) {
::google::protobuf::Arena* submessage_arena = setspell->GetArena();
if (message_arena != submessage_arena) {
setspell = ::google::protobuf::internal::GetOwnedMessage(message_arena, setspell, submessage_arena);
}
set_has_setspell();
_impl_.command_.setspell_ = setspell;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.setSpell)
}
void Command::set_allocated_castmonster(::dapi::commands::CastMonster* castmonster) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (castmonster) {
::google::protobuf::Arena* submessage_arena = castmonster->GetArena();
if (message_arena != submessage_arena) {
castmonster = ::google::protobuf::internal::GetOwnedMessage(message_arena, castmonster, submessage_arena);
}
set_has_castmonster();
_impl_.command_.castmonster_ = castmonster;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.castMonster)
}
void Command::set_allocated_castxy(::dapi::commands::CastXY* castxy) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (castxy) {
::google::protobuf::Arena* submessage_arena = castxy->GetArena();
if (message_arena != submessage_arena) {
castxy = ::google::protobuf::internal::GetOwnedMessage(message_arena, castxy, submessage_arena);
}
set_has_castxy();
_impl_.command_.castxy_ = castxy;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.castXY)
}
void Command::set_allocated_toggleinventory(::dapi::commands::ToggleInventory* toggleinventory) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (toggleinventory) {
::google::protobuf::Arena* submessage_arena = toggleinventory->GetArena();
if (message_arena != submessage_arena) {
toggleinventory = ::google::protobuf::internal::GetOwnedMessage(message_arena, toggleinventory, submessage_arena);
}
set_has_toggleinventory();
_impl_.command_.toggleinventory_ = toggleinventory;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.toggleInventory)
}
void Command::set_allocated_putincursor(::dapi::commands::PutInCursor* putincursor) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (putincursor) {
::google::protobuf::Arena* submessage_arena = putincursor->GetArena();
if (message_arena != submessage_arena) {
putincursor = ::google::protobuf::internal::GetOwnedMessage(message_arena, putincursor, submessage_arena);
}
set_has_putincursor();
_impl_.command_.putincursor_ = putincursor;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.putInCursor)
}
void Command::set_allocated_putcursoritem(::dapi::commands::PutCursorItem* putcursoritem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (putcursoritem) {
::google::protobuf::Arena* submessage_arena = putcursoritem->GetArena();
if (message_arena != submessage_arena) {
putcursoritem = ::google::protobuf::internal::GetOwnedMessage(message_arena, putcursoritem, submessage_arena);
}
set_has_putcursoritem();
_impl_.command_.putcursoritem_ = putcursoritem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.putCursorItem)
}
void Command::set_allocated_dropcursoritem(::dapi::commands::DropCursorItem* dropcursoritem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (dropcursoritem) {
::google::protobuf::Arena* submessage_arena = dropcursoritem->GetArena();
if (message_arena != submessage_arena) {
dropcursoritem = ::google::protobuf::internal::GetOwnedMessage(message_arena, dropcursoritem, submessage_arena);
}
set_has_dropcursoritem();
_impl_.command_.dropcursoritem_ = dropcursoritem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.dropCursorItem)
}
void Command::set_allocated_useitem(::dapi::commands::UseItem* useitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (useitem) {
::google::protobuf::Arena* submessage_arena = useitem->GetArena();
if (message_arena != submessage_arena) {
useitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, useitem, submessage_arena);
}
set_has_useitem();
_impl_.command_.useitem_ = useitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.useItem)
}
void Command::set_allocated_identifystoreitem(::dapi::commands::IdentifyStoreItem* identifystoreitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (identifystoreitem) {
::google::protobuf::Arena* submessage_arena = identifystoreitem->GetArena();
if (message_arena != submessage_arena) {
identifystoreitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, identifystoreitem, submessage_arena);
}
set_has_identifystoreitem();
_impl_.command_.identifystoreitem_ = identifystoreitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.identifyStoreItem)
}
void Command::set_allocated_cancelqtext(::dapi::commands::CancelQText* cancelqtext) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (cancelqtext) {
::google::protobuf::Arena* submessage_arena = cancelqtext->GetArena();
if (message_arena != submessage_arena) {
cancelqtext = ::google::protobuf::internal::GetOwnedMessage(message_arena, cancelqtext, submessage_arena);
}
set_has_cancelqtext();
_impl_.command_.cancelqtext_ = cancelqtext;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.cancelQText)
}
void Command::set_allocated_setfps(::dapi::commands::SetFPS* setfps) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (setfps) {
::google::protobuf::Arena* submessage_arena = setfps->GetArena();
if (message_arena != submessage_arena) {
setfps = ::google::protobuf::internal::GetOwnedMessage(message_arena, setfps, submessage_arena);
}
set_has_setfps();
_impl_.command_.setfps_ = setfps;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.setFPS)
}
void Command::set_allocated_disarmtrap(::dapi::commands::DisarmTrap* disarmtrap) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (disarmtrap) {
::google::protobuf::Arena* submessage_arena = disarmtrap->GetArena();
if (message_arena != submessage_arena) {
disarmtrap = ::google::protobuf::internal::GetOwnedMessage(message_arena, disarmtrap, submessage_arena);
}
set_has_disarmtrap();
_impl_.command_.disarmtrap_ = disarmtrap;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.disarmTrap)
}
void Command::set_allocated_skillrepair(::dapi::commands::SkillRepair* skillrepair) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (skillrepair) {
::google::protobuf::Arena* submessage_arena = skillrepair->GetArena();
if (message_arena != submessage_arena) {
skillrepair = ::google::protobuf::internal::GetOwnedMessage(message_arena, skillrepair, submessage_arena);
}
set_has_skillrepair();
_impl_.command_.skillrepair_ = skillrepair;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.skillRepair)
}
void Command::set_allocated_skillrecharge(::dapi::commands::SkillRecharge* skillrecharge) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (skillrecharge) {
::google::protobuf::Arena* submessage_arena = skillrecharge->GetArena();
if (message_arena != submessage_arena) {
skillrecharge = ::google::protobuf::internal::GetOwnedMessage(message_arena, skillrecharge, submessage_arena);
}
set_has_skillrecharge();
_impl_.command_.skillrecharge_ = skillrecharge;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.skillRecharge)
}
void Command::set_allocated_togglemenu(::dapi::commands::ToggleMenu* togglemenu) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (togglemenu) {
::google::protobuf::Arena* submessage_arena = togglemenu->GetArena();
if (message_arena != submessage_arena) {
togglemenu = ::google::protobuf::internal::GetOwnedMessage(message_arena, togglemenu, submessage_arena);
}
set_has_togglemenu();
_impl_.command_.togglemenu_ = togglemenu;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.toggleMenu)
}
void Command::set_allocated_savegame(::dapi::commands::SaveGame* savegame) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (savegame) {
::google::protobuf::Arena* submessage_arena = savegame->GetArena();
if (message_arena != submessage_arena) {
savegame = ::google::protobuf::internal::GetOwnedMessage(message_arena, savegame, submessage_arena);
}
set_has_savegame();
_impl_.command_.savegame_ = savegame;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.saveGame)
}
void Command::set_allocated_quit(::dapi::commands::Quit* quit) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (quit) {
::google::protobuf::Arena* submessage_arena = quit->GetArena();
if (message_arena != submessage_arena) {
quit = ::google::protobuf::internal::GetOwnedMessage(message_arena, quit, submessage_arena);
}
set_has_quit();
_impl_.command_.quit_ = quit;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.quit)
}
void Command::set_allocated_clearcursor(::dapi::commands::ClearCursor* clearcursor) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (clearcursor) {
::google::protobuf::Arena* submessage_arena = clearcursor->GetArena();
if (message_arena != submessage_arena) {
clearcursor = ::google::protobuf::internal::GetOwnedMessage(message_arena, clearcursor, submessage_arena);
}
set_has_clearcursor();
_impl_.command_.clearcursor_ = clearcursor;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.clearCursor)
}
void Command::set_allocated_identifyitem(::dapi::commands::IdentifyItem* identifyitem) {
::google::protobuf::Arena* message_arena = GetArena();
clear_command();
if (identifyitem) {
::google::protobuf::Arena* submessage_arena = identifyitem->GetArena();
if (message_arena != submessage_arena) {
identifyitem = ::google::protobuf::internal::GetOwnedMessage(message_arena, identifyitem, submessage_arena);
}
set_has_identifyitem();
_impl_.command_.identifyitem_ = identifyitem;
}
// @@protoc_insertion_point(field_set_allocated:dapi.commands.Command.identifyItem)
}
Command::Command(::google::protobuf::Arena* arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:dapi.commands.Command)
}
inline PROTOBUF_NDEBUG_INLINE Command::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
const Impl_& from, const ::dapi::commands::Command& from_msg)
: command_{},
_cached_size_{0},
_oneof_case_{from._oneof_case_[0]} {}
Command::Command(
::google::protobuf::Arena* arena,
const Command& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: ::google::protobuf::MessageLite(arena, _class_data_.base()) {
#else // PROTOBUF_CUSTOM_VTABLE
: ::google::protobuf::MessageLite(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
Command* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<std::string>(
from._internal_metadata_);
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
switch (command_case()) {
case COMMAND_NOT_SET:
break;
case kMove:
_impl_.command_.move_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Move>(arena, *from._impl_.command_.move_);
break;
case kTalk:
_impl_.command_.talk_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Talk>(arena, *from._impl_.command_.talk_);
break;
case kOption:
_impl_.command_.option_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SelectStoreOption>(arena, *from._impl_.command_.option_);
break;
case kBuyItem:
_impl_.command_.buyitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::BuyItem>(arena, *from._impl_.command_.buyitem_);
break;
case kSellItem:
_impl_.command_.sellitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SellItem>(arena, *from._impl_.command_.sellitem_);
break;
case kRechargeItem:
_impl_.command_.rechargeitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::RechargeItem>(arena, *from._impl_.command_.rechargeitem_);
break;
case kRepairItem:
_impl_.command_.repairitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::RepairItem>(arena, *from._impl_.command_.repairitem_);
break;
case kAttackMonster:
_impl_.command_.attackmonster_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::AttackMonster>(arena, *from._impl_.command_.attackmonster_);
break;
case kAttackXY:
_impl_.command_.attackxy_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::AttackXY>(arena, *from._impl_.command_.attackxy_);
break;
case kOperateObject:
_impl_.command_.operateobject_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::OperateObject>(arena, *from._impl_.command_.operateobject_);
break;
case kUseBeltItem:
_impl_.command_.usebeltitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::UseBeltItem>(arena, *from._impl_.command_.usebeltitem_);
break;
case kToggleCharacterSheet:
_impl_.command_.togglecharactersheet_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleCharacterSheet>(arena, *from._impl_.command_.togglecharactersheet_);
break;
case kIncreaseStat:
_impl_.command_.increasestat_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IncreaseStat>(arena, *from._impl_.command_.increasestat_);
break;
case kGetItem:
_impl_.command_.getitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::GetItem>(arena, *from._impl_.command_.getitem_);
break;
case kSetSpell:
_impl_.command_.setspell_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SetSpell>(arena, *from._impl_.command_.setspell_);
break;
case kCastMonster:
_impl_.command_.castmonster_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CastMonster>(arena, *from._impl_.command_.castmonster_);
break;
case kCastXY:
_impl_.command_.castxy_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CastXY>(arena, *from._impl_.command_.castxy_);
break;
case kToggleInventory:
_impl_.command_.toggleinventory_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleInventory>(arena, *from._impl_.command_.toggleinventory_);
break;
case kPutInCursor:
_impl_.command_.putincursor_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::PutInCursor>(arena, *from._impl_.command_.putincursor_);
break;
case kPutCursorItem:
_impl_.command_.putcursoritem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::PutCursorItem>(arena, *from._impl_.command_.putcursoritem_);
break;
case kDropCursorItem:
_impl_.command_.dropcursoritem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::DropCursorItem>(arena, *from._impl_.command_.dropcursoritem_);
break;
case kUseItem:
_impl_.command_.useitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::UseItem>(arena, *from._impl_.command_.useitem_);
break;
case kIdentifyStoreItem:
_impl_.command_.identifystoreitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IdentifyStoreItem>(arena, *from._impl_.command_.identifystoreitem_);
break;
case kCancelQText:
_impl_.command_.cancelqtext_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CancelQText>(arena, *from._impl_.command_.cancelqtext_);
break;
case kSetFPS:
_impl_.command_.setfps_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SetFPS>(arena, *from._impl_.command_.setfps_);
break;
case kDisarmTrap:
_impl_.command_.disarmtrap_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::DisarmTrap>(arena, *from._impl_.command_.disarmtrap_);
break;
case kSkillRepair:
_impl_.command_.skillrepair_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SkillRepair>(arena, *from._impl_.command_.skillrepair_);
break;
case kSkillRecharge:
_impl_.command_.skillrecharge_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SkillRecharge>(arena, *from._impl_.command_.skillrecharge_);
break;
case kToggleMenu:
_impl_.command_.togglemenu_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleMenu>(arena, *from._impl_.command_.togglemenu_);
break;
case kSaveGame:
_impl_.command_.savegame_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SaveGame>(arena, *from._impl_.command_.savegame_);
break;
case kQuit:
_impl_.command_.quit_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Quit>(arena, *from._impl_.command_.quit_);
break;
case kClearCursor:
_impl_.command_.clearcursor_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ClearCursor>(arena, *from._impl_.command_.clearcursor_);
break;
case kIdentifyItem:
_impl_.command_.identifyitem_ = ::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IdentifyItem>(arena, *from._impl_.command_.identifyitem_);
break;
}
// @@protoc_insertion_point(copy_constructor:dapi.commands.Command)
}
inline PROTOBUF_NDEBUG_INLINE Command::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: command_{},
_cached_size_{0},
_oneof_case_{} {}
inline void Command::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
Command::~Command() {
// @@protoc_insertion_point(destructor:dapi.commands.Command)
SharedDtor(*this);
}
inline void Command::SharedDtor(MessageLite& self) {
Command& this_ = static_cast<Command&>(self);
this_._internal_metadata_.Delete<std::string>();
ABSL_DCHECK(this_.GetArena() == nullptr);
if (this_.has_command()) {
this_.clear_command();
}
this_._impl_.~Impl_();
}
void Command::clear_command() {
// @@protoc_insertion_point(one_of_clear_start:dapi.commands.Command)
::google::protobuf::internal::TSanWrite(&_impl_);
switch (command_case()) {
case kMove: {
if (GetArena() == nullptr) {
delete _impl_.command_.move_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.move_ != nullptr) {
_impl_.command_.move_->Clear();
}
}
break;
}
case kTalk: {
if (GetArena() == nullptr) {
delete _impl_.command_.talk_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.talk_ != nullptr) {
_impl_.command_.talk_->Clear();
}
}
break;
}
case kOption: {
if (GetArena() == nullptr) {
delete _impl_.command_.option_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.option_ != nullptr) {
_impl_.command_.option_->Clear();
}
}
break;
}
case kBuyItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.buyitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.buyitem_ != nullptr) {
_impl_.command_.buyitem_->Clear();
}
}
break;
}
case kSellItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.sellitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.sellitem_ != nullptr) {
_impl_.command_.sellitem_->Clear();
}
}
break;
}
case kRechargeItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.rechargeitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.rechargeitem_ != nullptr) {
_impl_.command_.rechargeitem_->Clear();
}
}
break;
}
case kRepairItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.repairitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.repairitem_ != nullptr) {
_impl_.command_.repairitem_->Clear();
}
}
break;
}
case kAttackMonster: {
if (GetArena() == nullptr) {
delete _impl_.command_.attackmonster_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.attackmonster_ != nullptr) {
_impl_.command_.attackmonster_->Clear();
}
}
break;
}
case kAttackXY: {
if (GetArena() == nullptr) {
delete _impl_.command_.attackxy_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.attackxy_ != nullptr) {
_impl_.command_.attackxy_->Clear();
}
}
break;
}
case kOperateObject: {
if (GetArena() == nullptr) {
delete _impl_.command_.operateobject_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.operateobject_ != nullptr) {
_impl_.command_.operateobject_->Clear();
}
}
break;
}
case kUseBeltItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.usebeltitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.usebeltitem_ != nullptr) {
_impl_.command_.usebeltitem_->Clear();
}
}
break;
}
case kToggleCharacterSheet: {
if (GetArena() == nullptr) {
delete _impl_.command_.togglecharactersheet_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.togglecharactersheet_ != nullptr) {
_impl_.command_.togglecharactersheet_->Clear();
}
}
break;
}
case kIncreaseStat: {
if (GetArena() == nullptr) {
delete _impl_.command_.increasestat_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.increasestat_ != nullptr) {
_impl_.command_.increasestat_->Clear();
}
}
break;
}
case kGetItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.getitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.getitem_ != nullptr) {
_impl_.command_.getitem_->Clear();
}
}
break;
}
case kSetSpell: {
if (GetArena() == nullptr) {
delete _impl_.command_.setspell_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.setspell_ != nullptr) {
_impl_.command_.setspell_->Clear();
}
}
break;
}
case kCastMonster: {
if (GetArena() == nullptr) {
delete _impl_.command_.castmonster_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.castmonster_ != nullptr) {
_impl_.command_.castmonster_->Clear();
}
}
break;
}
case kCastXY: {
if (GetArena() == nullptr) {
delete _impl_.command_.castxy_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.castxy_ != nullptr) {
_impl_.command_.castxy_->Clear();
}
}
break;
}
case kToggleInventory: {
if (GetArena() == nullptr) {
delete _impl_.command_.toggleinventory_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.toggleinventory_ != nullptr) {
_impl_.command_.toggleinventory_->Clear();
}
}
break;
}
case kPutInCursor: {
if (GetArena() == nullptr) {
delete _impl_.command_.putincursor_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.putincursor_ != nullptr) {
_impl_.command_.putincursor_->Clear();
}
}
break;
}
case kPutCursorItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.putcursoritem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.putcursoritem_ != nullptr) {
_impl_.command_.putcursoritem_->Clear();
}
}
break;
}
case kDropCursorItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.dropcursoritem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.dropcursoritem_ != nullptr) {
_impl_.command_.dropcursoritem_->Clear();
}
}
break;
}
case kUseItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.useitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.useitem_ != nullptr) {
_impl_.command_.useitem_->Clear();
}
}
break;
}
case kIdentifyStoreItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.identifystoreitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.identifystoreitem_ != nullptr) {
_impl_.command_.identifystoreitem_->Clear();
}
}
break;
}
case kCancelQText: {
if (GetArena() == nullptr) {
delete _impl_.command_.cancelqtext_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.cancelqtext_ != nullptr) {
_impl_.command_.cancelqtext_->Clear();
}
}
break;
}
case kSetFPS: {
if (GetArena() == nullptr) {
delete _impl_.command_.setfps_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.setfps_ != nullptr) {
_impl_.command_.setfps_->Clear();
}
}
break;
}
case kDisarmTrap: {
if (GetArena() == nullptr) {
delete _impl_.command_.disarmtrap_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.disarmtrap_ != nullptr) {
_impl_.command_.disarmtrap_->Clear();
}
}
break;
}
case kSkillRepair: {
if (GetArena() == nullptr) {
delete _impl_.command_.skillrepair_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.skillrepair_ != nullptr) {
_impl_.command_.skillrepair_->Clear();
}
}
break;
}
case kSkillRecharge: {
if (GetArena() == nullptr) {
delete _impl_.command_.skillrecharge_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.skillrecharge_ != nullptr) {
_impl_.command_.skillrecharge_->Clear();
}
}
break;
}
case kToggleMenu: {
if (GetArena() == nullptr) {
delete _impl_.command_.togglemenu_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.togglemenu_ != nullptr) {
_impl_.command_.togglemenu_->Clear();
}
}
break;
}
case kSaveGame: {
if (GetArena() == nullptr) {
delete _impl_.command_.savegame_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.savegame_ != nullptr) {
_impl_.command_.savegame_->Clear();
}
}
break;
}
case kQuit: {
if (GetArena() == nullptr) {
delete _impl_.command_.quit_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.quit_ != nullptr) {
_impl_.command_.quit_->Clear();
}
}
break;
}
case kClearCursor: {
if (GetArena() == nullptr) {
delete _impl_.command_.clearcursor_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.clearcursor_ != nullptr) {
_impl_.command_.clearcursor_->Clear();
}
}
break;
}
case kIdentifyItem: {
if (GetArena() == nullptr) {
delete _impl_.command_.identifyitem_;
} else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
if (_impl_.command_.identifyitem_ != nullptr) {
_impl_.command_.identifyitem_->Clear();
}
}
break;
}
case COMMAND_NOT_SET: {
break;
}
}
_impl_._oneof_case_[0] = COMMAND_NOT_SET;
}
inline void* Command::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Command(arena);
}
constexpr auto Command::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Command),
alignof(Command));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite<22> Command::_class_data_ = {
{
&_Command_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Command::MergeImpl,
::google::protobuf::MessageLite::GetNewImpl<Command>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Command::SharedDtor,
::google::protobuf::MessageLite::GetClearImpl<Command>(), &Command::ByteSizeLong,
&Command::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Command, _impl_._cached_size_),
true,
},
"dapi.commands.Command",
};
const ::google::protobuf::internal::ClassData* Command::GetClassData() const {
return _class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 33, 33, 0, 7> Command::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
33, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
0, // skipmap
offsetof(decltype(_table_), field_entries),
33, // num_field_entries
33, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
_class_data_.base(),
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallbackLite, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::dapi::commands::Command>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
33, 0, 1,
65534, 32,
65535, 65535
}}, {{
// .dapi.commands.Move move = 1;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.move_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.Talk talk = 2;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.talk_), _Internal::kOneofCaseOffset + 0, 1,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SelectStoreOption option = 3;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.option_), _Internal::kOneofCaseOffset + 0, 2,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.BuyItem buyItem = 4;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.buyitem_), _Internal::kOneofCaseOffset + 0, 3,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SellItem sellItem = 5;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.sellitem_), _Internal::kOneofCaseOffset + 0, 4,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.RechargeItem rechargeItem = 6;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.rechargeitem_), _Internal::kOneofCaseOffset + 0, 5,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.RepairItem repairItem = 7;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.repairitem_), _Internal::kOneofCaseOffset + 0, 6,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.AttackMonster attackMonster = 8;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.attackmonster_), _Internal::kOneofCaseOffset + 0, 7,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.AttackXY attackXY = 9;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.attackxy_), _Internal::kOneofCaseOffset + 0, 8,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.OperateObject operateObject = 10;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.operateobject_), _Internal::kOneofCaseOffset + 0, 9,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.UseBeltItem useBeltItem = 11;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.usebeltitem_), _Internal::kOneofCaseOffset + 0, 10,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.ToggleCharacterSheet toggleCharacterSheet = 12;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.togglecharactersheet_), _Internal::kOneofCaseOffset + 0, 11,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.IncreaseStat increaseStat = 13;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.increasestat_), _Internal::kOneofCaseOffset + 0, 12,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.GetItem getItem = 14;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.getitem_), _Internal::kOneofCaseOffset + 0, 13,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SetSpell setSpell = 15;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.setspell_), _Internal::kOneofCaseOffset + 0, 14,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.CastMonster castMonster = 16;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.castmonster_), _Internal::kOneofCaseOffset + 0, 15,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.CastXY castXY = 17;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.castxy_), _Internal::kOneofCaseOffset + 0, 16,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.ToggleInventory toggleInventory = 18;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.toggleinventory_), _Internal::kOneofCaseOffset + 0, 17,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.PutInCursor putInCursor = 19;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.putincursor_), _Internal::kOneofCaseOffset + 0, 18,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.PutCursorItem putCursorItem = 20;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.putcursoritem_), _Internal::kOneofCaseOffset + 0, 19,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.DropCursorItem dropCursorItem = 21;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.dropcursoritem_), _Internal::kOneofCaseOffset + 0, 20,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.UseItem useItem = 22;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.useitem_), _Internal::kOneofCaseOffset + 0, 21,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.IdentifyStoreItem identifyStoreItem = 23;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.identifystoreitem_), _Internal::kOneofCaseOffset + 0, 22,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.CancelQText cancelQText = 24;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.cancelqtext_), _Internal::kOneofCaseOffset + 0, 23,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SetFPS setFPS = 25;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.setfps_), _Internal::kOneofCaseOffset + 0, 24,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.DisarmTrap disarmTrap = 26;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.disarmtrap_), _Internal::kOneofCaseOffset + 0, 25,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SkillRepair skillRepair = 27;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.skillrepair_), _Internal::kOneofCaseOffset + 0, 26,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SkillRecharge skillRecharge = 28;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.skillrecharge_), _Internal::kOneofCaseOffset + 0, 27,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.ToggleMenu toggleMenu = 29;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.togglemenu_), _Internal::kOneofCaseOffset + 0, 28,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.SaveGame saveGame = 30;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.savegame_), _Internal::kOneofCaseOffset + 0, 29,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.Quit quit = 31;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.quit_), _Internal::kOneofCaseOffset + 0, 30,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.ClearCursor clearCursor = 32;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.clearcursor_), _Internal::kOneofCaseOffset + 0, 31,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .dapi.commands.IdentifyItem identifyItem = 33;
{PROTOBUF_FIELD_OFFSET(Command, _impl_.command_.identifyitem_), _Internal::kOneofCaseOffset + 0, 32,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::dapi::commands::Move>()},
{::_pbi::TcParser::GetTable<::dapi::commands::Talk>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SelectStoreOption>()},
{::_pbi::TcParser::GetTable<::dapi::commands::BuyItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SellItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::RechargeItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::RepairItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::AttackMonster>()},
{::_pbi::TcParser::GetTable<::dapi::commands::AttackXY>()},
{::_pbi::TcParser::GetTable<::dapi::commands::OperateObject>()},
{::_pbi::TcParser::GetTable<::dapi::commands::UseBeltItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::ToggleCharacterSheet>()},
{::_pbi::TcParser::GetTable<::dapi::commands::IncreaseStat>()},
{::_pbi::TcParser::GetTable<::dapi::commands::GetItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SetSpell>()},
{::_pbi::TcParser::GetTable<::dapi::commands::CastMonster>()},
{::_pbi::TcParser::GetTable<::dapi::commands::CastXY>()},
{::_pbi::TcParser::GetTable<::dapi::commands::ToggleInventory>()},
{::_pbi::TcParser::GetTable<::dapi::commands::PutInCursor>()},
{::_pbi::TcParser::GetTable<::dapi::commands::PutCursorItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::DropCursorItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::UseItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::IdentifyStoreItem>()},
{::_pbi::TcParser::GetTable<::dapi::commands::CancelQText>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SetFPS>()},
{::_pbi::TcParser::GetTable<::dapi::commands::DisarmTrap>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SkillRepair>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SkillRecharge>()},
{::_pbi::TcParser::GetTable<::dapi::commands::ToggleMenu>()},
{::_pbi::TcParser::GetTable<::dapi::commands::SaveGame>()},
{::_pbi::TcParser::GetTable<::dapi::commands::Quit>()},
{::_pbi::TcParser::GetTable<::dapi::commands::ClearCursor>()},
{::_pbi::TcParser::GetTable<::dapi::commands::IdentifyItem>()},
}}, {{
}},
};
PROTOBUF_NOINLINE void Command::Clear() {
// @@protoc_insertion_point(message_clear_start:dapi.commands.Command)
::google::protobuf::internal::TSanWrite(&_impl_);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
clear_command();
_internal_metadata_.Clear<std::string>();
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Command::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Command& this_ = static_cast<const Command&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Command::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Command& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:dapi.commands.Command)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
switch (this_.command_case()) {
case kMove: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, *this_._impl_.command_.move_, this_._impl_.command_.move_->GetCachedSize(), target,
stream);
break;
}
case kTalk: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, *this_._impl_.command_.talk_, this_._impl_.command_.talk_->GetCachedSize(), target,
stream);
break;
}
case kOption: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, *this_._impl_.command_.option_, this_._impl_.command_.option_->GetCachedSize(), target,
stream);
break;
}
case kBuyItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4, *this_._impl_.command_.buyitem_, this_._impl_.command_.buyitem_->GetCachedSize(), target,
stream);
break;
}
case kSellItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *this_._impl_.command_.sellitem_, this_._impl_.command_.sellitem_->GetCachedSize(), target,
stream);
break;
}
case kRechargeItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, *this_._impl_.command_.rechargeitem_, this_._impl_.command_.rechargeitem_->GetCachedSize(), target,
stream);
break;
}
case kRepairItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7, *this_._impl_.command_.repairitem_, this_._impl_.command_.repairitem_->GetCachedSize(), target,
stream);
break;
}
case kAttackMonster: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8, *this_._impl_.command_.attackmonster_, this_._impl_.command_.attackmonster_->GetCachedSize(), target,
stream);
break;
}
case kAttackXY: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9, *this_._impl_.command_.attackxy_, this_._impl_.command_.attackxy_->GetCachedSize(), target,
stream);
break;
}
case kOperateObject: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
10, *this_._impl_.command_.operateobject_, this_._impl_.command_.operateobject_->GetCachedSize(), target,
stream);
break;
}
case kUseBeltItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
11, *this_._impl_.command_.usebeltitem_, this_._impl_.command_.usebeltitem_->GetCachedSize(), target,
stream);
break;
}
case kToggleCharacterSheet: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
12, *this_._impl_.command_.togglecharactersheet_, this_._impl_.command_.togglecharactersheet_->GetCachedSize(), target,
stream);
break;
}
case kIncreaseStat: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
13, *this_._impl_.command_.increasestat_, this_._impl_.command_.increasestat_->GetCachedSize(), target,
stream);
break;
}
case kGetItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
14, *this_._impl_.command_.getitem_, this_._impl_.command_.getitem_->GetCachedSize(), target,
stream);
break;
}
case kSetSpell: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
15, *this_._impl_.command_.setspell_, this_._impl_.command_.setspell_->GetCachedSize(), target,
stream);
break;
}
case kCastMonster: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
16, *this_._impl_.command_.castmonster_, this_._impl_.command_.castmonster_->GetCachedSize(), target,
stream);
break;
}
case kCastXY: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
17, *this_._impl_.command_.castxy_, this_._impl_.command_.castxy_->GetCachedSize(), target,
stream);
break;
}
case kToggleInventory: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
18, *this_._impl_.command_.toggleinventory_, this_._impl_.command_.toggleinventory_->GetCachedSize(), target,
stream);
break;
}
case kPutInCursor: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
19, *this_._impl_.command_.putincursor_, this_._impl_.command_.putincursor_->GetCachedSize(), target,
stream);
break;
}
case kPutCursorItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
20, *this_._impl_.command_.putcursoritem_, this_._impl_.command_.putcursoritem_->GetCachedSize(), target,
stream);
break;
}
case kDropCursorItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
21, *this_._impl_.command_.dropcursoritem_, this_._impl_.command_.dropcursoritem_->GetCachedSize(), target,
stream);
break;
}
case kUseItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
22, *this_._impl_.command_.useitem_, this_._impl_.command_.useitem_->GetCachedSize(), target,
stream);
break;
}
case kIdentifyStoreItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
23, *this_._impl_.command_.identifystoreitem_, this_._impl_.command_.identifystoreitem_->GetCachedSize(), target,
stream);
break;
}
case kCancelQText: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
24, *this_._impl_.command_.cancelqtext_, this_._impl_.command_.cancelqtext_->GetCachedSize(), target,
stream);
break;
}
case kSetFPS: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
25, *this_._impl_.command_.setfps_, this_._impl_.command_.setfps_->GetCachedSize(), target,
stream);
break;
}
case kDisarmTrap: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
26, *this_._impl_.command_.disarmtrap_, this_._impl_.command_.disarmtrap_->GetCachedSize(), target,
stream);
break;
}
case kSkillRepair: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
27, *this_._impl_.command_.skillrepair_, this_._impl_.command_.skillrepair_->GetCachedSize(), target,
stream);
break;
}
case kSkillRecharge: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
28, *this_._impl_.command_.skillrecharge_, this_._impl_.command_.skillrecharge_->GetCachedSize(), target,
stream);
break;
}
case kToggleMenu: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
29, *this_._impl_.command_.togglemenu_, this_._impl_.command_.togglemenu_->GetCachedSize(), target,
stream);
break;
}
case kSaveGame: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
30, *this_._impl_.command_.savegame_, this_._impl_.command_.savegame_->GetCachedSize(), target,
stream);
break;
}
case kQuit: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
31, *this_._impl_.command_.quit_, this_._impl_.command_.quit_->GetCachedSize(), target,
stream);
break;
}
case kClearCursor: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
32, *this_._impl_.command_.clearcursor_, this_._impl_.command_.clearcursor_->GetCachedSize(), target,
stream);
break;
}
case kIdentifyItem: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
33, *this_._impl_.command_.identifyitem_, this_._impl_.command_.identifyitem_->GetCachedSize(), target,
stream);
break;
}
default:
break;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = stream->WriteRaw(
this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).data(),
static_cast<int>(this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
}
// @@protoc_insertion_point(serialize_to_array_end:dapi.commands.Command)
return target;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Command::ByteSizeLong(const MessageLite& base) {
const Command& this_ = static_cast<const Command&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Command::ByteSizeLong() const {
const Command& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:dapi.commands.Command)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
switch (this_.command_case()) {
// .dapi.commands.Move move = 1;
case kMove: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.move_);
break;
}
// .dapi.commands.Talk talk = 2;
case kTalk: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.talk_);
break;
}
// .dapi.commands.SelectStoreOption option = 3;
case kOption: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.option_);
break;
}
// .dapi.commands.BuyItem buyItem = 4;
case kBuyItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.buyitem_);
break;
}
// .dapi.commands.SellItem sellItem = 5;
case kSellItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.sellitem_);
break;
}
// .dapi.commands.RechargeItem rechargeItem = 6;
case kRechargeItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.rechargeitem_);
break;
}
// .dapi.commands.RepairItem repairItem = 7;
case kRepairItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.repairitem_);
break;
}
// .dapi.commands.AttackMonster attackMonster = 8;
case kAttackMonster: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.attackmonster_);
break;
}
// .dapi.commands.AttackXY attackXY = 9;
case kAttackXY: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.attackxy_);
break;
}
// .dapi.commands.OperateObject operateObject = 10;
case kOperateObject: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.operateobject_);
break;
}
// .dapi.commands.UseBeltItem useBeltItem = 11;
case kUseBeltItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.usebeltitem_);
break;
}
// .dapi.commands.ToggleCharacterSheet toggleCharacterSheet = 12;
case kToggleCharacterSheet: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.togglecharactersheet_);
break;
}
// .dapi.commands.IncreaseStat increaseStat = 13;
case kIncreaseStat: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.increasestat_);
break;
}
// .dapi.commands.GetItem getItem = 14;
case kGetItem: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.getitem_);
break;
}
// .dapi.commands.SetSpell setSpell = 15;
case kSetSpell: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.setspell_);
break;
}
// .dapi.commands.CastMonster castMonster = 16;
case kCastMonster: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.castmonster_);
break;
}
// .dapi.commands.CastXY castXY = 17;
case kCastXY: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.castxy_);
break;
}
// .dapi.commands.ToggleInventory toggleInventory = 18;
case kToggleInventory: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.toggleinventory_);
break;
}
// .dapi.commands.PutInCursor putInCursor = 19;
case kPutInCursor: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.putincursor_);
break;
}
// .dapi.commands.PutCursorItem putCursorItem = 20;
case kPutCursorItem: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.putcursoritem_);
break;
}
// .dapi.commands.DropCursorItem dropCursorItem = 21;
case kDropCursorItem: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.dropcursoritem_);
break;
}
// .dapi.commands.UseItem useItem = 22;
case kUseItem: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.useitem_);
break;
}
// .dapi.commands.IdentifyStoreItem identifyStoreItem = 23;
case kIdentifyStoreItem: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.identifystoreitem_);
break;
}
// .dapi.commands.CancelQText cancelQText = 24;
case kCancelQText: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.cancelqtext_);
break;
}
// .dapi.commands.SetFPS setFPS = 25;
case kSetFPS: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.setfps_);
break;
}
// .dapi.commands.DisarmTrap disarmTrap = 26;
case kDisarmTrap: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.disarmtrap_);
break;
}
// .dapi.commands.SkillRepair skillRepair = 27;
case kSkillRepair: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.skillrepair_);
break;
}
// .dapi.commands.SkillRecharge skillRecharge = 28;
case kSkillRecharge: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.skillrecharge_);
break;
}
// .dapi.commands.ToggleMenu toggleMenu = 29;
case kToggleMenu: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.togglemenu_);
break;
}
// .dapi.commands.SaveGame saveGame = 30;
case kSaveGame: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.savegame_);
break;
}
// .dapi.commands.Quit quit = 31;
case kQuit: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.quit_);
break;
}
// .dapi.commands.ClearCursor clearCursor = 32;
case kClearCursor: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.clearcursor_);
break;
}
// .dapi.commands.IdentifyItem identifyItem = 33;
case kIdentifyItem: {
total_size += 2 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.command_.identifyitem_);
break;
}
case COMMAND_NOT_SET: {
break;
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
total_size += this_._internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString).size();
}
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
return total_size;
}
void Command::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Command*>(&to_msg);
auto& from = static_cast<const Command&>(from_msg);
::google::protobuf::Arena* arena = _this->GetArena();
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.commands.Command)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
const bool oneof_needs_init = oneof_to_case != oneof_from_case;
if (oneof_needs_init) {
if (oneof_to_case != 0) {
_this->clear_command();
}
_this->_impl_._oneof_case_[0] = oneof_from_case;
}
switch (oneof_from_case) {
case kMove: {
if (oneof_needs_init) {
_this->_impl_.command_.move_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Move>(arena, *from._impl_.command_.move_);
} else {
_this->_impl_.command_.move_->MergeFrom(from._internal_move());
}
break;
}
case kTalk: {
if (oneof_needs_init) {
_this->_impl_.command_.talk_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Talk>(arena, *from._impl_.command_.talk_);
} else {
_this->_impl_.command_.talk_->MergeFrom(from._internal_talk());
}
break;
}
case kOption: {
if (oneof_needs_init) {
_this->_impl_.command_.option_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SelectStoreOption>(arena, *from._impl_.command_.option_);
} else {
_this->_impl_.command_.option_->MergeFrom(from._internal_option());
}
break;
}
case kBuyItem: {
if (oneof_needs_init) {
_this->_impl_.command_.buyitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::BuyItem>(arena, *from._impl_.command_.buyitem_);
} else {
_this->_impl_.command_.buyitem_->MergeFrom(from._internal_buyitem());
}
break;
}
case kSellItem: {
if (oneof_needs_init) {
_this->_impl_.command_.sellitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SellItem>(arena, *from._impl_.command_.sellitem_);
} else {
_this->_impl_.command_.sellitem_->MergeFrom(from._internal_sellitem());
}
break;
}
case kRechargeItem: {
if (oneof_needs_init) {
_this->_impl_.command_.rechargeitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::RechargeItem>(arena, *from._impl_.command_.rechargeitem_);
} else {
_this->_impl_.command_.rechargeitem_->MergeFrom(from._internal_rechargeitem());
}
break;
}
case kRepairItem: {
if (oneof_needs_init) {
_this->_impl_.command_.repairitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::RepairItem>(arena, *from._impl_.command_.repairitem_);
} else {
_this->_impl_.command_.repairitem_->MergeFrom(from._internal_repairitem());
}
break;
}
case kAttackMonster: {
if (oneof_needs_init) {
_this->_impl_.command_.attackmonster_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::AttackMonster>(arena, *from._impl_.command_.attackmonster_);
} else {
_this->_impl_.command_.attackmonster_->MergeFrom(from._internal_attackmonster());
}
break;
}
case kAttackXY: {
if (oneof_needs_init) {
_this->_impl_.command_.attackxy_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::AttackXY>(arena, *from._impl_.command_.attackxy_);
} else {
_this->_impl_.command_.attackxy_->MergeFrom(from._internal_attackxy());
}
break;
}
case kOperateObject: {
if (oneof_needs_init) {
_this->_impl_.command_.operateobject_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::OperateObject>(arena, *from._impl_.command_.operateobject_);
} else {
_this->_impl_.command_.operateobject_->MergeFrom(from._internal_operateobject());
}
break;
}
case kUseBeltItem: {
if (oneof_needs_init) {
_this->_impl_.command_.usebeltitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::UseBeltItem>(arena, *from._impl_.command_.usebeltitem_);
} else {
_this->_impl_.command_.usebeltitem_->MergeFrom(from._internal_usebeltitem());
}
break;
}
case kToggleCharacterSheet: {
if (oneof_needs_init) {
_this->_impl_.command_.togglecharactersheet_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleCharacterSheet>(arena, *from._impl_.command_.togglecharactersheet_);
} else {
_this->_impl_.command_.togglecharactersheet_->MergeFrom(from._internal_togglecharactersheet());
}
break;
}
case kIncreaseStat: {
if (oneof_needs_init) {
_this->_impl_.command_.increasestat_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IncreaseStat>(arena, *from._impl_.command_.increasestat_);
} else {
_this->_impl_.command_.increasestat_->MergeFrom(from._internal_increasestat());
}
break;
}
case kGetItem: {
if (oneof_needs_init) {
_this->_impl_.command_.getitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::GetItem>(arena, *from._impl_.command_.getitem_);
} else {
_this->_impl_.command_.getitem_->MergeFrom(from._internal_getitem());
}
break;
}
case kSetSpell: {
if (oneof_needs_init) {
_this->_impl_.command_.setspell_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SetSpell>(arena, *from._impl_.command_.setspell_);
} else {
_this->_impl_.command_.setspell_->MergeFrom(from._internal_setspell());
}
break;
}
case kCastMonster: {
if (oneof_needs_init) {
_this->_impl_.command_.castmonster_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CastMonster>(arena, *from._impl_.command_.castmonster_);
} else {
_this->_impl_.command_.castmonster_->MergeFrom(from._internal_castmonster());
}
break;
}
case kCastXY: {
if (oneof_needs_init) {
_this->_impl_.command_.castxy_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CastXY>(arena, *from._impl_.command_.castxy_);
} else {
_this->_impl_.command_.castxy_->MergeFrom(from._internal_castxy());
}
break;
}
case kToggleInventory: {
if (oneof_needs_init) {
_this->_impl_.command_.toggleinventory_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleInventory>(arena, *from._impl_.command_.toggleinventory_);
} else {
_this->_impl_.command_.toggleinventory_->MergeFrom(from._internal_toggleinventory());
}
break;
}
case kPutInCursor: {
if (oneof_needs_init) {
_this->_impl_.command_.putincursor_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::PutInCursor>(arena, *from._impl_.command_.putincursor_);
} else {
_this->_impl_.command_.putincursor_->MergeFrom(from._internal_putincursor());
}
break;
}
case kPutCursorItem: {
if (oneof_needs_init) {
_this->_impl_.command_.putcursoritem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::PutCursorItem>(arena, *from._impl_.command_.putcursoritem_);
} else {
_this->_impl_.command_.putcursoritem_->MergeFrom(from._internal_putcursoritem());
}
break;
}
case kDropCursorItem: {
if (oneof_needs_init) {
_this->_impl_.command_.dropcursoritem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::DropCursorItem>(arena, *from._impl_.command_.dropcursoritem_);
} else {
_this->_impl_.command_.dropcursoritem_->MergeFrom(from._internal_dropcursoritem());
}
break;
}
case kUseItem: {
if (oneof_needs_init) {
_this->_impl_.command_.useitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::UseItem>(arena, *from._impl_.command_.useitem_);
} else {
_this->_impl_.command_.useitem_->MergeFrom(from._internal_useitem());
}
break;
}
case kIdentifyStoreItem: {
if (oneof_needs_init) {
_this->_impl_.command_.identifystoreitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IdentifyStoreItem>(arena, *from._impl_.command_.identifystoreitem_);
} else {
_this->_impl_.command_.identifystoreitem_->MergeFrom(from._internal_identifystoreitem());
}
break;
}
case kCancelQText: {
if (oneof_needs_init) {
_this->_impl_.command_.cancelqtext_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::CancelQText>(arena, *from._impl_.command_.cancelqtext_);
} else {
_this->_impl_.command_.cancelqtext_->MergeFrom(from._internal_cancelqtext());
}
break;
}
case kSetFPS: {
if (oneof_needs_init) {
_this->_impl_.command_.setfps_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SetFPS>(arena, *from._impl_.command_.setfps_);
} else {
_this->_impl_.command_.setfps_->MergeFrom(from._internal_setfps());
}
break;
}
case kDisarmTrap: {
if (oneof_needs_init) {
_this->_impl_.command_.disarmtrap_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::DisarmTrap>(arena, *from._impl_.command_.disarmtrap_);
} else {
_this->_impl_.command_.disarmtrap_->MergeFrom(from._internal_disarmtrap());
}
break;
}
case kSkillRepair: {
if (oneof_needs_init) {
_this->_impl_.command_.skillrepair_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SkillRepair>(arena, *from._impl_.command_.skillrepair_);
} else {
_this->_impl_.command_.skillrepair_->MergeFrom(from._internal_skillrepair());
}
break;
}
case kSkillRecharge: {
if (oneof_needs_init) {
_this->_impl_.command_.skillrecharge_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SkillRecharge>(arena, *from._impl_.command_.skillrecharge_);
} else {
_this->_impl_.command_.skillrecharge_->MergeFrom(from._internal_skillrecharge());
}
break;
}
case kToggleMenu: {
if (oneof_needs_init) {
_this->_impl_.command_.togglemenu_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ToggleMenu>(arena, *from._impl_.command_.togglemenu_);
} else {
_this->_impl_.command_.togglemenu_->MergeFrom(from._internal_togglemenu());
}
break;
}
case kSaveGame: {
if (oneof_needs_init) {
_this->_impl_.command_.savegame_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::SaveGame>(arena, *from._impl_.command_.savegame_);
} else {
_this->_impl_.command_.savegame_->MergeFrom(from._internal_savegame());
}
break;
}
case kQuit: {
if (oneof_needs_init) {
_this->_impl_.command_.quit_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::Quit>(arena, *from._impl_.command_.quit_);
} else {
_this->_impl_.command_.quit_->MergeFrom(from._internal_quit());
}
break;
}
case kClearCursor: {
if (oneof_needs_init) {
_this->_impl_.command_.clearcursor_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::ClearCursor>(arena, *from._impl_.command_.clearcursor_);
} else {
_this->_impl_.command_.clearcursor_->MergeFrom(from._internal_clearcursor());
}
break;
}
case kIdentifyItem: {
if (oneof_needs_init) {
_this->_impl_.command_.identifyitem_ =
::google::protobuf::MessageLite::CopyConstruct<::dapi::commands::IdentifyItem>(arena, *from._impl_.command_.identifyitem_);
} else {
_this->_impl_.command_.identifyitem_->MergeFrom(from._internal_identifyitem());
}
break;
}
case COMMAND_NOT_SET:
break;
}
}
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
}
void Command::CopyFrom(const Command& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.commands.Command)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void Command::InternalSwap(Command* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.command_, other->_impl_.command_);
swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}
// @@protoc_insertion_point(namespace_scope)
} // namespace commands
} // namespace dapi
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"