aboutsummaryrefslogtreecommitdiff
path: root/src/shared/net/lib/protobuf/net.pb.h
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-12 21:57:46 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-12 21:57:46 +1100
commite4483eca01b48b943cd0461e24a74ae1a3139ed4 (patch)
treeed58c3c246e3af1af337697695d780aa31f6ad9a /src/shared/net/lib/protobuf/net.pb.h
parent1cc08c51eb4b0f95c30c0a98ad1fc5ad3459b2df (diff)
Update to most recent version (old initial commit)
Diffstat (limited to 'src/shared/net/lib/protobuf/net.pb.h')
-rw-r--r--src/shared/net/lib/protobuf/net.pb.h4434
1 files changed, 3448 insertions, 986 deletions
diff --git a/src/shared/net/lib/protobuf/net.pb.h b/src/shared/net/lib/protobuf/net.pb.h
index 9160072..59a79fe 100644
--- a/src/shared/net/lib/protobuf/net.pb.h
+++ b/src/shared/net/lib/protobuf/net.pb.h
@@ -8,12 +8,12 @@
#include <string>
#include <google/protobuf/port_def.inc>
-#if PROTOBUF_VERSION < 3019000
+#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
-#if 3019002 < PROTOBUF_MIN_PROTOC_VERSION
+#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
@@ -23,7 +23,6 @@
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
-#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
@@ -42,14 +41,6 @@ PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_net_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[18]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_net_2eproto;
@@ -60,6 +51,12 @@ extern add_blockDefaultTypeInternal _add_block_default_instance_;
class angles;
struct anglesDefaultTypeInternal;
extern anglesDefaultTypeInternal _angles_default_instance_;
+class animate;
+struct animateDefaultTypeInternal;
+extern animateDefaultTypeInternal _animate_default_instance_;
+class animate_update;
+struct animate_updateDefaultTypeInternal;
+extern animate_updateDefaultTypeInternal _animate_update_default_instance_;
class auth;
struct authDefaultTypeInternal;
extern authDefaultTypeInternal _auth_default_instance_;
@@ -69,12 +66,30 @@ extern chunkDefaultTypeInternal _chunk_default_instance_;
class coords;
struct coordsDefaultTypeInternal;
extern coordsDefaultTypeInternal _coords_default_instance_;
+class entity;
+struct entityDefaultTypeInternal;
+extern entityDefaultTypeInternal _entity_default_instance_;
class hear_player;
struct hear_playerDefaultTypeInternal;
extern hear_playerDefaultTypeInternal _hear_player_default_instance_;
class init;
struct initDefaultTypeInternal;
extern initDefaultTypeInternal _init_default_instance_;
+class item;
+struct itemDefaultTypeInternal;
+extern itemDefaultTypeInternal _item_default_instance_;
+class item_array;
+struct item_arrayDefaultTypeInternal;
+extern item_arrayDefaultTypeInternal _item_array_default_instance_;
+class item_swap;
+struct item_swapDefaultTypeInternal;
+extern item_swapDefaultTypeInternal _item_swap_default_instance_;
+class item_update;
+struct item_updateDefaultTypeInternal;
+extern item_updateDefaultTypeInternal _item_update_default_instance_;
+class item_use;
+struct item_useDefaultTypeInternal;
+extern item_useDefaultTypeInternal _item_use_default_instance_;
class ivec3;
struct ivec3DefaultTypeInternal;
extern ivec3DefaultTypeInternal _ivec3_default_instance_;
@@ -93,9 +108,9 @@ extern remove_blockDefaultTypeInternal _remove_block_default_instance_;
class remove_chunk;
struct remove_chunkDefaultTypeInternal;
extern remove_chunkDefaultTypeInternal _remove_chunk_default_instance_;
-class remove_player;
-struct remove_playerDefaultTypeInternal;
-extern remove_playerDefaultTypeInternal _remove_player_default_instance_;
+class remove_entity;
+struct remove_entityDefaultTypeInternal;
+extern remove_entityDefaultTypeInternal _remove_entity_default_instance_;
class request_chunk;
struct request_chunkDefaultTypeInternal;
extern request_chunkDefaultTypeInternal _request_chunk_default_instance_;
@@ -112,18 +127,26 @@ extern vec3DefaultTypeInternal _vec3_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::proto::add_block* Arena::CreateMaybeMessage<::proto::add_block>(Arena*);
template<> ::proto::angles* Arena::CreateMaybeMessage<::proto::angles>(Arena*);
+template<> ::proto::animate* Arena::CreateMaybeMessage<::proto::animate>(Arena*);
+template<> ::proto::animate_update* Arena::CreateMaybeMessage<::proto::animate_update>(Arena*);
template<> ::proto::auth* Arena::CreateMaybeMessage<::proto::auth>(Arena*);
template<> ::proto::chunk* Arena::CreateMaybeMessage<::proto::chunk>(Arena*);
template<> ::proto::coords* Arena::CreateMaybeMessage<::proto::coords>(Arena*);
+template<> ::proto::entity* Arena::CreateMaybeMessage<::proto::entity>(Arena*);
template<> ::proto::hear_player* Arena::CreateMaybeMessage<::proto::hear_player>(Arena*);
template<> ::proto::init* Arena::CreateMaybeMessage<::proto::init>(Arena*);
+template<> ::proto::item* Arena::CreateMaybeMessage<::proto::item>(Arena*);
+template<> ::proto::item_array* Arena::CreateMaybeMessage<::proto::item_array>(Arena*);
+template<> ::proto::item_swap* Arena::CreateMaybeMessage<::proto::item_swap>(Arena*);
+template<> ::proto::item_update* Arena::CreateMaybeMessage<::proto::item_update>(Arena*);
+template<> ::proto::item_use* Arena::CreateMaybeMessage<::proto::item_use>(Arena*);
template<> ::proto::ivec3* Arena::CreateMaybeMessage<::proto::ivec3>(Arena*);
template<> ::proto::move* Arena::CreateMaybeMessage<::proto::move>(Arena*);
template<> ::proto::packet* Arena::CreateMaybeMessage<::proto::packet>(Arena*);
template<> ::proto::player* Arena::CreateMaybeMessage<::proto::player>(Arena*);
template<> ::proto::remove_block* Arena::CreateMaybeMessage<::proto::remove_block>(Arena*);
template<> ::proto::remove_chunk* Arena::CreateMaybeMessage<::proto::remove_chunk>(Arena*);
-template<> ::proto::remove_player* Arena::CreateMaybeMessage<::proto::remove_player>(Arena*);
+template<> ::proto::remove_entity* Arena::CreateMaybeMessage<::proto::remove_entity>(Arena*);
template<> ::proto::request_chunk* Arena::CreateMaybeMessage<::proto::request_chunk>(Arena*);
template<> ::proto::say* Arena::CreateMaybeMessage<::proto::say>(Arena*);
template<> ::proto::server_message* Arena::CreateMaybeMessage<::proto::server_message>(Arena*);
@@ -138,7 +161,7 @@ class angles final :
public:
inline angles() : angles(nullptr) {}
~angles() override;
- explicit constexpr angles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR angles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
angles(const angles& from);
angles(angles&& from) noexcept
@@ -213,9 +236,11 @@ class angles final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const angles& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const angles& from);
+ void MergeFrom( const angles& from) {
+ angles::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -224,10 +249,10 @@ class angles final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(angles* other);
@@ -240,9 +265,6 @@ class angles final :
protected:
explicit angles(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -283,9 +305,12 @@ class angles final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- float pitch_;
- float yaw_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ float pitch_;
+ float yaw_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -295,7 +320,7 @@ class coords final :
public:
inline coords() : coords(nullptr) {}
~coords() override;
- explicit constexpr coords(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR coords(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
coords(const coords& from);
coords(coords&& from) noexcept
@@ -370,9 +395,11 @@ class coords final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const coords& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const coords& from);
+ void MergeFrom( const coords& from) {
+ coords::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -381,10 +408,10 @@ class coords final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(coords* other);
@@ -397,9 +424,6 @@ class coords final :
protected:
explicit coords(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -440,9 +464,12 @@ class coords final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- int32_t x_;
- int32_t z_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ int32_t x_;
+ int32_t z_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -452,7 +479,7 @@ class vec3 final :
public:
inline vec3() : vec3(nullptr) {}
~vec3() override;
- explicit constexpr vec3(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR vec3(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
vec3(const vec3& from);
vec3(vec3&& from) noexcept
@@ -527,9 +554,11 @@ class vec3 final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const vec3& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const vec3& from);
+ void MergeFrom( const vec3& from) {
+ vec3::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -538,10 +567,10 @@ class vec3 final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(vec3* other);
@@ -554,9 +583,6 @@ class vec3 final :
protected:
explicit vec3(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -607,10 +633,13 @@ class vec3 final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- float x_;
- float y_;
- float z_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ float x_;
+ float y_;
+ float z_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -620,7 +649,7 @@ class ivec3 final :
public:
inline ivec3() : ivec3(nullptr) {}
~ivec3() override;
- explicit constexpr ivec3(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR ivec3(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ivec3(const ivec3& from);
ivec3(ivec3&& from) noexcept
@@ -695,9 +724,11 @@ class ivec3 final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ivec3& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ivec3& from);
+ void MergeFrom( const ivec3& from) {
+ ivec3::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -706,10 +737,10 @@ class ivec3 final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ivec3* other);
@@ -722,9 +753,6 @@ class ivec3 final :
protected:
explicit ivec3(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -775,32 +803,35 @@ class ivec3 final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- int32_t x_;
- int32_t y_;
- int32_t z_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ int32_t x_;
+ int32_t y_;
+ int32_t z_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
-class player final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.player) */ {
+class entity final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.entity) */ {
public:
- inline player() : player(nullptr) {}
- ~player() override;
- explicit constexpr player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline entity() : entity(nullptr) {}
+ ~entity() override;
+ explicit PROTOBUF_CONSTEXPR entity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- player(const player& from);
- player(player&& from) noexcept
- : player() {
+ entity(const entity& from);
+ entity(entity&& from) noexcept
+ : entity() {
*this = ::std::move(from);
}
- inline player& operator=(const player& from) {
+ inline entity& operator=(const entity& from) {
CopyFrom(from);
return *this;
}
- inline player& operator=(player&& from) noexcept {
+ inline entity& operator=(entity&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -823,20 +854,20 @@ class player final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const player& default_instance() {
+ static const entity& default_instance() {
return *internal_default_instance();
}
- static inline const player* internal_default_instance() {
- return reinterpret_cast<const player*>(
- &_player_default_instance_);
+ static inline const entity* internal_default_instance() {
+ return reinterpret_cast<const entity*>(
+ &_entity_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
- friend void swap(player& a, player& b) {
+ friend void swap(entity& a, entity& b) {
a.Swap(&b);
}
- inline void Swap(player* other) {
+ inline void Swap(entity* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -849,7 +880,7 @@ class player final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(player* other) {
+ void UnsafeArenaSwap(entity* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -857,15 +888,17 @@ class player final :
// implements Message ----------------------------------------------
- player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<player>(arena);
+ entity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<entity>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const player& from);
+ void CopyFrom(const entity& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const player& from);
+ void MergeFrom( const entity& from) {
+ entity::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -874,25 +907,22 @@ class player final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(player* other);
+ void InternalSwap(entity* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "proto.player";
+ return "proto.entity";
}
protected:
- explicit player(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit entity(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -905,14 +935,11 @@ class player final :
// accessors -------------------------------------------------------
enum : int {
- kChunkPosFieldNumber = 3,
- kLocalPosFieldNumber = 4,
- kViewanglesFieldNumber = 5,
- kVelocityFieldNumber = 6,
+ kChunkPosFieldNumber = 2,
+ kLocalPosFieldNumber = 3,
kIndexFieldNumber = 1,
- kCommandsFieldNumber = 2,
};
- // .proto.coords chunk_pos = 3;
+ // .proto.coords chunk_pos = 2;
bool has_chunk_pos() const;
private:
bool _internal_has_chunk_pos() const;
@@ -930,7 +957,7 @@ class player final :
::proto::coords* chunk_pos);
::proto::coords* unsafe_arena_release_chunk_pos();
- // .proto.vec3 local_pos = 4;
+ // .proto.vec3 local_pos = 3;
bool has_local_pos() const;
private:
bool _internal_has_local_pos() const;
@@ -948,7 +975,179 @@ class player final :
::proto::vec3* local_pos);
::proto::vec3* unsafe_arena_release_local_pos();
- // .proto.angles viewangles = 5;
+ // uint32 index = 1;
+ void clear_index();
+ uint32_t index() const;
+ void set_index(uint32_t value);
+ private:
+ uint32_t _internal_index() const;
+ void _internal_set_index(uint32_t value);
+ public:
+
+ // @@protoc_insertion_point(class_scope:proto.entity)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::proto::coords* chunk_pos_;
+ ::proto::vec3* local_pos_;
+ uint32_t index_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class animate final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.animate) */ {
+ public:
+ inline animate() : animate(nullptr) {}
+ ~animate() override;
+ explicit PROTOBUF_CONSTEXPR animate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ animate(const animate& from);
+ animate(animate&& from) noexcept
+ : animate() {
+ *this = ::std::move(from);
+ }
+
+ inline animate& operator=(const animate& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline animate& operator=(animate&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const animate& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const animate* internal_default_instance() {
+ return reinterpret_cast<const animate*>(
+ &_animate_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 5;
+
+ friend void swap(animate& a, animate& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(animate* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(animate* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ animate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<animate>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const animate& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const animate& from) {
+ animate::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(animate* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.animate";
+ }
+ protected:
+ explicit animate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kEntityFieldNumber = 1,
+ kViewanglesFieldNumber = 3,
+ kVelocityFieldNumber = 4,
+ kCommandsFieldNumber = 2,
+ kActiveItemFieldNumber = 5,
+ };
+ // .proto.entity entity = 1;
+ bool has_entity() const;
+ private:
+ bool _internal_has_entity() const;
+ public:
+ void clear_entity();
+ const ::proto::entity& entity() const;
+ PROTOBUF_NODISCARD ::proto::entity* release_entity();
+ ::proto::entity* mutable_entity();
+ void set_allocated_entity(::proto::entity* entity);
+ private:
+ const ::proto::entity& _internal_entity() const;
+ ::proto::entity* _internal_mutable_entity();
+ public:
+ void unsafe_arena_set_allocated_entity(
+ ::proto::entity* entity);
+ ::proto::entity* unsafe_arena_release_entity();
+
+ // .proto.angles viewangles = 3;
bool has_viewangles() const;
private:
bool _internal_has_viewangles() const;
@@ -966,7 +1165,7 @@ class player final :
::proto::angles* viewangles);
::proto::angles* unsafe_arena_release_viewangles();
- // .proto.vec3 velocity = 6;
+ // .proto.vec3 velocity = 4;
bool has_velocity() const;
private:
bool _internal_has_velocity() const;
@@ -984,6 +1183,169 @@ class player final :
::proto::vec3* velocity);
::proto::vec3* unsafe_arena_release_velocity();
+ // uint32 commands = 2;
+ void clear_commands();
+ uint32_t commands() const;
+ void set_commands(uint32_t value);
+ private:
+ uint32_t _internal_commands() const;
+ void _internal_set_commands(uint32_t value);
+ public:
+
+ // uint32 active_item = 5;
+ void clear_active_item();
+ uint32_t active_item() const;
+ void set_active_item(uint32_t value);
+ private:
+ uint32_t _internal_active_item() const;
+ void _internal_set_active_item(uint32_t value);
+ public:
+
+ // @@protoc_insertion_point(class_scope:proto.animate)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::proto::entity* entity_;
+ ::proto::angles* viewangles_;
+ ::proto::vec3* velocity_;
+ uint32_t commands_;
+ uint32_t active_item_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class item final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.item) */ {
+ public:
+ inline item() : item(nullptr) {}
+ ~item() override;
+ explicit PROTOBUF_CONSTEXPR item(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ item(const item& from);
+ item(item&& from) noexcept
+ : item() {
+ *this = ::std::move(from);
+ }
+
+ inline item& operator=(const item& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline item& operator=(item&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const item& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const item* internal_default_instance() {
+ return reinterpret_cast<const item*>(
+ &_item_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 6;
+
+ friend void swap(item& a, item& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(item* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(item* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ item* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<item>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const item& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const item& from) {
+ item::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(item* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.item";
+ }
+ protected:
+ explicit item(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kIndexFieldNumber = 1,
+ kTypeFieldNumber = 2,
+ kQuantityFieldNumber = 3,
+ };
// uint32 index = 1;
void clear_index();
uint32_t index() const;
@@ -993,15 +1355,359 @@ class player final :
void _internal_set_index(uint32_t value);
public:
- // uint32 commands = 2;
- void clear_commands();
- uint32_t commands() const;
- void set_commands(uint32_t value);
+ // uint32 type = 2;
+ void clear_type();
+ uint32_t type() const;
+ void set_type(uint32_t value);
private:
- uint32_t _internal_commands() const;
- void _internal_set_commands(uint32_t value);
+ uint32_t _internal_type() const;
+ void _internal_set_type(uint32_t value);
+ public:
+
+ // uint32 quantity = 3;
+ void clear_quantity();
+ uint32_t quantity() const;
+ void set_quantity(uint32_t value);
+ private:
+ uint32_t _internal_quantity() const;
+ void _internal_set_quantity(uint32_t value);
public:
+ // @@protoc_insertion_point(class_scope:proto.item)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ uint32_t index_;
+ uint32_t type_;
+ uint32_t quantity_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class item_array final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.item_array) */ {
+ public:
+ inline item_array() : item_array(nullptr) {}
+ ~item_array() override;
+ explicit PROTOBUF_CONSTEXPR item_array(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ item_array(const item_array& from);
+ item_array(item_array&& from) noexcept
+ : item_array() {
+ *this = ::std::move(from);
+ }
+
+ inline item_array& operator=(const item_array& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline item_array& operator=(item_array&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const item_array& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const item_array* internal_default_instance() {
+ return reinterpret_cast<const item_array*>(
+ &_item_array_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 7;
+
+ friend void swap(item_array& a, item_array& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(item_array* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(item_array* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ item_array* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<item_array>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const item_array& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const item_array& from) {
+ item_array::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(item_array* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.item_array";
+ }
+ protected:
+ explicit item_array(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kItemsFieldNumber = 1,
+ };
+ // repeated .proto.item items = 1;
+ int items_size() const;
+ private:
+ int _internal_items_size() const;
+ public:
+ void clear_items();
+ ::proto::item* mutable_items(int index);
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >*
+ mutable_items();
+ private:
+ const ::proto::item& _internal_items(int index) const;
+ ::proto::item* _internal_add_items();
+ public:
+ const ::proto::item& items(int index) const;
+ ::proto::item* add_items();
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >&
+ items() const;
+
+ // @@protoc_insertion_point(class_scope:proto.item_array)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item > items_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class player final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.player) */ {
+ public:
+ inline player() : player(nullptr) {}
+ ~player() override;
+ explicit PROTOBUF_CONSTEXPR player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ player(const player& from);
+ player(player&& from) noexcept
+ : player() {
+ *this = ::std::move(from);
+ }
+
+ inline player& operator=(const player& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline player& operator=(player&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const player& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const player* internal_default_instance() {
+ return reinterpret_cast<const player*>(
+ &_player_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 8;
+
+ friend void swap(player& a, player& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(player* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(player* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<player>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const player& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const player& from) {
+ player::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(player* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.player";
+ }
+ protected:
+ explicit player(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kAnimateFieldNumber = 1,
+ kInventoryFieldNumber = 2,
+ };
+ // .proto.animate animate = 1;
+ bool has_animate() const;
+ private:
+ bool _internal_has_animate() const;
+ public:
+ void clear_animate();
+ const ::proto::animate& animate() const;
+ PROTOBUF_NODISCARD ::proto::animate* release_animate();
+ ::proto::animate* mutable_animate();
+ void set_allocated_animate(::proto::animate* animate);
+ private:
+ const ::proto::animate& _internal_animate() const;
+ ::proto::animate* _internal_mutable_animate();
+ public:
+ void unsafe_arena_set_allocated_animate(
+ ::proto::animate* animate);
+ ::proto::animate* unsafe_arena_release_animate();
+
+ // .proto.item_array inventory = 2;
+ bool has_inventory() const;
+ private:
+ bool _internal_has_inventory() const;
+ public:
+ void clear_inventory();
+ const ::proto::item_array& inventory() const;
+ PROTOBUF_NODISCARD ::proto::item_array* release_inventory();
+ ::proto::item_array* mutable_inventory();
+ void set_allocated_inventory(::proto::item_array* inventory);
+ private:
+ const ::proto::item_array& _internal_inventory() const;
+ ::proto::item_array* _internal_mutable_inventory();
+ public:
+ void unsafe_arena_set_allocated_inventory(
+ ::proto::item_array* inventory);
+ ::proto::item_array* unsafe_arena_release_inventory();
+
// @@protoc_insertion_point(class_scope:proto.player)
private:
class _Internal;
@@ -1009,13 +1715,12 @@ class player final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::coords* chunk_pos_;
- ::proto::vec3* local_pos_;
- ::proto::angles* viewangles_;
- ::proto::vec3* velocity_;
- uint32_t index_;
- uint32_t commands_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::animate* animate_;
+ ::proto::item_array* inventory_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1025,7 +1730,7 @@ class auth final :
public:
inline auth() : auth(nullptr) {}
~auth() override;
- explicit constexpr auth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR auth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
auth(const auth& from);
auth(auth&& from) noexcept
@@ -1068,7 +1773,7 @@ class auth final :
&_auth_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 5;
+ 9;
friend void swap(auth& a, auth& b) {
a.Swap(&b);
@@ -1100,9 +1805,11 @@ class auth final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const auth& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const auth& from);
+ void MergeFrom( const auth& from) {
+ auth::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1111,10 +1818,10 @@ class auth final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(auth* other);
@@ -1127,9 +1834,6 @@ class auth final :
protected:
explicit auth(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1180,9 +1884,12 @@ class auth final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr username_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr username_;
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1192,7 +1899,7 @@ class init final :
public:
inline init() : init(nullptr) {}
~init() override;
- explicit constexpr init(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR init(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
init(const init& from);
init(init&& from) noexcept
@@ -1235,7 +1942,7 @@ class init final :
&_init_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 6;
+ 10;
friend void swap(init& a, init& b) {
a.Swap(&b);
@@ -1267,9 +1974,11 @@ class init final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const init& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const init& from);
+ void MergeFrom( const init& from) {
+ init::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1278,10 +1987,10 @@ class init final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(init* other);
@@ -1294,9 +2003,6 @@ class init final :
protected:
explicit init(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1312,6 +2018,8 @@ class init final :
kLocalplayerFieldNumber = 3,
kSeedFieldNumber = 1,
kDrawDistanceFieldNumber = 2,
+ kTickrateFieldNumber = 4,
+ kTickFieldNumber = 5,
};
// .proto.player localplayer = 3;
bool has_localplayer() const;
@@ -1349,6 +2057,24 @@ class init final :
void _internal_set_draw_distance(int32_t value);
public:
+ // uint32 tickrate = 4;
+ void clear_tickrate();
+ uint32_t tickrate() const;
+ void set_tickrate(uint32_t value);
+ private:
+ uint32_t _internal_tickrate() const;
+ void _internal_set_tickrate(uint32_t value);
+ public:
+
+ // uint32 tick = 5;
+ void clear_tick();
+ uint32_t tick() const;
+ void set_tick(uint32_t value);
+ private:
+ uint32_t _internal_tick() const;
+ void _internal_set_tick(uint32_t value);
+ public:
+
// @@protoc_insertion_point(class_scope:proto.init)
private:
class _Internal;
@@ -1356,10 +2082,15 @@ class init final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::player* localplayer_;
- uint64_t seed_;
- int32_t draw_distance_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::player* localplayer_;
+ uint64_t seed_;
+ int32_t draw_distance_;
+ uint32_t tickrate_;
+ uint32_t tick_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1369,7 +2100,7 @@ class move final :
public:
inline move() : move(nullptr) {}
~move() override;
- explicit constexpr move(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR move(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
move(const move& from);
move(move&& from) noexcept
@@ -1412,7 +2143,7 @@ class move final :
&_move_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 7;
+ 11;
friend void swap(move& a, move& b) {
a.Swap(&b);
@@ -1444,9 +2175,11 @@ class move final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const move& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const move& from);
+ void MergeFrom( const move& from) {
+ move::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1455,10 +2188,10 @@ class move final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(move* other);
@@ -1471,9 +2204,6 @@ class move final :
protected:
explicit move(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1488,6 +2218,8 @@ class move final :
enum : int {
kViewanglesFieldNumber = 2,
kCommandsFieldNumber = 1,
+ kActiveItemFieldNumber = 3,
+ kSequenceFieldNumber = 4,
};
// .proto.angles viewangles = 2;
bool has_viewangles() const;
@@ -1516,6 +2248,24 @@ class move final :
void _internal_set_commands(uint32_t value);
public:
+ // uint32 active_item = 3;
+ void clear_active_item();
+ uint32_t active_item() const;
+ void set_active_item(uint32_t value);
+ private:
+ uint32_t _internal_active_item() const;
+ void _internal_set_active_item(uint32_t value);
+ public:
+
+ // uint32 sequence = 4;
+ void clear_sequence();
+ uint32_t sequence() const;
+ void set_sequence(uint32_t value);
+ private:
+ uint32_t _internal_sequence() const;
+ void _internal_set_sequence(uint32_t value);
+ public:
+
// @@protoc_insertion_point(class_scope:proto.move)
private:
class _Internal;
@@ -1523,31 +2273,36 @@ class move final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::angles* viewangles_;
- uint32_t commands_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::angles* viewangles_;
+ uint32_t commands_;
+ uint32_t active_item_;
+ uint32_t sequence_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
-class remove_player final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.remove_player) */ {
+class remove_entity final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.remove_entity) */ {
public:
- inline remove_player() : remove_player(nullptr) {}
- ~remove_player() override;
- explicit constexpr remove_player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ inline remove_entity() : remove_entity(nullptr) {}
+ ~remove_entity() override;
+ explicit PROTOBUF_CONSTEXPR remove_entity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- remove_player(const remove_player& from);
- remove_player(remove_player&& from) noexcept
- : remove_player() {
+ remove_entity(const remove_entity& from);
+ remove_entity(remove_entity&& from) noexcept
+ : remove_entity() {
*this = ::std::move(from);
}
- inline remove_player& operator=(const remove_player& from) {
+ inline remove_entity& operator=(const remove_entity& from) {
CopyFrom(from);
return *this;
}
- inline remove_player& operator=(remove_player&& from) noexcept {
+ inline remove_entity& operator=(remove_entity&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1570,20 +2325,20 @@ class remove_player final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
- static const remove_player& default_instance() {
+ static const remove_entity& default_instance() {
return *internal_default_instance();
}
- static inline const remove_player* internal_default_instance() {
- return reinterpret_cast<const remove_player*>(
- &_remove_player_default_instance_);
+ static inline const remove_entity* internal_default_instance() {
+ return reinterpret_cast<const remove_entity*>(
+ &_remove_entity_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 8;
+ 12;
- friend void swap(remove_player& a, remove_player& b) {
+ friend void swap(remove_entity& a, remove_entity& b) {
a.Swap(&b);
}
- inline void Swap(remove_player* other) {
+ inline void Swap(remove_entity* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
@@ -1596,7 +2351,7 @@ class remove_player final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
- void UnsafeArenaSwap(remove_player* other) {
+ void UnsafeArenaSwap(remove_entity* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
@@ -1604,15 +2359,17 @@ class remove_player final :
// implements Message ----------------------------------------------
- remove_player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<remove_player>(arena);
+ remove_entity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<remove_entity>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const remove_player& from);
+ void CopyFrom(const remove_entity& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const remove_player& from);
+ void MergeFrom( const remove_entity& from) {
+ remove_entity::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1621,25 +2378,22 @@ class remove_player final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
- void InternalSwap(remove_player* other);
+ void InternalSwap(remove_entity* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "proto.remove_player";
+ return "proto.remove_entity";
}
protected:
- explicit remove_player(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ explicit remove_entity(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1663,15 +2417,18 @@ class remove_player final :
void _internal_set_index(uint32_t value);
public:
- // @@protoc_insertion_point(class_scope:proto.remove_player)
+ // @@protoc_insertion_point(class_scope:proto.remove_entity)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- uint32_t index_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ uint32_t index_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1681,7 +2438,7 @@ class say final :
public:
inline say() : say(nullptr) {}
~say() override;
- explicit constexpr say(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR say(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
say(const say& from);
say(say&& from) noexcept
@@ -1724,7 +2481,7 @@ class say final :
&_say_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 9;
+ 13;
friend void swap(say& a, say& b) {
a.Swap(&b);
@@ -1756,9 +2513,11 @@ class say final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const say& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const say& from);
+ void MergeFrom( const say& from) {
+ say::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1767,10 +2526,10 @@ class say final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(say* other);
@@ -1783,9 +2542,6 @@ class say final :
protected:
explicit say(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1821,8 +2577,11 @@ class say final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1832,7 +2591,7 @@ class hear_player final :
public:
inline hear_player() : hear_player(nullptr) {}
~hear_player() override;
- explicit constexpr hear_player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR hear_player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
hear_player(const hear_player& from);
hear_player(hear_player&& from) noexcept
@@ -1875,7 +2634,7 @@ class hear_player final :
&_hear_player_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 10;
+ 14;
friend void swap(hear_player& a, hear_player& b) {
a.Swap(&b);
@@ -1907,9 +2666,11 @@ class hear_player final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const hear_player& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const hear_player& from);
+ void MergeFrom( const hear_player& from) {
+ hear_player::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -1918,10 +2679,10 @@ class hear_player final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(hear_player* other);
@@ -1934,9 +2695,6 @@ class hear_player final :
protected:
explicit hear_player(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -1982,9 +2740,12 @@ class hear_player final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- uint32_t index_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
+ uint32_t index_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -1994,7 +2755,7 @@ class request_chunk final :
public:
inline request_chunk() : request_chunk(nullptr) {}
~request_chunk() override;
- explicit constexpr request_chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR request_chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
request_chunk(const request_chunk& from);
request_chunk(request_chunk&& from) noexcept
@@ -2037,7 +2798,7 @@ class request_chunk final :
&_request_chunk_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 11;
+ 15;
friend void swap(request_chunk& a, request_chunk& b) {
a.Swap(&b);
@@ -2069,9 +2830,11 @@ class request_chunk final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const request_chunk& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const request_chunk& from);
+ void MergeFrom( const request_chunk& from) {
+ request_chunk::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2080,10 +2843,10 @@ class request_chunk final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(request_chunk* other);
@@ -2096,9 +2859,6 @@ class request_chunk final :
protected:
explicit request_chunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2138,8 +2898,11 @@ class request_chunk final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::coords* chunk_pos_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::coords* chunk_pos_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -2149,7 +2912,7 @@ class remove_chunk final :
public:
inline remove_chunk() : remove_chunk(nullptr) {}
~remove_chunk() override;
- explicit constexpr remove_chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR remove_chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
remove_chunk(const remove_chunk& from);
remove_chunk(remove_chunk&& from) noexcept
@@ -2192,7 +2955,7 @@ class remove_chunk final :
&_remove_chunk_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 12;
+ 16;
friend void swap(remove_chunk& a, remove_chunk& b) {
a.Swap(&b);
@@ -2224,9 +2987,11 @@ class remove_chunk final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const remove_chunk& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const remove_chunk& from);
+ void MergeFrom( const remove_chunk& from) {
+ remove_chunk::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2235,10 +3000,10 @@ class remove_chunk final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(remove_chunk* other);
@@ -2251,9 +3016,6 @@ class remove_chunk final :
protected:
explicit remove_chunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2293,8 +3055,11 @@ class remove_chunk final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::coords* chunk_pos_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::coords* chunk_pos_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -2304,7 +3069,7 @@ class chunk final :
public:
inline chunk() : chunk(nullptr) {}
~chunk() override;
- explicit constexpr chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR chunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
chunk(const chunk& from);
chunk(chunk&& from) noexcept
@@ -2347,7 +3112,7 @@ class chunk final :
&_chunk_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 13;
+ 17;
friend void swap(chunk& a, chunk& b) {
a.Swap(&b);
@@ -2379,9 +3144,11 @@ class chunk final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const chunk& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const chunk& from);
+ void MergeFrom( const chunk& from) {
+ chunk::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2390,10 +3157,10 @@ class chunk final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(chunk* other);
@@ -2406,9 +3173,6 @@ class chunk final :
protected:
explicit chunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2471,10 +3235,13 @@ class chunk final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > blocks_;
- mutable std::atomic<int> _blocks_cached_byte_size_;
- ::proto::coords* chunk_pos_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > blocks_;
+ mutable std::atomic<int> _blocks_cached_byte_size_;
+ ::proto::coords* chunk_pos_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -2484,7 +3251,7 @@ class add_block final :
public:
inline add_block() : add_block(nullptr) {}
~add_block() override;
- explicit constexpr add_block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR add_block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
add_block(const add_block& from);
add_block(add_block&& from) noexcept
@@ -2527,7 +3294,7 @@ class add_block final :
&_add_block_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 14;
+ 18;
friend void swap(add_block& a, add_block& b) {
a.Swap(&b);
@@ -2559,9 +3326,11 @@ class add_block final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const add_block& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const add_block& from);
+ void MergeFrom( const add_block& from) {
+ add_block::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2570,10 +3339,10 @@ class add_block final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(add_block* other);
@@ -2586,9 +3355,6 @@ class add_block final :
protected:
explicit add_block(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2603,7 +3369,7 @@ class add_block final :
enum : int {
kChunkPosFieldNumber = 1,
kBlockPosFieldNumber = 2,
- kBlockFieldNumber = 3,
+ kActiveItemFieldNumber = 3,
};
// .proto.coords chunk_pos = 1;
bool has_chunk_pos() const;
@@ -2641,13 +3407,13 @@ class add_block final :
::proto::ivec3* block_pos);
::proto::ivec3* unsafe_arena_release_block_pos();
- // uint32 block = 3;
- void clear_block();
- uint32_t block() const;
- void set_block(uint32_t value);
+ // uint32 active_item = 3;
+ void clear_active_item();
+ uint32_t active_item() const;
+ void set_active_item(uint32_t value);
private:
- uint32_t _internal_block() const;
- void _internal_set_block(uint32_t value);
+ uint32_t _internal_active_item() const;
+ void _internal_set_active_item(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:proto.add_block)
@@ -2657,10 +3423,13 @@ class add_block final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::coords* chunk_pos_;
- ::proto::ivec3* block_pos_;
- uint32_t block_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::coords* chunk_pos_;
+ ::proto::ivec3* block_pos_;
+ uint32_t active_item_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -2670,7 +3439,7 @@ class remove_block final :
public:
inline remove_block() : remove_block(nullptr) {}
~remove_block() override;
- explicit constexpr remove_block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR remove_block(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
remove_block(const remove_block& from);
remove_block(remove_block&& from) noexcept
@@ -2713,7 +3482,7 @@ class remove_block final :
&_remove_block_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 15;
+ 19;
friend void swap(remove_block& a, remove_block& b) {
a.Swap(&b);
@@ -2745,9 +3514,11 @@ class remove_block final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const remove_block& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const remove_block& from);
+ void MergeFrom( const remove_block& from) {
+ remove_block::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2756,10 +3527,10 @@ class remove_block final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(remove_block* other);
@@ -2772,9 +3543,6 @@ class remove_block final :
protected:
explicit remove_block(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2833,9 +3601,12 @@ class remove_block final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::proto::coords* chunk_pos_;
- ::proto::ivec3* block_pos_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::proto::coords* chunk_pos_;
+ ::proto::ivec3* block_pos_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -2845,7 +3616,7 @@ class server_message final :
public:
inline server_message() : server_message(nullptr) {}
~server_message() override;
- explicit constexpr server_message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR server_message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
server_message(const server_message& from);
server_message(server_message&& from) noexcept
@@ -2888,7 +3659,7 @@ class server_message final :
&_server_message_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 16;
+ 20;
friend void swap(server_message& a, server_message& b) {
a.Swap(&b);
@@ -2920,9 +3691,11 @@ class server_message final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const server_message& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const server_message& from);
+ void MergeFrom( const server_message& from) {
+ server_message::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -2931,10 +3704,10 @@ class server_message final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(server_message* other);
@@ -2947,9 +3720,6 @@ class server_message final :
protected:
explicit server_message(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -2995,9 +3765,660 @@ class server_message final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
- bool fatal_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
+ bool fatal_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class item_swap final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.item_swap) */ {
+ public:
+ inline item_swap() : item_swap(nullptr) {}
+ ~item_swap() override;
+ explicit PROTOBUF_CONSTEXPR item_swap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ item_swap(const item_swap& from);
+ item_swap(item_swap&& from) noexcept
+ : item_swap() {
+ *this = ::std::move(from);
+ }
+
+ inline item_swap& operator=(const item_swap& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline item_swap& operator=(item_swap&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const item_swap& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const item_swap* internal_default_instance() {
+ return reinterpret_cast<const item_swap*>(
+ &_item_swap_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 21;
+
+ friend void swap(item_swap& a, item_swap& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(item_swap* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(item_swap* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ item_swap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<item_swap>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const item_swap& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const item_swap& from) {
+ item_swap::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(item_swap* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.item_swap";
+ }
+ protected:
+ explicit item_swap(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kIndexAFieldNumber = 1,
+ kIndexBFieldNumber = 2,
+ };
+ // uint32 index_a = 1;
+ void clear_index_a();
+ uint32_t index_a() const;
+ void set_index_a(uint32_t value);
+ private:
+ uint32_t _internal_index_a() const;
+ void _internal_set_index_a(uint32_t value);
+ public:
+
+ // uint32 index_b = 2;
+ void clear_index_b();
+ uint32_t index_b() const;
+ void set_index_b(uint32_t value);
+ private:
+ uint32_t _internal_index_b() const;
+ void _internal_set_index_b(uint32_t value);
+ public:
+
+ // @@protoc_insertion_point(class_scope:proto.item_swap)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ uint32_t index_a_;
+ uint32_t index_b_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class item_use final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.item_use) */ {
+ public:
+ inline item_use() : item_use(nullptr) {}
+ ~item_use() override;
+ explicit PROTOBUF_CONSTEXPR item_use(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ item_use(const item_use& from);
+ item_use(item_use&& from) noexcept
+ : item_use() {
+ *this = ::std::move(from);
+ }
+
+ inline item_use& operator=(const item_use& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline item_use& operator=(item_use&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const item_use& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const item_use* internal_default_instance() {
+ return reinterpret_cast<const item_use*>(
+ &_item_use_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 22;
+
+ friend void swap(item_use& a, item_use& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(item_use* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(item_use* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ item_use* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<item_use>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const item_use& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const item_use& from) {
+ item_use::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(item_use* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.item_use";
+ }
+ protected:
+ explicit item_use(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kIndexFieldNumber = 1,
+ };
+ // uint32 index = 1;
+ void clear_index();
+ uint32_t index() const;
+ void set_index(uint32_t value);
+ private:
+ uint32_t _internal_index() const;
+ void _internal_set_index(uint32_t value);
+ public:
+
+ // @@protoc_insertion_point(class_scope:proto.item_use)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ uint32_t index_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class item_update final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.item_update) */ {
+ public:
+ inline item_update() : item_update(nullptr) {}
+ ~item_update() override;
+ explicit PROTOBUF_CONSTEXPR item_update(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ item_update(const item_update& from);
+ item_update(item_update&& from) noexcept
+ : item_update() {
+ *this = ::std::move(from);
+ }
+
+ inline item_update& operator=(const item_update& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline item_update& operator=(item_update&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const item_update& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const item_update* internal_default_instance() {
+ return reinterpret_cast<const item_update*>(
+ &_item_update_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 23;
+
+ friend void swap(item_update& a, item_update& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(item_update* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(item_update* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ item_update* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<item_update>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const item_update& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const item_update& from) {
+ item_update::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(item_update* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.item_update";
+ }
+ protected:
+ explicit item_update(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kItemsFieldNumber = 1,
+ };
+ // repeated .proto.item items = 1;
+ int items_size() const;
+ private:
+ int _internal_items_size() const;
+ public:
+ void clear_items();
+ ::proto::item* mutable_items(int index);
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >*
+ mutable_items();
+ private:
+ const ::proto::item& _internal_items(int index) const;
+ ::proto::item* _internal_add_items();
+ public:
+ const ::proto::item& items(int index) const;
+ ::proto::item* add_items();
+ const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >&
+ items() const;
+
+ // @@protoc_insertion_point(class_scope:proto.item_update)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item > items_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ };
+ union { Impl_ _impl_; };
+ friend struct ::TableStruct_net_2eproto;
+};
+// -------------------------------------------------------------------
+
+class animate_update final :
+ public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proto.animate_update) */ {
+ public:
+ inline animate_update() : animate_update(nullptr) {}
+ ~animate_update() override;
+ explicit PROTOBUF_CONSTEXPR animate_update(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+
+ animate_update(const animate_update& from);
+ animate_update(animate_update&& from) noexcept
+ : animate_update() {
+ *this = ::std::move(from);
+ }
+
+ inline animate_update& operator=(const animate_update& from) {
+ CopyFrom(from);
+ return *this;
+ }
+ inline animate_update& operator=(animate_update&& from) noexcept {
+ if (this == &from) return *this;
+ if (GetOwningArena() == from.GetOwningArena()
+ #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
+ && GetOwningArena() != nullptr
+ #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
+ ) {
+ InternalSwap(&from);
+ } else {
+ CopyFrom(from);
+ }
+ return *this;
+ }
+
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
+ return GetDescriptor();
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
+ return default_instance().GetMetadata().descriptor;
+ }
+ static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
+ return default_instance().GetMetadata().reflection;
+ }
+ static const animate_update& default_instance() {
+ return *internal_default_instance();
+ }
+ static inline const animate_update* internal_default_instance() {
+ return reinterpret_cast<const animate_update*>(
+ &_animate_update_default_instance_);
+ }
+ static constexpr int kIndexInFileMessages =
+ 24;
+
+ friend void swap(animate_update& a, animate_update& b) {
+ a.Swap(&b);
+ }
+ inline void Swap(animate_update* other) {
+ if (other == this) return;
+ #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() != nullptr &&
+ GetOwningArena() == other->GetOwningArena()) {
+ #else // PROTOBUF_FORCE_COPY_IN_SWAP
+ if (GetOwningArena() == other->GetOwningArena()) {
+ #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
+ InternalSwap(other);
+ } else {
+ ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
+ }
+ }
+ void UnsafeArenaSwap(animate_update* other) {
+ if (other == this) return;
+ GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
+ InternalSwap(other);
+ }
+
+ // implements Message ----------------------------------------------
+
+ animate_update* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
+ return CreateMaybeMessage<animate_update>(arena);
+ }
+ using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
+ void CopyFrom(const animate_update& from);
+ using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
+ void MergeFrom( const animate_update& from) {
+ animate_update::MergeImpl(*this, from);
+ }
+ private:
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
+ public:
+ PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
+ bool IsInitialized() const final;
+
+ size_t ByteSizeLong() const final;
+ const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
+ uint8_t* _InternalSerialize(
+ uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
+
+ private:
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
+ void SharedDtor();
+ void SetCachedSize(int size) const final;
+ void InternalSwap(animate_update* other);
+
+ private:
+ friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
+ static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
+ return "proto.animate_update";
+ }
+ protected:
+ explicit animate_update(::PROTOBUF_NAMESPACE_ID::Arena* arena,
+ bool is_message_owned = false);
+ public:
+
+ static const ClassData _class_data_;
+ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
+
+ ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
+
+ // nested types ----------------------------------------------------
+
+ // accessors -------------------------------------------------------
+
+ enum : int {
+ kAnimateFieldNumber = 1,
+ kTickFieldNumber = 2,
+ kSequenceFieldNumber = 3,
+ };
+ // .proto.animate animate = 1;
+ bool has_animate() const;
+ private:
+ bool _internal_has_animate() const;
+ public:
+ void clear_animate();
+ const ::proto::animate& animate() const;
+ PROTOBUF_NODISCARD ::proto::animate* release_animate();
+ ::proto::animate* mutable_animate();
+ void set_allocated_animate(::proto::animate* animate);
+ private:
+ const ::proto::animate& _internal_animate() const;
+ ::proto::animate* _internal_mutable_animate();
+ public:
+ void unsafe_arena_set_allocated_animate(
+ ::proto::animate* animate);
+ ::proto::animate* unsafe_arena_release_animate();
+
+ // uint32 tick = 2;
+ void clear_tick();
+ uint32_t tick() const;
+ void set_tick(uint32_t value);
+ private:
+ uint32_t _internal_tick() const;
+ void _internal_set_tick(uint32_t value);
+ public:
+
+ // optional uint32 sequence = 3;
+ bool has_sequence() const;
+ private:
+ bool _internal_has_sequence() const;
+ public:
+ void clear_sequence();
+ uint32_t sequence() const;
+ void set_sequence(uint32_t value);
+ private:
+ uint32_t _internal_sequence() const;
+ void _internal_set_sequence(uint32_t value);
+ public:
+
+ // @@protoc_insertion_point(class_scope:proto.animate_update)
+ private:
+ class _Internal;
+
+ template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
+ typedef void InternalArenaConstructable_;
+ typedef void DestructorSkippable_;
+ struct Impl_ {
+ ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ ::proto::animate* animate_;
+ uint32_t tick_;
+ uint32_t sequence_;
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// -------------------------------------------------------------------
@@ -3007,7 +4428,7 @@ class packet final :
public:
inline packet() : packet(nullptr) {}
~packet() override;
- explicit constexpr packet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
+ explicit PROTOBUF_CONSTEXPR packet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
packet(const packet& from);
packet(packet&& from) noexcept
@@ -3049,8 +4470,8 @@ class packet final :
kAuthPacket = 1,
kInitPacket = 2,
kMovePacket = 3,
- kPlayerPacket = 4,
- kRemovePlayerPacket = 5,
+ kAnimateUpdatePacket = 4,
+ kRemoveEntityPacket = 5,
kSayPacket = 6,
kHearPlayerPacket = 7,
kRequestChunkPacket = 8,
@@ -3059,6 +4480,9 @@ class packet final :
kAddBlockPacket = 11,
kRemoveBlockPacket = 12,
kServerMessagePacket = 13,
+ kItemSwapPacket = 14,
+ kItemUsePacket = 16,
+ kItemUpdatePacket = 15,
CONTENTS_NOT_SET = 0,
};
@@ -3067,7 +4491,7 @@ class packet final :
&_packet_default_instance_);
}
static constexpr int kIndexInFileMessages =
- 17;
+ 25;
friend void swap(packet& a, packet& b) {
a.Swap(&b);
@@ -3099,9 +4523,11 @@ class packet final :
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const packet& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const packet& from);
+ void MergeFrom( const packet& from) {
+ packet::MergeImpl(*this, from);
+ }
private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
+ static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
@@ -3110,10 +4536,10 @@ class packet final :
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
+ int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
- void SharedCtor();
+ void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(packet* other);
@@ -3126,9 +4552,6 @@ class packet final :
protected:
explicit packet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
@@ -3144,8 +4567,8 @@ class packet final :
kAuthPacketFieldNumber = 1,
kInitPacketFieldNumber = 2,
kMovePacketFieldNumber = 3,
- kPlayerPacketFieldNumber = 4,
- kRemovePlayerPacketFieldNumber = 5,
+ kAnimateUpdatePacketFieldNumber = 4,
+ kRemoveEntityPacketFieldNumber = 5,
kSayPacketFieldNumber = 6,
kHearPlayerPacketFieldNumber = 7,
kRequestChunkPacketFieldNumber = 8,
@@ -3154,6 +4577,9 @@ class packet final :
kAddBlockPacketFieldNumber = 11,
kRemoveBlockPacketFieldNumber = 12,
kServerMessagePacketFieldNumber = 13,
+ kItemSwapPacketFieldNumber = 14,
+ kItemUsePacketFieldNumber = 16,
+ kItemUpdatePacketFieldNumber = 15,
};
// .proto.auth auth_packet = 1;
bool has_auth_packet() const;
@@ -3209,41 +4635,41 @@ class packet final :
::proto::move* move_packet);
::proto::move* unsafe_arena_release_move_packet();
- // .proto.player player_packet = 4;
- bool has_player_packet() const;
+ // .proto.animate_update animate_update_packet = 4;
+ bool has_animate_update_packet() const;
private:
- bool _internal_has_player_packet() const;
+ bool _internal_has_animate_update_packet() const;
public:
- void clear_player_packet();
- const ::proto::player& player_packet() const;
- PROTOBUF_NODISCARD ::proto::player* release_player_packet();
- ::proto::player* mutable_player_packet();
- void set_allocated_player_packet(::proto::player* player_packet);
- private:
- const ::proto::player& _internal_player_packet() const;
- ::proto::player* _internal_mutable_player_packet();
+ void clear_animate_update_packet();
+ const ::proto::animate_update& animate_update_packet() const;
+ PROTOBUF_NODISCARD ::proto::animate_update* release_animate_update_packet();
+ ::proto::animate_update* mutable_animate_update_packet();
+ void set_allocated_animate_update_packet(::proto::animate_update* animate_update_packet);
+ private:
+ const ::proto::animate_update& _internal_animate_update_packet() const;
+ ::proto::animate_update* _internal_mutable_animate_update_packet();
public:
- void unsafe_arena_set_allocated_player_packet(
- ::proto::player* player_packet);
- ::proto::player* unsafe_arena_release_player_packet();
+ void unsafe_arena_set_allocated_animate_update_packet(
+ ::proto::animate_update* animate_update_packet);
+ ::proto::animate_update* unsafe_arena_release_animate_update_packet();
- // .proto.remove_player remove_player_packet = 5;
- bool has_remove_player_packet() const;
+ // .proto.remove_entity remove_entity_packet = 5;
+ bool has_remove_entity_packet() const;
private:
- bool _internal_has_remove_player_packet() const;
+ bool _internal_has_remove_entity_packet() const;
public:
- void clear_remove_player_packet();
- const ::proto::remove_player& remove_player_packet() const;
- PROTOBUF_NODISCARD ::proto::remove_player* release_remove_player_packet();
- ::proto::remove_player* mutable_remove_player_packet();
- void set_allocated_remove_player_packet(::proto::remove_player* remove_player_packet);
- private:
- const ::proto::remove_player& _internal_remove_player_packet() const;
- ::proto::remove_player* _internal_mutable_remove_player_packet();
+ void clear_remove_entity_packet();
+ const ::proto::remove_entity& remove_entity_packet() const;
+ PROTOBUF_NODISCARD ::proto::remove_entity* release_remove_entity_packet();
+ ::proto::remove_entity* mutable_remove_entity_packet();
+ void set_allocated_remove_entity_packet(::proto::remove_entity* remove_entity_packet);
+ private:
+ const ::proto::remove_entity& _internal_remove_entity_packet() const;
+ ::proto::remove_entity* _internal_mutable_remove_entity_packet();
public:
- void unsafe_arena_set_allocated_remove_player_packet(
- ::proto::remove_player* remove_player_packet);
- ::proto::remove_player* unsafe_arena_release_remove_player_packet();
+ void unsafe_arena_set_allocated_remove_entity_packet(
+ ::proto::remove_entity* remove_entity_packet);
+ ::proto::remove_entity* unsafe_arena_release_remove_entity_packet();
// .proto.say say_packet = 6;
bool has_say_packet() const;
@@ -3389,6 +4815,60 @@ class packet final :
::proto::server_message* server_message_packet);
::proto::server_message* unsafe_arena_release_server_message_packet();
+ // .proto.item_swap item_swap_packet = 14;
+ bool has_item_swap_packet() const;
+ private:
+ bool _internal_has_item_swap_packet() const;
+ public:
+ void clear_item_swap_packet();
+ const ::proto::item_swap& item_swap_packet() const;
+ PROTOBUF_NODISCARD ::proto::item_swap* release_item_swap_packet();
+ ::proto::item_swap* mutable_item_swap_packet();
+ void set_allocated_item_swap_packet(::proto::item_swap* item_swap_packet);
+ private:
+ const ::proto::item_swap& _internal_item_swap_packet() const;
+ ::proto::item_swap* _internal_mutable_item_swap_packet();
+ public:
+ void unsafe_arena_set_allocated_item_swap_packet(
+ ::proto::item_swap* item_swap_packet);
+ ::proto::item_swap* unsafe_arena_release_item_swap_packet();
+
+ // .proto.item_use item_use_packet = 16;
+ bool has_item_use_packet() const;
+ private:
+ bool _internal_has_item_use_packet() const;
+ public:
+ void clear_item_use_packet();
+ const ::proto::item_use& item_use_packet() const;
+ PROTOBUF_NODISCARD ::proto::item_use* release_item_use_packet();
+ ::proto::item_use* mutable_item_use_packet();
+ void set_allocated_item_use_packet(::proto::item_use* item_use_packet);
+ private:
+ const ::proto::item_use& _internal_item_use_packet() const;
+ ::proto::item_use* _internal_mutable_item_use_packet();
+ public:
+ void unsafe_arena_set_allocated_item_use_packet(
+ ::proto::item_use* item_use_packet);
+ ::proto::item_use* unsafe_arena_release_item_use_packet();
+
+ // .proto.item_update item_update_packet = 15;
+ bool has_item_update_packet() const;
+ private:
+ bool _internal_has_item_update_packet() const;
+ public:
+ void clear_item_update_packet();
+ const ::proto::item_update& item_update_packet() const;
+ PROTOBUF_NODISCARD ::proto::item_update* release_item_update_packet();
+ ::proto::item_update* mutable_item_update_packet();
+ void set_allocated_item_update_packet(::proto::item_update* item_update_packet);
+ private:
+ const ::proto::item_update& _internal_item_update_packet() const;
+ ::proto::item_update* _internal_mutable_item_update_packet();
+ public:
+ void unsafe_arena_set_allocated_item_update_packet(
+ ::proto::item_update* item_update_packet);
+ ::proto::item_update* unsafe_arena_release_item_update_packet();
+
void clear_contents();
ContentsCase contents_case() const;
// @@protoc_insertion_point(class_scope:proto.packet)
@@ -3397,8 +4877,8 @@ class packet final :
void set_has_auth_packet();
void set_has_init_packet();
void set_has_move_packet();
- void set_has_player_packet();
- void set_has_remove_player_packet();
+ void set_has_animate_update_packet();
+ void set_has_remove_entity_packet();
void set_has_say_packet();
void set_has_hear_player_packet();
void set_has_request_chunk_packet();
@@ -3407,6 +4887,9 @@ class packet final :
void set_has_add_block_packet();
void set_has_remove_block_packet();
void set_has_server_message_packet();
+ void set_has_item_swap_packet();
+ void set_has_item_use_packet();
+ void set_has_item_update_packet();
inline bool has_contents() const;
inline void clear_has_contents();
@@ -3414,26 +4897,32 @@ class packet final :
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
- union ContentsUnion {
- constexpr ContentsUnion() : _constinit_{} {}
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::proto::auth* auth_packet_;
- ::proto::init* init_packet_;
- ::proto::move* move_packet_;
- ::proto::player* player_packet_;
- ::proto::remove_player* remove_player_packet_;
- ::proto::say* say_packet_;
- ::proto::hear_player* hear_player_packet_;
- ::proto::request_chunk* request_chunk_packet_;
- ::proto::chunk* chunk_packet_;
- ::proto::remove_chunk* remove_chunk_packet_;
- ::proto::add_block* add_block_packet_;
- ::proto::remove_block* remove_block_packet_;
- ::proto::server_message* server_message_packet_;
- } contents_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- uint32_t _oneof_case_[1];
+ struct Impl_ {
+ union ContentsUnion {
+ constexpr ContentsUnion() : _constinit_{} {}
+ ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
+ ::proto::auth* auth_packet_;
+ ::proto::init* init_packet_;
+ ::proto::move* move_packet_;
+ ::proto::animate_update* animate_update_packet_;
+ ::proto::remove_entity* remove_entity_packet_;
+ ::proto::say* say_packet_;
+ ::proto::hear_player* hear_player_packet_;
+ ::proto::request_chunk* request_chunk_packet_;
+ ::proto::chunk* chunk_packet_;
+ ::proto::remove_chunk* remove_chunk_packet_;
+ ::proto::add_block* add_block_packet_;
+ ::proto::remove_block* remove_block_packet_;
+ ::proto::server_message* server_message_packet_;
+ ::proto::item_swap* item_swap_packet_;
+ ::proto::item_use* item_use_packet_;
+ ::proto::item_update* item_update_packet_;
+ } contents_;
+ mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
+ uint32_t _oneof_case_[1];
+ };
+ union { Impl_ _impl_; };
friend struct ::TableStruct_net_2eproto;
};
// ===================================================================
@@ -3449,10 +4938,10 @@ class packet final :
// float pitch = 1;
inline void angles::clear_pitch() {
- pitch_ = 0;
+ _impl_.pitch_ = 0;
}
inline float angles::_internal_pitch() const {
- return pitch_;
+ return _impl_.pitch_;
}
inline float angles::pitch() const {
// @@protoc_insertion_point(field_get:proto.angles.pitch)
@@ -3460,7 +4949,7 @@ inline float angles::pitch() const {
}
inline void angles::_internal_set_pitch(float value) {
- pitch_ = value;
+ _impl_.pitch_ = value;
}
inline void angles::set_pitch(float value) {
_internal_set_pitch(value);
@@ -3469,10 +4958,10 @@ inline void angles::set_pitch(float value) {
// float yaw = 2;
inline void angles::clear_yaw() {
- yaw_ = 0;
+ _impl_.yaw_ = 0;
}
inline float angles::_internal_yaw() const {
- return yaw_;
+ return _impl_.yaw_;
}
inline float angles::yaw() const {
// @@protoc_insertion_point(field_get:proto.angles.yaw)
@@ -3480,7 +4969,7 @@ inline float angles::yaw() const {
}
inline void angles::_internal_set_yaw(float value) {
- yaw_ = value;
+ _impl_.yaw_ = value;
}
inline void angles::set_yaw(float value) {
_internal_set_yaw(value);
@@ -3493,10 +4982,10 @@ inline void angles::set_yaw(float value) {
// int32 x = 1;
inline void coords::clear_x() {
- x_ = 0;
+ _impl_.x_ = 0;
}
inline int32_t coords::_internal_x() const {
- return x_;
+ return _impl_.x_;
}
inline int32_t coords::x() const {
// @@protoc_insertion_point(field_get:proto.coords.x)
@@ -3504,7 +4993,7 @@ inline int32_t coords::x() const {
}
inline void coords::_internal_set_x(int32_t value) {
- x_ = value;
+ _impl_.x_ = value;
}
inline void coords::set_x(int32_t value) {
_internal_set_x(value);
@@ -3513,10 +5002,10 @@ inline void coords::set_x(int32_t value) {
// int32 z = 2;
inline void coords::clear_z() {
- z_ = 0;
+ _impl_.z_ = 0;
}
inline int32_t coords::_internal_z() const {
- return z_;
+ return _impl_.z_;
}
inline int32_t coords::z() const {
// @@protoc_insertion_point(field_get:proto.coords.z)
@@ -3524,7 +5013,7 @@ inline int32_t coords::z() const {
}
inline void coords::_internal_set_z(int32_t value) {
- z_ = value;
+ _impl_.z_ = value;
}
inline void coords::set_z(int32_t value) {
_internal_set_z(value);
@@ -3537,10 +5026,10 @@ inline void coords::set_z(int32_t value) {
// float x = 1;
inline void vec3::clear_x() {
- x_ = 0;
+ _impl_.x_ = 0;
}
inline float vec3::_internal_x() const {
- return x_;
+ return _impl_.x_;
}
inline float vec3::x() const {
// @@protoc_insertion_point(field_get:proto.vec3.x)
@@ -3548,7 +5037,7 @@ inline float vec3::x() const {
}
inline void vec3::_internal_set_x(float value) {
- x_ = value;
+ _impl_.x_ = value;
}
inline void vec3::set_x(float value) {
_internal_set_x(value);
@@ -3557,10 +5046,10 @@ inline void vec3::set_x(float value) {
// float y = 2;
inline void vec3::clear_y() {
- y_ = 0;
+ _impl_.y_ = 0;
}
inline float vec3::_internal_y() const {
- return y_;
+ return _impl_.y_;
}
inline float vec3::y() const {
// @@protoc_insertion_point(field_get:proto.vec3.y)
@@ -3568,7 +5057,7 @@ inline float vec3::y() const {
}
inline void vec3::_internal_set_y(float value) {
- y_ = value;
+ _impl_.y_ = value;
}
inline void vec3::set_y(float value) {
_internal_set_y(value);
@@ -3577,10 +5066,10 @@ inline void vec3::set_y(float value) {
// float z = 3;
inline void vec3::clear_z() {
- z_ = 0;
+ _impl_.z_ = 0;
}
inline float vec3::_internal_z() const {
- return z_;
+ return _impl_.z_;
}
inline float vec3::z() const {
// @@protoc_insertion_point(field_get:proto.vec3.z)
@@ -3588,7 +5077,7 @@ inline float vec3::z() const {
}
inline void vec3::_internal_set_z(float value) {
- z_ = value;
+ _impl_.z_ = value;
}
inline void vec3::set_z(float value) {
_internal_set_z(value);
@@ -3601,10 +5090,10 @@ inline void vec3::set_z(float value) {
// int32 x = 1;
inline void ivec3::clear_x() {
- x_ = 0;
+ _impl_.x_ = 0;
}
inline int32_t ivec3::_internal_x() const {
- return x_;
+ return _impl_.x_;
}
inline int32_t ivec3::x() const {
// @@protoc_insertion_point(field_get:proto.ivec3.x)
@@ -3612,7 +5101,7 @@ inline int32_t ivec3::x() const {
}
inline void ivec3::_internal_set_x(int32_t value) {
- x_ = value;
+ _impl_.x_ = value;
}
inline void ivec3::set_x(int32_t value) {
_internal_set_x(value);
@@ -3621,10 +5110,10 @@ inline void ivec3::set_x(int32_t value) {
// int32 y = 2;
inline void ivec3::clear_y() {
- y_ = 0;
+ _impl_.y_ = 0;
}
inline int32_t ivec3::_internal_y() const {
- return y_;
+ return _impl_.y_;
}
inline int32_t ivec3::y() const {
// @@protoc_insertion_point(field_get:proto.ivec3.y)
@@ -3632,7 +5121,7 @@ inline int32_t ivec3::y() const {
}
inline void ivec3::_internal_set_y(int32_t value) {
- y_ = value;
+ _impl_.y_ = value;
}
inline void ivec3::set_y(int32_t value) {
_internal_set_y(value);
@@ -3641,10 +5130,10 @@ inline void ivec3::set_y(int32_t value) {
// int32 z = 3;
inline void ivec3::clear_z() {
- z_ = 0;
+ _impl_.z_ = 0;
}
inline int32_t ivec3::_internal_z() const {
- return z_;
+ return _impl_.z_;
}
inline int32_t ivec3::z() const {
// @@protoc_insertion_point(field_get:proto.ivec3.z)
@@ -3652,7 +5141,7 @@ inline int32_t ivec3::z() const {
}
inline void ivec3::_internal_set_z(int32_t value) {
- z_ = value;
+ _impl_.z_ = value;
}
inline void ivec3::set_z(int32_t value) {
_internal_set_z(value);
@@ -3661,87 +5150,67 @@ inline void ivec3::set_z(int32_t value) {
// -------------------------------------------------------------------
-// player
+// entity
// uint32 index = 1;
-inline void player::clear_index() {
- index_ = 0u;
+inline void entity::clear_index() {
+ _impl_.index_ = 0u;
}
-inline uint32_t player::_internal_index() const {
- return index_;
+inline uint32_t entity::_internal_index() const {
+ return _impl_.index_;
}
-inline uint32_t player::index() const {
- // @@protoc_insertion_point(field_get:proto.player.index)
+inline uint32_t entity::index() const {
+ // @@protoc_insertion_point(field_get:proto.entity.index)
return _internal_index();
}
-inline void player::_internal_set_index(uint32_t value) {
+inline void entity::_internal_set_index(uint32_t value) {
- index_ = value;
+ _impl_.index_ = value;
}
-inline void player::set_index(uint32_t value) {
+inline void entity::set_index(uint32_t value) {
_internal_set_index(value);
- // @@protoc_insertion_point(field_set:proto.player.index)
-}
-
-// uint32 commands = 2;
-inline void player::clear_commands() {
- commands_ = 0u;
-}
-inline uint32_t player::_internal_commands() const {
- return commands_;
-}
-inline uint32_t player::commands() const {
- // @@protoc_insertion_point(field_get:proto.player.commands)
- return _internal_commands();
-}
-inline void player::_internal_set_commands(uint32_t value) {
-
- commands_ = value;
-}
-inline void player::set_commands(uint32_t value) {
- _internal_set_commands(value);
- // @@protoc_insertion_point(field_set:proto.player.commands)
+ // @@protoc_insertion_point(field_set:proto.entity.index)
}
-// .proto.coords chunk_pos = 3;
-inline bool player::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+// .proto.coords chunk_pos = 2;
+inline bool entity::_internal_has_chunk_pos() const {
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
-inline bool player::has_chunk_pos() const {
+inline bool entity::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
-inline void player::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+inline void entity::clear_chunk_pos() {
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
-inline const ::proto::coords& player::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+inline const ::proto::coords& entity::_internal_chunk_pos() const {
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
-inline const ::proto::coords& player::chunk_pos() const {
- // @@protoc_insertion_point(field_get:proto.player.chunk_pos)
+inline const ::proto::coords& entity::chunk_pos() const {
+ // @@protoc_insertion_point(field_get:proto.entity.chunk_pos)
return _internal_chunk_pos();
}
-inline void player::unsafe_arena_set_allocated_chunk_pos(
+inline void entity::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.chunk_pos)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.entity.chunk_pos)
}
-inline ::proto::coords* player::release_chunk_pos() {
+inline ::proto::coords* entity::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3753,34 +5222,34 @@ inline ::proto::coords* player::release_chunk_pos() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::proto::coords* player::unsafe_arena_release_chunk_pos() {
- // @@protoc_insertion_point(field_release:proto.player.chunk_pos)
+inline ::proto::coords* entity::unsafe_arena_release_chunk_pos() {
+ // @@protoc_insertion_point(field_release:proto.entity.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
-inline ::proto::coords* player::_internal_mutable_chunk_pos() {
+inline ::proto::coords* entity::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
-inline ::proto::coords* player::mutable_chunk_pos() {
+inline ::proto::coords* entity::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
- // @@protoc_insertion_point(field_mutable:proto.player.chunk_pos)
+ // @@protoc_insertion_point(field_mutable:proto.entity.chunk_pos)
return _msg;
}
-inline void player::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
+inline void entity::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -3789,49 +5258,49 @@ inline void player::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
- // @@protoc_insertion_point(field_set_allocated:proto.player.chunk_pos)
+ _impl_.chunk_pos_ = chunk_pos;
+ // @@protoc_insertion_point(field_set_allocated:proto.entity.chunk_pos)
}
-// .proto.vec3 local_pos = 4;
-inline bool player::_internal_has_local_pos() const {
- return this != internal_default_instance() && local_pos_ != nullptr;
+// .proto.vec3 local_pos = 3;
+inline bool entity::_internal_has_local_pos() const {
+ return this != internal_default_instance() && _impl_.local_pos_ != nullptr;
}
-inline bool player::has_local_pos() const {
+inline bool entity::has_local_pos() const {
return _internal_has_local_pos();
}
-inline void player::clear_local_pos() {
- if (GetArenaForAllocation() == nullptr && local_pos_ != nullptr) {
- delete local_pos_;
+inline void entity::clear_local_pos() {
+ if (GetArenaForAllocation() == nullptr && _impl_.local_pos_ != nullptr) {
+ delete _impl_.local_pos_;
}
- local_pos_ = nullptr;
+ _impl_.local_pos_ = nullptr;
}
-inline const ::proto::vec3& player::_internal_local_pos() const {
- const ::proto::vec3* p = local_pos_;
+inline const ::proto::vec3& entity::_internal_local_pos() const {
+ const ::proto::vec3* p = _impl_.local_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::vec3&>(
::proto::_vec3_default_instance_);
}
-inline const ::proto::vec3& player::local_pos() const {
- // @@protoc_insertion_point(field_get:proto.player.local_pos)
+inline const ::proto::vec3& entity::local_pos() const {
+ // @@protoc_insertion_point(field_get:proto.entity.local_pos)
return _internal_local_pos();
}
-inline void player::unsafe_arena_set_allocated_local_pos(
+inline void entity::unsafe_arena_set_allocated_local_pos(
::proto::vec3* local_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(local_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_pos_);
}
- local_pos_ = local_pos;
+ _impl_.local_pos_ = local_pos;
if (local_pos) {
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.local_pos)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.entity.local_pos)
}
-inline ::proto::vec3* player::release_local_pos() {
+inline ::proto::vec3* entity::release_local_pos() {
- ::proto::vec3* temp = local_pos_;
- local_pos_ = nullptr;
+ ::proto::vec3* temp = _impl_.local_pos_;
+ _impl_.local_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3843,34 +5312,34 @@ inline ::proto::vec3* player::release_local_pos() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::proto::vec3* player::unsafe_arena_release_local_pos() {
- // @@protoc_insertion_point(field_release:proto.player.local_pos)
+inline ::proto::vec3* entity::unsafe_arena_release_local_pos() {
+ // @@protoc_insertion_point(field_release:proto.entity.local_pos)
- ::proto::vec3* temp = local_pos_;
- local_pos_ = nullptr;
+ ::proto::vec3* temp = _impl_.local_pos_;
+ _impl_.local_pos_ = nullptr;
return temp;
}
-inline ::proto::vec3* player::_internal_mutable_local_pos() {
+inline ::proto::vec3* entity::_internal_mutable_local_pos() {
- if (local_pos_ == nullptr) {
+ if (_impl_.local_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::vec3>(GetArenaForAllocation());
- local_pos_ = p;
+ _impl_.local_pos_ = p;
}
- return local_pos_;
+ return _impl_.local_pos_;
}
-inline ::proto::vec3* player::mutable_local_pos() {
+inline ::proto::vec3* entity::mutable_local_pos() {
::proto::vec3* _msg = _internal_mutable_local_pos();
- // @@protoc_insertion_point(field_mutable:proto.player.local_pos)
+ // @@protoc_insertion_point(field_mutable:proto.entity.local_pos)
return _msg;
}
-inline void player::set_allocated_local_pos(::proto::vec3* local_pos) {
+inline void entity::set_allocated_local_pos(::proto::vec3* local_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete local_pos_;
+ delete _impl_.local_pos_;
}
if (local_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::vec3>::GetOwningArena(local_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local_pos);
if (message_arena != submessage_arena) {
local_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, local_pos, submessage_arena);
@@ -3879,49 +5348,163 @@ inline void player::set_allocated_local_pos(::proto::vec3* local_pos) {
} else {
}
- local_pos_ = local_pos;
- // @@protoc_insertion_point(field_set_allocated:proto.player.local_pos)
+ _impl_.local_pos_ = local_pos;
+ // @@protoc_insertion_point(field_set_allocated:proto.entity.local_pos)
}
-// .proto.angles viewangles = 5;
-inline bool player::_internal_has_viewangles() const {
- return this != internal_default_instance() && viewangles_ != nullptr;
+// -------------------------------------------------------------------
+
+// animate
+
+// .proto.entity entity = 1;
+inline bool animate::_internal_has_entity() const {
+ return this != internal_default_instance() && _impl_.entity_ != nullptr;
+}
+inline bool animate::has_entity() const {
+ return _internal_has_entity();
+}
+inline void animate::clear_entity() {
+ if (GetArenaForAllocation() == nullptr && _impl_.entity_ != nullptr) {
+ delete _impl_.entity_;
+ }
+ _impl_.entity_ = nullptr;
+}
+inline const ::proto::entity& animate::_internal_entity() const {
+ const ::proto::entity* p = _impl_.entity_;
+ return p != nullptr ? *p : reinterpret_cast<const ::proto::entity&>(
+ ::proto::_entity_default_instance_);
+}
+inline const ::proto::entity& animate::entity() const {
+ // @@protoc_insertion_point(field_get:proto.animate.entity)
+ return _internal_entity();
+}
+inline void animate::unsafe_arena_set_allocated_entity(
+ ::proto::entity* entity) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_);
+ }
+ _impl_.entity_ = entity;
+ if (entity) {
+
+ } else {
+
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.animate.entity)
}
-inline bool player::has_viewangles() const {
+inline ::proto::entity* animate::release_entity() {
+
+ ::proto::entity* temp = _impl_.entity_;
+ _impl_.entity_ = nullptr;
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
+ return temp;
+}
+inline ::proto::entity* animate::unsafe_arena_release_entity() {
+ // @@protoc_insertion_point(field_release:proto.animate.entity)
+
+ ::proto::entity* temp = _impl_.entity_;
+ _impl_.entity_ = nullptr;
+ return temp;
+}
+inline ::proto::entity* animate::_internal_mutable_entity() {
+
+ if (_impl_.entity_ == nullptr) {
+ auto* p = CreateMaybeMessage<::proto::entity>(GetArenaForAllocation());
+ _impl_.entity_ = p;
+ }
+ return _impl_.entity_;
+}
+inline ::proto::entity* animate::mutable_entity() {
+ ::proto::entity* _msg = _internal_mutable_entity();
+ // @@protoc_insertion_point(field_mutable:proto.animate.entity)
+ return _msg;
+}
+inline void animate::set_allocated_entity(::proto::entity* entity) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
+ if (message_arena == nullptr) {
+ delete _impl_.entity_;
+ }
+ if (entity) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(entity);
+ if (message_arena != submessage_arena) {
+ entity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
+ message_arena, entity, submessage_arena);
+ }
+
+ } else {
+
+ }
+ _impl_.entity_ = entity;
+ // @@protoc_insertion_point(field_set_allocated:proto.animate.entity)
+}
+
+// uint32 commands = 2;
+inline void animate::clear_commands() {
+ _impl_.commands_ = 0u;
+}
+inline uint32_t animate::_internal_commands() const {
+ return _impl_.commands_;
+}
+inline uint32_t animate::commands() const {
+ // @@protoc_insertion_point(field_get:proto.animate.commands)
+ return _internal_commands();
+}
+inline void animate::_internal_set_commands(uint32_t value) {
+
+ _impl_.commands_ = value;
+}
+inline void animate::set_commands(uint32_t value) {
+ _internal_set_commands(value);
+ // @@protoc_insertion_point(field_set:proto.animate.commands)
+}
+
+// .proto.angles viewangles = 3;
+inline bool animate::_internal_has_viewangles() const {
+ return this != internal_default_instance() && _impl_.viewangles_ != nullptr;
+}
+inline bool animate::has_viewangles() const {
return _internal_has_viewangles();
}
-inline void player::clear_viewangles() {
- if (GetArenaForAllocation() == nullptr && viewangles_ != nullptr) {
- delete viewangles_;
+inline void animate::clear_viewangles() {
+ if (GetArenaForAllocation() == nullptr && _impl_.viewangles_ != nullptr) {
+ delete _impl_.viewangles_;
}
- viewangles_ = nullptr;
+ _impl_.viewangles_ = nullptr;
}
-inline const ::proto::angles& player::_internal_viewangles() const {
- const ::proto::angles* p = viewangles_;
+inline const ::proto::angles& animate::_internal_viewangles() const {
+ const ::proto::angles* p = _impl_.viewangles_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::angles&>(
::proto::_angles_default_instance_);
}
-inline const ::proto::angles& player::viewangles() const {
- // @@protoc_insertion_point(field_get:proto.player.viewangles)
+inline const ::proto::angles& animate::viewangles() const {
+ // @@protoc_insertion_point(field_get:proto.animate.viewangles)
return _internal_viewangles();
}
-inline void player::unsafe_arena_set_allocated_viewangles(
+inline void animate::unsafe_arena_set_allocated_viewangles(
::proto::angles* viewangles) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewangles_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_);
}
- viewangles_ = viewangles;
+ _impl_.viewangles_ = viewangles;
if (viewangles) {
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.viewangles)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.animate.viewangles)
}
-inline ::proto::angles* player::release_viewangles() {
+inline ::proto::angles* animate::release_viewangles() {
- ::proto::angles* temp = viewangles_;
- viewangles_ = nullptr;
+ ::proto::angles* temp = _impl_.viewangles_;
+ _impl_.viewangles_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3933,34 +5516,34 @@ inline ::proto::angles* player::release_viewangles() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::proto::angles* player::unsafe_arena_release_viewangles() {
- // @@protoc_insertion_point(field_release:proto.player.viewangles)
+inline ::proto::angles* animate::unsafe_arena_release_viewangles() {
+ // @@protoc_insertion_point(field_release:proto.animate.viewangles)
- ::proto::angles* temp = viewangles_;
- viewangles_ = nullptr;
+ ::proto::angles* temp = _impl_.viewangles_;
+ _impl_.viewangles_ = nullptr;
return temp;
}
-inline ::proto::angles* player::_internal_mutable_viewangles() {
+inline ::proto::angles* animate::_internal_mutable_viewangles() {
- if (viewangles_ == nullptr) {
+ if (_impl_.viewangles_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::angles>(GetArenaForAllocation());
- viewangles_ = p;
+ _impl_.viewangles_ = p;
}
- return viewangles_;
+ return _impl_.viewangles_;
}
-inline ::proto::angles* player::mutable_viewangles() {
+inline ::proto::angles* animate::mutable_viewangles() {
::proto::angles* _msg = _internal_mutable_viewangles();
- // @@protoc_insertion_point(field_mutable:proto.player.viewangles)
+ // @@protoc_insertion_point(field_mutable:proto.animate.viewangles)
return _msg;
}
-inline void player::set_allocated_viewangles(::proto::angles* viewangles) {
+inline void animate::set_allocated_viewangles(::proto::angles* viewangles) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete viewangles_;
+ delete _impl_.viewangles_;
}
if (viewangles) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::angles>::GetOwningArena(viewangles);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(viewangles);
if (message_arena != submessage_arena) {
viewangles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, viewangles, submessage_arena);
@@ -3969,49 +5552,49 @@ inline void player::set_allocated_viewangles(::proto::angles* viewangles) {
} else {
}
- viewangles_ = viewangles;
- // @@protoc_insertion_point(field_set_allocated:proto.player.viewangles)
+ _impl_.viewangles_ = viewangles;
+ // @@protoc_insertion_point(field_set_allocated:proto.animate.viewangles)
}
-// .proto.vec3 velocity = 6;
-inline bool player::_internal_has_velocity() const {
- return this != internal_default_instance() && velocity_ != nullptr;
+// .proto.vec3 velocity = 4;
+inline bool animate::_internal_has_velocity() const {
+ return this != internal_default_instance() && _impl_.velocity_ != nullptr;
}
-inline bool player::has_velocity() const {
+inline bool animate::has_velocity() const {
return _internal_has_velocity();
}
-inline void player::clear_velocity() {
- if (GetArenaForAllocation() == nullptr && velocity_ != nullptr) {
- delete velocity_;
+inline void animate::clear_velocity() {
+ if (GetArenaForAllocation() == nullptr && _impl_.velocity_ != nullptr) {
+ delete _impl_.velocity_;
}
- velocity_ = nullptr;
+ _impl_.velocity_ = nullptr;
}
-inline const ::proto::vec3& player::_internal_velocity() const {
- const ::proto::vec3* p = velocity_;
+inline const ::proto::vec3& animate::_internal_velocity() const {
+ const ::proto::vec3* p = _impl_.velocity_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::vec3&>(
::proto::_vec3_default_instance_);
}
-inline const ::proto::vec3& player::velocity() const {
- // @@protoc_insertion_point(field_get:proto.player.velocity)
+inline const ::proto::vec3& animate::velocity() const {
+ // @@protoc_insertion_point(field_get:proto.animate.velocity)
return _internal_velocity();
}
-inline void player::unsafe_arena_set_allocated_velocity(
+inline void animate::unsafe_arena_set_allocated_velocity(
::proto::vec3* velocity) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_);
}
- velocity_ = velocity;
+ _impl_.velocity_ = velocity;
if (velocity) {
} else {
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.velocity)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.animate.velocity)
}
-inline ::proto::vec3* player::release_velocity() {
+inline ::proto::vec3* animate::release_velocity() {
- ::proto::vec3* temp = velocity_;
- velocity_ = nullptr;
+ ::proto::vec3* temp = _impl_.velocity_;
+ _impl_.velocity_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4023,34 +5606,34 @@ inline ::proto::vec3* player::release_velocity() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
-inline ::proto::vec3* player::unsafe_arena_release_velocity() {
- // @@protoc_insertion_point(field_release:proto.player.velocity)
+inline ::proto::vec3* animate::unsafe_arena_release_velocity() {
+ // @@protoc_insertion_point(field_release:proto.animate.velocity)
- ::proto::vec3* temp = velocity_;
- velocity_ = nullptr;
+ ::proto::vec3* temp = _impl_.velocity_;
+ _impl_.velocity_ = nullptr;
return temp;
}
-inline ::proto::vec3* player::_internal_mutable_velocity() {
+inline ::proto::vec3* animate::_internal_mutable_velocity() {
- if (velocity_ == nullptr) {
+ if (_impl_.velocity_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::vec3>(GetArenaForAllocation());
- velocity_ = p;
+ _impl_.velocity_ = p;
}
- return velocity_;
+ return _impl_.velocity_;
}
-inline ::proto::vec3* player::mutable_velocity() {
+inline ::proto::vec3* animate::mutable_velocity() {
::proto::vec3* _msg = _internal_mutable_velocity();
- // @@protoc_insertion_point(field_mutable:proto.player.velocity)
+ // @@protoc_insertion_point(field_mutable:proto.animate.velocity)
return _msg;
}
-inline void player::set_allocated_velocity(::proto::vec3* velocity) {
+inline void animate::set_allocated_velocity(::proto::vec3* velocity) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete velocity_;
+ delete _impl_.velocity_;
}
if (velocity) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::vec3>::GetOwningArena(velocity);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(velocity);
if (message_arena != submessage_arena) {
velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, velocity, submessage_arena);
@@ -4059,8 +5642,320 @@ inline void player::set_allocated_velocity(::proto::vec3* velocity) {
} else {
}
- velocity_ = velocity;
- // @@protoc_insertion_point(field_set_allocated:proto.player.velocity)
+ _impl_.velocity_ = velocity;
+ // @@protoc_insertion_point(field_set_allocated:proto.animate.velocity)
+}
+
+// uint32 active_item = 5;
+inline void animate::clear_active_item() {
+ _impl_.active_item_ = 0u;
+}
+inline uint32_t animate::_internal_active_item() const {
+ return _impl_.active_item_;
+}
+inline uint32_t animate::active_item() const {
+ // @@protoc_insertion_point(field_get:proto.animate.active_item)
+ return _internal_active_item();
+}
+inline void animate::_internal_set_active_item(uint32_t value) {
+
+ _impl_.active_item_ = value;
+}
+inline void animate::set_active_item(uint32_t value) {
+ _internal_set_active_item(value);
+ // @@protoc_insertion_point(field_set:proto.animate.active_item)
+}
+
+// -------------------------------------------------------------------
+
+// item
+
+// uint32 index = 1;
+inline void item::clear_index() {
+ _impl_.index_ = 0u;
+}
+inline uint32_t item::_internal_index() const {
+ return _impl_.index_;
+}
+inline uint32_t item::index() const {
+ // @@protoc_insertion_point(field_get:proto.item.index)
+ return _internal_index();
+}
+inline void item::_internal_set_index(uint32_t value) {
+
+ _impl_.index_ = value;
+}
+inline void item::set_index(uint32_t value) {
+ _internal_set_index(value);
+ // @@protoc_insertion_point(field_set:proto.item.index)
+}
+
+// uint32 type = 2;
+inline void item::clear_type() {
+ _impl_.type_ = 0u;
+}
+inline uint32_t item::_internal_type() const {
+ return _impl_.type_;
+}
+inline uint32_t item::type() const {
+ // @@protoc_insertion_point(field_get:proto.item.type)
+ return _internal_type();
+}
+inline void item::_internal_set_type(uint32_t value) {
+
+ _impl_.type_ = value;
+}
+inline void item::set_type(uint32_t value) {
+ _internal_set_type(value);
+ // @@protoc_insertion_point(field_set:proto.item.type)
+}
+
+// uint32 quantity = 3;
+inline void item::clear_quantity() {
+ _impl_.quantity_ = 0u;
+}
+inline uint32_t item::_internal_quantity() const {
+ return _impl_.quantity_;
+}
+inline uint32_t item::quantity() const {
+ // @@protoc_insertion_point(field_get:proto.item.quantity)
+ return _internal_quantity();
+}
+inline void item::_internal_set_quantity(uint32_t value) {
+
+ _impl_.quantity_ = value;
+}
+inline void item::set_quantity(uint32_t value) {
+ _internal_set_quantity(value);
+ // @@protoc_insertion_point(field_set:proto.item.quantity)
+}
+
+// -------------------------------------------------------------------
+
+// item_array
+
+// repeated .proto.item items = 1;
+inline int item_array::_internal_items_size() const {
+ return _impl_.items_.size();
+}
+inline int item_array::items_size() const {
+ return _internal_items_size();
+}
+inline void item_array::clear_items() {
+ _impl_.items_.Clear();
+}
+inline ::proto::item* item_array::mutable_items(int index) {
+ // @@protoc_insertion_point(field_mutable:proto.item_array.items)
+ return _impl_.items_.Mutable(index);
+}
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >*
+item_array::mutable_items() {
+ // @@protoc_insertion_point(field_mutable_list:proto.item_array.items)
+ return &_impl_.items_;
+}
+inline const ::proto::item& item_array::_internal_items(int index) const {
+ return _impl_.items_.Get(index);
+}
+inline const ::proto::item& item_array::items(int index) const {
+ // @@protoc_insertion_point(field_get:proto.item_array.items)
+ return _internal_items(index);
+}
+inline ::proto::item* item_array::_internal_add_items() {
+ return _impl_.items_.Add();
+}
+inline ::proto::item* item_array::add_items() {
+ ::proto::item* _add = _internal_add_items();
+ // @@protoc_insertion_point(field_add:proto.item_array.items)
+ return _add;
+}
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >&
+item_array::items() const {
+ // @@protoc_insertion_point(field_list:proto.item_array.items)
+ return _impl_.items_;
+}
+
+// -------------------------------------------------------------------
+
+// player
+
+// .proto.animate animate = 1;
+inline bool player::_internal_has_animate() const {
+ return this != internal_default_instance() && _impl_.animate_ != nullptr;
+}
+inline bool player::has_animate() const {
+ return _internal_has_animate();
+}
+inline void player::clear_animate() {
+ if (GetArenaForAllocation() == nullptr && _impl_.animate_ != nullptr) {
+ delete _impl_.animate_;
+ }
+ _impl_.animate_ = nullptr;
+}
+inline const ::proto::animate& player::_internal_animate() const {
+ const ::proto::animate* p = _impl_.animate_;
+ return p != nullptr ? *p : reinterpret_cast<const ::proto::animate&>(
+ ::proto::_animate_default_instance_);
+}
+inline const ::proto::animate& player::animate() const {
+ // @@protoc_insertion_point(field_get:proto.player.animate)
+ return _internal_animate();
+}
+inline void player::unsafe_arena_set_allocated_animate(
+ ::proto::animate* animate) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.animate_);
+ }
+ _impl_.animate_ = animate;
+ if (animate) {
+
+ } else {
+
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.animate)
+}
+inline ::proto::animate* player::release_animate() {
+
+ ::proto::animate* temp = _impl_.animate_;
+ _impl_.animate_ = nullptr;
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
+ return temp;
+}
+inline ::proto::animate* player::unsafe_arena_release_animate() {
+ // @@protoc_insertion_point(field_release:proto.player.animate)
+
+ ::proto::animate* temp = _impl_.animate_;
+ _impl_.animate_ = nullptr;
+ return temp;
+}
+inline ::proto::animate* player::_internal_mutable_animate() {
+
+ if (_impl_.animate_ == nullptr) {
+ auto* p = CreateMaybeMessage<::proto::animate>(GetArenaForAllocation());
+ _impl_.animate_ = p;
+ }
+ return _impl_.animate_;
+}
+inline ::proto::animate* player::mutable_animate() {
+ ::proto::animate* _msg = _internal_mutable_animate();
+ // @@protoc_insertion_point(field_mutable:proto.player.animate)
+ return _msg;
+}
+inline void player::set_allocated_animate(::proto::animate* animate) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
+ if (message_arena == nullptr) {
+ delete _impl_.animate_;
+ }
+ if (animate) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(animate);
+ if (message_arena != submessage_arena) {
+ animate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
+ message_arena, animate, submessage_arena);
+ }
+
+ } else {
+
+ }
+ _impl_.animate_ = animate;
+ // @@protoc_insertion_point(field_set_allocated:proto.player.animate)
+}
+
+// .proto.item_array inventory = 2;
+inline bool player::_internal_has_inventory() const {
+ return this != internal_default_instance() && _impl_.inventory_ != nullptr;
+}
+inline bool player::has_inventory() const {
+ return _internal_has_inventory();
+}
+inline void player::clear_inventory() {
+ if (GetArenaForAllocation() == nullptr && _impl_.inventory_ != nullptr) {
+ delete _impl_.inventory_;
+ }
+ _impl_.inventory_ = nullptr;
+}
+inline const ::proto::item_array& player::_internal_inventory() const {
+ const ::proto::item_array* p = _impl_.inventory_;
+ return p != nullptr ? *p : reinterpret_cast<const ::proto::item_array&>(
+ ::proto::_item_array_default_instance_);
+}
+inline const ::proto::item_array& player::inventory() const {
+ // @@protoc_insertion_point(field_get:proto.player.inventory)
+ return _internal_inventory();
+}
+inline void player::unsafe_arena_set_allocated_inventory(
+ ::proto::item_array* inventory) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inventory_);
+ }
+ _impl_.inventory_ = inventory;
+ if (inventory) {
+
+ } else {
+
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.player.inventory)
+}
+inline ::proto::item_array* player::release_inventory() {
+
+ ::proto::item_array* temp = _impl_.inventory_;
+ _impl_.inventory_ = nullptr;
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
+ return temp;
+}
+inline ::proto::item_array* player::unsafe_arena_release_inventory() {
+ // @@protoc_insertion_point(field_release:proto.player.inventory)
+
+ ::proto::item_array* temp = _impl_.inventory_;
+ _impl_.inventory_ = nullptr;
+ return temp;
+}
+inline ::proto::item_array* player::_internal_mutable_inventory() {
+
+ if (_impl_.inventory_ == nullptr) {
+ auto* p = CreateMaybeMessage<::proto::item_array>(GetArenaForAllocation());
+ _impl_.inventory_ = p;
+ }
+ return _impl_.inventory_;
+}
+inline ::proto::item_array* player::mutable_inventory() {
+ ::proto::item_array* _msg = _internal_mutable_inventory();
+ // @@protoc_insertion_point(field_mutable:proto.player.inventory)
+ return _msg;
+}
+inline void player::set_allocated_inventory(::proto::item_array* inventory) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
+ if (message_arena == nullptr) {
+ delete _impl_.inventory_;
+ }
+ if (inventory) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inventory);
+ if (message_arena != submessage_arena) {
+ inventory = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
+ message_arena, inventory, submessage_arena);
+ }
+
+ } else {
+
+ }
+ _impl_.inventory_ = inventory;
+ // @@protoc_insertion_point(field_set_allocated:proto.player.inventory)
}
// -------------------------------------------------------------------
@@ -4069,7 +5964,7 @@ inline void player::set_allocated_velocity(::proto::vec3* velocity) {
// string username = 1;
inline void auth::clear_username() {
- username_.ClearToEmpty();
+ _impl_.username_.ClearToEmpty();
}
inline const std::string& auth::username() const {
// @@protoc_insertion_point(field_get:proto.auth.username)
@@ -4079,7 +5974,7 @@ template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void auth::set_username(ArgT0&& arg0, ArgT... args) {
- username_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.username_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.auth.username)
}
inline std::string* auth::mutable_username() {
@@ -4088,19 +5983,19 @@ inline std::string* auth::mutable_username() {
return _s;
}
inline const std::string& auth::_internal_username() const {
- return username_.Get();
+ return _impl_.username_.Get();
}
inline void auth::_internal_set_username(const std::string& value) {
- username_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.username_.Set(value, GetArenaForAllocation());
}
inline std::string* auth::_internal_mutable_username() {
- return username_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.username_.Mutable(GetArenaForAllocation());
}
inline std::string* auth::release_username() {
// @@protoc_insertion_point(field_release:proto.auth.username)
- return username_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ return _impl_.username_.Release();
}
inline void auth::set_allocated_username(std::string* username) {
if (username != nullptr) {
@@ -4108,11 +6003,10 @@ inline void auth::set_allocated_username(std::string* username) {
} else {
}
- username_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), username,
- GetArenaForAllocation());
+ _impl_.username_.SetAllocated(username, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (username_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ if (_impl_.username_.IsDefault()) {
+ _impl_.username_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.auth.username)
@@ -4120,7 +6014,7 @@ inline void auth::set_allocated_username(std::string* username) {
// string password = 2;
inline void auth::clear_password() {
- password_.ClearToEmpty();
+ _impl_.password_.ClearToEmpty();
}
inline const std::string& auth::password() const {
// @@protoc_insertion_point(field_get:proto.auth.password)
@@ -4130,7 +6024,7 @@ template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void auth::set_password(ArgT0&& arg0, ArgT... args) {
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.password_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.auth.password)
}
inline std::string* auth::mutable_password() {
@@ -4139,19 +6033,19 @@ inline std::string* auth::mutable_password() {
return _s;
}
inline const std::string& auth::_internal_password() const {
- return password_.Get();
+ return _impl_.password_.Get();
}
inline void auth::_internal_set_password(const std::string& value) {
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.password_.Set(value, GetArenaForAllocation());
}
inline std::string* auth::_internal_mutable_password() {
- return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.password_.Mutable(GetArenaForAllocation());
}
inline std::string* auth::release_password() {
// @@protoc_insertion_point(field_release:proto.auth.password)
- return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ return _impl_.password_.Release();
}
inline void auth::set_allocated_password(std::string* password) {
if (password != nullptr) {
@@ -4159,11 +6053,10 @@ inline void auth::set_allocated_password(std::string* password) {
} else {
}
- password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
- GetArenaForAllocation());
+ _impl_.password_.SetAllocated(password, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ if (_impl_.password_.IsDefault()) {
+ _impl_.password_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.auth.password)
@@ -4175,10 +6068,10 @@ inline void auth::set_allocated_password(std::string* password) {
// uint64 seed = 1;
inline void init::clear_seed() {
- seed_ = uint64_t{0u};
+ _impl_.seed_ = uint64_t{0u};
}
inline uint64_t init::_internal_seed() const {
- return seed_;
+ return _impl_.seed_;
}
inline uint64_t init::seed() const {
// @@protoc_insertion_point(field_get:proto.init.seed)
@@ -4186,7 +6079,7 @@ inline uint64_t init::seed() const {
}
inline void init::_internal_set_seed(uint64_t value) {
- seed_ = value;
+ _impl_.seed_ = value;
}
inline void init::set_seed(uint64_t value) {
_internal_set_seed(value);
@@ -4195,10 +6088,10 @@ inline void init::set_seed(uint64_t value) {
// int32 draw_distance = 2;
inline void init::clear_draw_distance() {
- draw_distance_ = 0;
+ _impl_.draw_distance_ = 0;
}
inline int32_t init::_internal_draw_distance() const {
- return draw_distance_;
+ return _impl_.draw_distance_;
}
inline int32_t init::draw_distance() const {
// @@protoc_insertion_point(field_get:proto.init.draw_distance)
@@ -4206,7 +6099,7 @@ inline int32_t init::draw_distance() const {
}
inline void init::_internal_set_draw_distance(int32_t value) {
- draw_distance_ = value;
+ _impl_.draw_distance_ = value;
}
inline void init::set_draw_distance(int32_t value) {
_internal_set_draw_distance(value);
@@ -4215,19 +6108,19 @@ inline void init::set_draw_distance(int32_t value) {
// .proto.player localplayer = 3;
inline bool init::_internal_has_localplayer() const {
- return this != internal_default_instance() && localplayer_ != nullptr;
+ return this != internal_default_instance() && _impl_.localplayer_ != nullptr;
}
inline bool init::has_localplayer() const {
return _internal_has_localplayer();
}
inline void init::clear_localplayer() {
- if (GetArenaForAllocation() == nullptr && localplayer_ != nullptr) {
- delete localplayer_;
+ if (GetArenaForAllocation() == nullptr && _impl_.localplayer_ != nullptr) {
+ delete _impl_.localplayer_;
}
- localplayer_ = nullptr;
+ _impl_.localplayer_ = nullptr;
}
inline const ::proto::player& init::_internal_localplayer() const {
- const ::proto::player* p = localplayer_;
+ const ::proto::player* p = _impl_.localplayer_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::player&>(
::proto::_player_default_instance_);
}
@@ -4238,9 +6131,9 @@ inline const ::proto::player& init::localplayer() const {
inline void init::unsafe_arena_set_allocated_localplayer(
::proto::player* localplayer) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(localplayer_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.localplayer_);
}
- localplayer_ = localplayer;
+ _impl_.localplayer_ = localplayer;
if (localplayer) {
} else {
@@ -4250,8 +6143,8 @@ inline void init::unsafe_arena_set_allocated_localplayer(
}
inline ::proto::player* init::release_localplayer() {
- ::proto::player* temp = localplayer_;
- localplayer_ = nullptr;
+ ::proto::player* temp = _impl_.localplayer_;
+ _impl_.localplayer_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4266,17 +6159,17 @@ inline ::proto::player* init::release_localplayer() {
inline ::proto::player* init::unsafe_arena_release_localplayer() {
// @@protoc_insertion_point(field_release:proto.init.localplayer)
- ::proto::player* temp = localplayer_;
- localplayer_ = nullptr;
+ ::proto::player* temp = _impl_.localplayer_;
+ _impl_.localplayer_ = nullptr;
return temp;
}
inline ::proto::player* init::_internal_mutable_localplayer() {
- if (localplayer_ == nullptr) {
+ if (_impl_.localplayer_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::player>(GetArenaForAllocation());
- localplayer_ = p;
+ _impl_.localplayer_ = p;
}
- return localplayer_;
+ return _impl_.localplayer_;
}
inline ::proto::player* init::mutable_localplayer() {
::proto::player* _msg = _internal_mutable_localplayer();
@@ -4286,11 +6179,11 @@ inline ::proto::player* init::mutable_localplayer() {
inline void init::set_allocated_localplayer(::proto::player* localplayer) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete localplayer_;
+ delete _impl_.localplayer_;
}
if (localplayer) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::player>::GetOwningArena(localplayer);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(localplayer);
if (message_arena != submessage_arena) {
localplayer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, localplayer, submessage_arena);
@@ -4299,20 +6192,60 @@ inline void init::set_allocated_localplayer(::proto::player* localplayer) {
} else {
}
- localplayer_ = localplayer;
+ _impl_.localplayer_ = localplayer;
// @@protoc_insertion_point(field_set_allocated:proto.init.localplayer)
}
+// uint32 tickrate = 4;
+inline void init::clear_tickrate() {
+ _impl_.tickrate_ = 0u;
+}
+inline uint32_t init::_internal_tickrate() const {
+ return _impl_.tickrate_;
+}
+inline uint32_t init::tickrate() const {
+ // @@protoc_insertion_point(field_get:proto.init.tickrate)
+ return _internal_tickrate();
+}
+inline void init::_internal_set_tickrate(uint32_t value) {
+
+ _impl_.tickrate_ = value;
+}
+inline void init::set_tickrate(uint32_t value) {
+ _internal_set_tickrate(value);
+ // @@protoc_insertion_point(field_set:proto.init.tickrate)
+}
+
+// uint32 tick = 5;
+inline void init::clear_tick() {
+ _impl_.tick_ = 0u;
+}
+inline uint32_t init::_internal_tick() const {
+ return _impl_.tick_;
+}
+inline uint32_t init::tick() const {
+ // @@protoc_insertion_point(field_get:proto.init.tick)
+ return _internal_tick();
+}
+inline void init::_internal_set_tick(uint32_t value) {
+
+ _impl_.tick_ = value;
+}
+inline void init::set_tick(uint32_t value) {
+ _internal_set_tick(value);
+ // @@protoc_insertion_point(field_set:proto.init.tick)
+}
+
// -------------------------------------------------------------------
// move
// uint32 commands = 1;
inline void move::clear_commands() {
- commands_ = 0u;
+ _impl_.commands_ = 0u;
}
inline uint32_t move::_internal_commands() const {
- return commands_;
+ return _impl_.commands_;
}
inline uint32_t move::commands() const {
// @@protoc_insertion_point(field_get:proto.move.commands)
@@ -4320,7 +6253,7 @@ inline uint32_t move::commands() const {
}
inline void move::_internal_set_commands(uint32_t value) {
- commands_ = value;
+ _impl_.commands_ = value;
}
inline void move::set_commands(uint32_t value) {
_internal_set_commands(value);
@@ -4329,19 +6262,19 @@ inline void move::set_commands(uint32_t value) {
// .proto.angles viewangles = 2;
inline bool move::_internal_has_viewangles() const {
- return this != internal_default_instance() && viewangles_ != nullptr;
+ return this != internal_default_instance() && _impl_.viewangles_ != nullptr;
}
inline bool move::has_viewangles() const {
return _internal_has_viewangles();
}
inline void move::clear_viewangles() {
- if (GetArenaForAllocation() == nullptr && viewangles_ != nullptr) {
- delete viewangles_;
+ if (GetArenaForAllocation() == nullptr && _impl_.viewangles_ != nullptr) {
+ delete _impl_.viewangles_;
}
- viewangles_ = nullptr;
+ _impl_.viewangles_ = nullptr;
}
inline const ::proto::angles& move::_internal_viewangles() const {
- const ::proto::angles* p = viewangles_;
+ const ::proto::angles* p = _impl_.viewangles_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::angles&>(
::proto::_angles_default_instance_);
}
@@ -4352,9 +6285,9 @@ inline const ::proto::angles& move::viewangles() const {
inline void move::unsafe_arena_set_allocated_viewangles(
::proto::angles* viewangles) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewangles_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_);
}
- viewangles_ = viewangles;
+ _impl_.viewangles_ = viewangles;
if (viewangles) {
} else {
@@ -4364,8 +6297,8 @@ inline void move::unsafe_arena_set_allocated_viewangles(
}
inline ::proto::angles* move::release_viewangles() {
- ::proto::angles* temp = viewangles_;
- viewangles_ = nullptr;
+ ::proto::angles* temp = _impl_.viewangles_;
+ _impl_.viewangles_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4380,17 +6313,17 @@ inline ::proto::angles* move::release_viewangles() {
inline ::proto::angles* move::unsafe_arena_release_viewangles() {
// @@protoc_insertion_point(field_release:proto.move.viewangles)
- ::proto::angles* temp = viewangles_;
- viewangles_ = nullptr;
+ ::proto::angles* temp = _impl_.viewangles_;
+ _impl_.viewangles_ = nullptr;
return temp;
}
inline ::proto::angles* move::_internal_mutable_viewangles() {
- if (viewangles_ == nullptr) {
+ if (_impl_.viewangles_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::angles>(GetArenaForAllocation());
- viewangles_ = p;
+ _impl_.viewangles_ = p;
}
- return viewangles_;
+ return _impl_.viewangles_;
}
inline ::proto::angles* move::mutable_viewangles() {
::proto::angles* _msg = _internal_mutable_viewangles();
@@ -4400,11 +6333,11 @@ inline ::proto::angles* move::mutable_viewangles() {
inline void move::set_allocated_viewangles(::proto::angles* viewangles) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete viewangles_;
+ delete _impl_.viewangles_;
}
if (viewangles) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::angles>::GetOwningArena(viewangles);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(viewangles);
if (message_arena != submessage_arena) {
viewangles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, viewangles, submessage_arena);
@@ -4413,32 +6346,72 @@ inline void move::set_allocated_viewangles(::proto::angles* viewangles) {
} else {
}
- viewangles_ = viewangles;
+ _impl_.viewangles_ = viewangles;
// @@protoc_insertion_point(field_set_allocated:proto.move.viewangles)
}
+// uint32 active_item = 3;
+inline void move::clear_active_item() {
+ _impl_.active_item_ = 0u;
+}
+inline uint32_t move::_internal_active_item() const {
+ return _impl_.active_item_;
+}
+inline uint32_t move::active_item() const {
+ // @@protoc_insertion_point(field_get:proto.move.active_item)
+ return _internal_active_item();
+}
+inline void move::_internal_set_active_item(uint32_t value) {
+
+ _impl_.active_item_ = value;
+}
+inline void move::set_active_item(uint32_t value) {
+ _internal_set_active_item(value);
+ // @@protoc_insertion_point(field_set:proto.move.active_item)
+}
+
+// uint32 sequence = 4;
+inline void move::clear_sequence() {
+ _impl_.sequence_ = 0u;
+}
+inline uint32_t move::_internal_sequence() const {
+ return _impl_.sequence_;
+}
+inline uint32_t move::sequence() const {
+ // @@protoc_insertion_point(field_get:proto.move.sequence)
+ return _internal_sequence();
+}
+inline void move::_internal_set_sequence(uint32_t value) {
+
+ _impl_.sequence_ = value;
+}
+inline void move::set_sequence(uint32_t value) {
+ _internal_set_sequence(value);
+ // @@protoc_insertion_point(field_set:proto.move.sequence)
+}
+
// -------------------------------------------------------------------
-// remove_player
+// remove_entity
// uint32 index = 1;
-inline void remove_player::clear_index() {
- index_ = 0u;
+inline void remove_entity::clear_index() {
+ _impl_.index_ = 0u;
}
-inline uint32_t remove_player::_internal_index() const {
- return index_;
+inline uint32_t remove_entity::_internal_index() const {
+ return _impl_.index_;
}
-inline uint32_t remove_player::index() const {
- // @@protoc_insertion_point(field_get:proto.remove_player.index)
+inline uint32_t remove_entity::index() const {
+ // @@protoc_insertion_point(field_get:proto.remove_entity.index)
return _internal_index();
}
-inline void remove_player::_internal_set_index(uint32_t value) {
+inline void remove_entity::_internal_set_index(uint32_t value) {
- index_ = value;
+ _impl_.index_ = value;
}
-inline void remove_player::set_index(uint32_t value) {
+inline void remove_entity::set_index(uint32_t value) {
_internal_set_index(value);
- // @@protoc_insertion_point(field_set:proto.remove_player.index)
+ // @@protoc_insertion_point(field_set:proto.remove_entity.index)
}
// -------------------------------------------------------------------
@@ -4447,7 +6420,7 @@ inline void remove_player::set_index(uint32_t value) {
// string text = 1;
inline void say::clear_text() {
- text_.ClearToEmpty();
+ _impl_.text_.ClearToEmpty();
}
inline const std::string& say::text() const {
// @@protoc_insertion_point(field_get:proto.say.text)
@@ -4457,7 +6430,7 @@ template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void say::set_text(ArgT0&& arg0, ArgT... args) {
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.text_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.say.text)
}
inline std::string* say::mutable_text() {
@@ -4466,19 +6439,19 @@ inline std::string* say::mutable_text() {
return _s;
}
inline const std::string& say::_internal_text() const {
- return text_.Get();
+ return _impl_.text_.Get();
}
inline void say::_internal_set_text(const std::string& value) {
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.text_.Set(value, GetArenaForAllocation());
}
inline std::string* say::_internal_mutable_text() {
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.text_.Mutable(GetArenaForAllocation());
}
inline std::string* say::release_text() {
// @@protoc_insertion_point(field_release:proto.say.text)
- return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ return _impl_.text_.Release();
}
inline void say::set_allocated_text(std::string* text) {
if (text != nullptr) {
@@ -4486,11 +6459,10 @@ inline void say::set_allocated_text(std::string* text) {
} else {
}
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
+ _impl_.text_.SetAllocated(text, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ if (_impl_.text_.IsDefault()) {
+ _impl_.text_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.say.text)
@@ -4502,10 +6474,10 @@ inline void say::set_allocated_text(std::string* text) {
// uint32 index = 1;
inline void hear_player::clear_index() {
- index_ = 0u;
+ _impl_.index_ = 0u;
}
inline uint32_t hear_player::_internal_index() const {
- return index_;
+ return _impl_.index_;
}
inline uint32_t hear_player::index() const {
// @@protoc_insertion_point(field_get:proto.hear_player.index)
@@ -4513,7 +6485,7 @@ inline uint32_t hear_player::index() const {
}
inline void hear_player::_internal_set_index(uint32_t value) {
- index_ = value;
+ _impl_.index_ = value;
}
inline void hear_player::set_index(uint32_t value) {
_internal_set_index(value);
@@ -4522,7 +6494,7 @@ inline void hear_player::set_index(uint32_t value) {
// string text = 2;
inline void hear_player::clear_text() {
- text_.ClearToEmpty();
+ _impl_.text_.ClearToEmpty();
}
inline const std::string& hear_player::text() const {
// @@protoc_insertion_point(field_get:proto.hear_player.text)
@@ -4532,7 +6504,7 @@ template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void hear_player::set_text(ArgT0&& arg0, ArgT... args) {
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.text_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.hear_player.text)
}
inline std::string* hear_player::mutable_text() {
@@ -4541,19 +6513,19 @@ inline std::string* hear_player::mutable_text() {
return _s;
}
inline const std::string& hear_player::_internal_text() const {
- return text_.Get();
+ return _impl_.text_.Get();
}
inline void hear_player::_internal_set_text(const std::string& value) {
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.text_.Set(value, GetArenaForAllocation());
}
inline std::string* hear_player::_internal_mutable_text() {
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.text_.Mutable(GetArenaForAllocation());
}
inline std::string* hear_player::release_text() {
// @@protoc_insertion_point(field_release:proto.hear_player.text)
- return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ return _impl_.text_.Release();
}
inline void hear_player::set_allocated_text(std::string* text) {
if (text != nullptr) {
@@ -4561,11 +6533,10 @@ inline void hear_player::set_allocated_text(std::string* text) {
} else {
}
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
+ _impl_.text_.SetAllocated(text, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ if (_impl_.text_.IsDefault()) {
+ _impl_.text_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.hear_player.text)
@@ -4577,19 +6548,19 @@ inline void hear_player::set_allocated_text(std::string* text) {
// .proto.coords chunk_pos = 1;
inline bool request_chunk::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
inline bool request_chunk::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
inline void request_chunk::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
inline const ::proto::coords& request_chunk::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
@@ -4600,9 +6571,9 @@ inline const ::proto::coords& request_chunk::chunk_pos() const {
inline void request_chunk::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
@@ -4612,8 +6583,8 @@ inline void request_chunk::unsafe_arena_set_allocated_chunk_pos(
}
inline ::proto::coords* request_chunk::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4628,17 +6599,17 @@ inline ::proto::coords* request_chunk::release_chunk_pos() {
inline ::proto::coords* request_chunk::unsafe_arena_release_chunk_pos() {
// @@protoc_insertion_point(field_release:proto.request_chunk.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
inline ::proto::coords* request_chunk::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
inline ::proto::coords* request_chunk::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
@@ -4648,11 +6619,11 @@ inline ::proto::coords* request_chunk::mutable_chunk_pos() {
inline void request_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -4661,7 +6632,7 @@ inline void request_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
// @@protoc_insertion_point(field_set_allocated:proto.request_chunk.chunk_pos)
}
@@ -4671,19 +6642,19 @@ inline void request_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
// .proto.coords chunk_pos = 1;
inline bool remove_chunk::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
inline bool remove_chunk::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
inline void remove_chunk::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
inline const ::proto::coords& remove_chunk::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
@@ -4694,9 +6665,9 @@ inline const ::proto::coords& remove_chunk::chunk_pos() const {
inline void remove_chunk::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
@@ -4706,8 +6677,8 @@ inline void remove_chunk::unsafe_arena_set_allocated_chunk_pos(
}
inline ::proto::coords* remove_chunk::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4722,17 +6693,17 @@ inline ::proto::coords* remove_chunk::release_chunk_pos() {
inline ::proto::coords* remove_chunk::unsafe_arena_release_chunk_pos() {
// @@protoc_insertion_point(field_release:proto.remove_chunk.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
inline ::proto::coords* remove_chunk::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
inline ::proto::coords* remove_chunk::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
@@ -4742,11 +6713,11 @@ inline ::proto::coords* remove_chunk::mutable_chunk_pos() {
inline void remove_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -4755,7 +6726,7 @@ inline void remove_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
// @@protoc_insertion_point(field_set_allocated:proto.remove_chunk.chunk_pos)
}
@@ -4765,19 +6736,19 @@ inline void remove_chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
// .proto.coords chunk_pos = 1;
inline bool chunk::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
inline bool chunk::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
inline void chunk::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
inline const ::proto::coords& chunk::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
@@ -4788,9 +6759,9 @@ inline const ::proto::coords& chunk::chunk_pos() const {
inline void chunk::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
@@ -4800,8 +6771,8 @@ inline void chunk::unsafe_arena_set_allocated_chunk_pos(
}
inline ::proto::coords* chunk::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4816,17 +6787,17 @@ inline ::proto::coords* chunk::release_chunk_pos() {
inline ::proto::coords* chunk::unsafe_arena_release_chunk_pos() {
// @@protoc_insertion_point(field_release:proto.chunk.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
inline ::proto::coords* chunk::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
inline ::proto::coords* chunk::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
@@ -4836,11 +6807,11 @@ inline ::proto::coords* chunk::mutable_chunk_pos() {
inline void chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -4849,33 +6820,33 @@ inline void chunk::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
// @@protoc_insertion_point(field_set_allocated:proto.chunk.chunk_pos)
}
// repeated uint32 blocks = 2 [packed = true];
inline int chunk::_internal_blocks_size() const {
- return blocks_.size();
+ return _impl_.blocks_.size();
}
inline int chunk::blocks_size() const {
return _internal_blocks_size();
}
inline void chunk::clear_blocks() {
- blocks_.Clear();
+ _impl_.blocks_.Clear();
}
inline uint32_t chunk::_internal_blocks(int index) const {
- return blocks_.Get(index);
+ return _impl_.blocks_.Get(index);
}
inline uint32_t chunk::blocks(int index) const {
// @@protoc_insertion_point(field_get:proto.chunk.blocks)
return _internal_blocks(index);
}
inline void chunk::set_blocks(int index, uint32_t value) {
- blocks_.Set(index, value);
+ _impl_.blocks_.Set(index, value);
// @@protoc_insertion_point(field_set:proto.chunk.blocks)
}
inline void chunk::_internal_add_blocks(uint32_t value) {
- blocks_.Add(value);
+ _impl_.blocks_.Add(value);
}
inline void chunk::add_blocks(uint32_t value) {
_internal_add_blocks(value);
@@ -4883,7 +6854,7 @@ inline void chunk::add_blocks(uint32_t value) {
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
chunk::_internal_blocks() const {
- return blocks_;
+ return _impl_.blocks_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
chunk::blocks() const {
@@ -4892,7 +6863,7 @@ chunk::blocks() const {
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
chunk::_internal_mutable_blocks() {
- return &blocks_;
+ return &_impl_.blocks_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
chunk::mutable_blocks() {
@@ -4906,19 +6877,19 @@ chunk::mutable_blocks() {
// .proto.coords chunk_pos = 1;
inline bool add_block::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
inline bool add_block::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
inline void add_block::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
inline const ::proto::coords& add_block::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
@@ -4929,9 +6900,9 @@ inline const ::proto::coords& add_block::chunk_pos() const {
inline void add_block::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
@@ -4941,8 +6912,8 @@ inline void add_block::unsafe_arena_set_allocated_chunk_pos(
}
inline ::proto::coords* add_block::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -4957,17 +6928,17 @@ inline ::proto::coords* add_block::release_chunk_pos() {
inline ::proto::coords* add_block::unsafe_arena_release_chunk_pos() {
// @@protoc_insertion_point(field_release:proto.add_block.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
inline ::proto::coords* add_block::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
inline ::proto::coords* add_block::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
@@ -4977,11 +6948,11 @@ inline ::proto::coords* add_block::mutable_chunk_pos() {
inline void add_block::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -4990,25 +6961,25 @@ inline void add_block::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
// @@protoc_insertion_point(field_set_allocated:proto.add_block.chunk_pos)
}
// .proto.ivec3 block_pos = 2;
inline bool add_block::_internal_has_block_pos() const {
- return this != internal_default_instance() && block_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.block_pos_ != nullptr;
}
inline bool add_block::has_block_pos() const {
return _internal_has_block_pos();
}
inline void add_block::clear_block_pos() {
- if (GetArenaForAllocation() == nullptr && block_pos_ != nullptr) {
- delete block_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.block_pos_ != nullptr) {
+ delete _impl_.block_pos_;
}
- block_pos_ = nullptr;
+ _impl_.block_pos_ = nullptr;
}
inline const ::proto::ivec3& add_block::_internal_block_pos() const {
- const ::proto::ivec3* p = block_pos_;
+ const ::proto::ivec3* p = _impl_.block_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ivec3&>(
::proto::_ivec3_default_instance_);
}
@@ -5019,9 +6990,9 @@ inline const ::proto::ivec3& add_block::block_pos() const {
inline void add_block::unsafe_arena_set_allocated_block_pos(
::proto::ivec3* block_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(block_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.block_pos_);
}
- block_pos_ = block_pos;
+ _impl_.block_pos_ = block_pos;
if (block_pos) {
} else {
@@ -5031,8 +7002,8 @@ inline void add_block::unsafe_arena_set_allocated_block_pos(
}
inline ::proto::ivec3* add_block::release_block_pos() {
- ::proto::ivec3* temp = block_pos_;
- block_pos_ = nullptr;
+ ::proto::ivec3* temp = _impl_.block_pos_;
+ _impl_.block_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -5047,17 +7018,17 @@ inline ::proto::ivec3* add_block::release_block_pos() {
inline ::proto::ivec3* add_block::unsafe_arena_release_block_pos() {
// @@protoc_insertion_point(field_release:proto.add_block.block_pos)
- ::proto::ivec3* temp = block_pos_;
- block_pos_ = nullptr;
+ ::proto::ivec3* temp = _impl_.block_pos_;
+ _impl_.block_pos_ = nullptr;
return temp;
}
inline ::proto::ivec3* add_block::_internal_mutable_block_pos() {
- if (block_pos_ == nullptr) {
+ if (_impl_.block_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ivec3>(GetArenaForAllocation());
- block_pos_ = p;
+ _impl_.block_pos_ = p;
}
- return block_pos_;
+ return _impl_.block_pos_;
}
inline ::proto::ivec3* add_block::mutable_block_pos() {
::proto::ivec3* _msg = _internal_mutable_block_pos();
@@ -5067,11 +7038,11 @@ inline ::proto::ivec3* add_block::mutable_block_pos() {
inline void add_block::set_allocated_block_pos(::proto::ivec3* block_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete block_pos_;
+ delete _impl_.block_pos_;
}
if (block_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ivec3>::GetOwningArena(block_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block_pos);
if (message_arena != submessage_arena) {
block_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, block_pos, submessage_arena);
@@ -5080,28 +7051,28 @@ inline void add_block::set_allocated_block_pos(::proto::ivec3* block_pos) {
} else {
}
- block_pos_ = block_pos;
+ _impl_.block_pos_ = block_pos;
// @@protoc_insertion_point(field_set_allocated:proto.add_block.block_pos)
}
-// uint32 block = 3;
-inline void add_block::clear_block() {
- block_ = 0u;
+// uint32 active_item = 3;
+inline void add_block::clear_active_item() {
+ _impl_.active_item_ = 0u;
}
-inline uint32_t add_block::_internal_block() const {
- return block_;
+inline uint32_t add_block::_internal_active_item() const {
+ return _impl_.active_item_;
}
-inline uint32_t add_block::block() const {
- // @@protoc_insertion_point(field_get:proto.add_block.block)
- return _internal_block();
+inline uint32_t add_block::active_item() const {
+ // @@protoc_insertion_point(field_get:proto.add_block.active_item)
+ return _internal_active_item();
}
-inline void add_block::_internal_set_block(uint32_t value) {
+inline void add_block::_internal_set_active_item(uint32_t value) {
- block_ = value;
+ _impl_.active_item_ = value;
}
-inline void add_block::set_block(uint32_t value) {
- _internal_set_block(value);
- // @@protoc_insertion_point(field_set:proto.add_block.block)
+inline void add_block::set_active_item(uint32_t value) {
+ _internal_set_active_item(value);
+ // @@protoc_insertion_point(field_set:proto.add_block.active_item)
}
// -------------------------------------------------------------------
@@ -5110,19 +7081,19 @@ inline void add_block::set_block(uint32_t value) {
// .proto.coords chunk_pos = 1;
inline bool remove_block::_internal_has_chunk_pos() const {
- return this != internal_default_instance() && chunk_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.chunk_pos_ != nullptr;
}
inline bool remove_block::has_chunk_pos() const {
return _internal_has_chunk_pos();
}
inline void remove_block::clear_chunk_pos() {
- if (GetArenaForAllocation() == nullptr && chunk_pos_ != nullptr) {
- delete chunk_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.chunk_pos_ != nullptr) {
+ delete _impl_.chunk_pos_;
}
- chunk_pos_ = nullptr;
+ _impl_.chunk_pos_ = nullptr;
}
inline const ::proto::coords& remove_block::_internal_chunk_pos() const {
- const ::proto::coords* p = chunk_pos_;
+ const ::proto::coords* p = _impl_.chunk_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::coords&>(
::proto::_coords_default_instance_);
}
@@ -5133,9 +7104,9 @@ inline const ::proto::coords& remove_block::chunk_pos() const {
inline void remove_block::unsafe_arena_set_allocated_chunk_pos(
::proto::coords* chunk_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chunk_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.chunk_pos_);
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
if (chunk_pos) {
} else {
@@ -5145,8 +7116,8 @@ inline void remove_block::unsafe_arena_set_allocated_chunk_pos(
}
inline ::proto::coords* remove_block::release_chunk_pos() {
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -5161,17 +7132,17 @@ inline ::proto::coords* remove_block::release_chunk_pos() {
inline ::proto::coords* remove_block::unsafe_arena_release_chunk_pos() {
// @@protoc_insertion_point(field_release:proto.remove_block.chunk_pos)
- ::proto::coords* temp = chunk_pos_;
- chunk_pos_ = nullptr;
+ ::proto::coords* temp = _impl_.chunk_pos_;
+ _impl_.chunk_pos_ = nullptr;
return temp;
}
inline ::proto::coords* remove_block::_internal_mutable_chunk_pos() {
- if (chunk_pos_ == nullptr) {
+ if (_impl_.chunk_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::coords>(GetArenaForAllocation());
- chunk_pos_ = p;
+ _impl_.chunk_pos_ = p;
}
- return chunk_pos_;
+ return _impl_.chunk_pos_;
}
inline ::proto::coords* remove_block::mutable_chunk_pos() {
::proto::coords* _msg = _internal_mutable_chunk_pos();
@@ -5181,11 +7152,11 @@ inline ::proto::coords* remove_block::mutable_chunk_pos() {
inline void remove_block::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete chunk_pos_;
+ delete _impl_.chunk_pos_;
}
if (chunk_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::coords>::GetOwningArena(chunk_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(chunk_pos);
if (message_arena != submessage_arena) {
chunk_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, chunk_pos, submessage_arena);
@@ -5194,25 +7165,25 @@ inline void remove_block::set_allocated_chunk_pos(::proto::coords* chunk_pos) {
} else {
}
- chunk_pos_ = chunk_pos;
+ _impl_.chunk_pos_ = chunk_pos;
// @@protoc_insertion_point(field_set_allocated:proto.remove_block.chunk_pos)
}
// .proto.ivec3 block_pos = 2;
inline bool remove_block::_internal_has_block_pos() const {
- return this != internal_default_instance() && block_pos_ != nullptr;
+ return this != internal_default_instance() && _impl_.block_pos_ != nullptr;
}
inline bool remove_block::has_block_pos() const {
return _internal_has_block_pos();
}
inline void remove_block::clear_block_pos() {
- if (GetArenaForAllocation() == nullptr && block_pos_ != nullptr) {
- delete block_pos_;
+ if (GetArenaForAllocation() == nullptr && _impl_.block_pos_ != nullptr) {
+ delete _impl_.block_pos_;
}
- block_pos_ = nullptr;
+ _impl_.block_pos_ = nullptr;
}
inline const ::proto::ivec3& remove_block::_internal_block_pos() const {
- const ::proto::ivec3* p = block_pos_;
+ const ::proto::ivec3* p = _impl_.block_pos_;
return p != nullptr ? *p : reinterpret_cast<const ::proto::ivec3&>(
::proto::_ivec3_default_instance_);
}
@@ -5223,9 +7194,9 @@ inline const ::proto::ivec3& remove_block::block_pos() const {
inline void remove_block::unsafe_arena_set_allocated_block_pos(
::proto::ivec3* block_pos) {
if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(block_pos_);
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.block_pos_);
}
- block_pos_ = block_pos;
+ _impl_.block_pos_ = block_pos;
if (block_pos) {
} else {
@@ -5235,8 +7206,8 @@ inline void remove_block::unsafe_arena_set_allocated_block_pos(
}
inline ::proto::ivec3* remove_block::release_block_pos() {
- ::proto::ivec3* temp = block_pos_;
- block_pos_ = nullptr;
+ ::proto::ivec3* temp = _impl_.block_pos_;
+ _impl_.block_pos_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -5251,17 +7222,17 @@ inline ::proto::ivec3* remove_block::release_block_pos() {
inline ::proto::ivec3* remove_block::unsafe_arena_release_block_pos() {
// @@protoc_insertion_point(field_release:proto.remove_block.block_pos)
- ::proto::ivec3* temp = block_pos_;
- block_pos_ = nullptr;
+ ::proto::ivec3* temp = _impl_.block_pos_;
+ _impl_.block_pos_ = nullptr;
return temp;
}
inline ::proto::ivec3* remove_block::_internal_mutable_block_pos() {
- if (block_pos_ == nullptr) {
+ if (_impl_.block_pos_ == nullptr) {
auto* p = CreateMaybeMessage<::proto::ivec3>(GetArenaForAllocation());
- block_pos_ = p;
+ _impl_.block_pos_ = p;
}
- return block_pos_;
+ return _impl_.block_pos_;
}
inline ::proto::ivec3* remove_block::mutable_block_pos() {
::proto::ivec3* _msg = _internal_mutable_block_pos();
@@ -5271,11 +7242,11 @@ inline ::proto::ivec3* remove_block::mutable_block_pos() {
inline void remove_block::set_allocated_block_pos(::proto::ivec3* block_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
- delete block_pos_;
+ delete _impl_.block_pos_;
}
if (block_pos) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::proto::ivec3>::GetOwningArena(block_pos);
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(block_pos);
if (message_arena != submessage_arena) {
block_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, block_pos, submessage_arena);
@@ -5284,7 +7255,7 @@ inline void remove_block::set_allocated_block_pos(::proto::ivec3* block_pos) {
} else {
}
- block_pos_ = block_pos;
+ _impl_.block_pos_ = block_pos;
// @@protoc_insertion_point(field_set_allocated:proto.remove_block.block_pos)
}
@@ -5294,7 +7265,7 @@ inline void remove_block::set_allocated_block_pos(::proto::ivec3* block_pos) {
// string message = 1;
inline void server_message::clear_message() {
- message_.ClearToEmpty();
+ _impl_.message_.ClearToEmpty();
}
inline const std::string& server_message::message() const {
// @@protoc_insertion_point(field_get:proto.server_message.message)
@@ -5304,7 +7275,7 @@ template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void server_message::set_message(ArgT0&& arg0, ArgT... args) {
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
+ _impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:proto.server_message.message)
}
inline std::string* server_message::mutable_message() {
@@ -5313,19 +7284,19 @@ inline std::string* server_message::mutable_message() {
return _s;
}
inline const std::string& server_message::_internal_message() const {
- return message_.Get();
+ return _impl_.message_.Get();
}
inline void server_message::_internal_set_message(const std::string& value) {
- message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
+ _impl_.message_.Set(value, GetArenaForAllocation());
}
inline std::string* server_message::_internal_mutable_message() {
- return message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
+ return _impl_.message_.Mutable(GetArenaForAllocation());
}
inline std::string* server_message::release_message() {
// @@protoc_insertion_point(field_release:proto.server_message.message)
- return message_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
+ return _impl_.message_.Release();
}
inline void server_message::set_allocated_message(std::string* message) {
if (message != nullptr) {
@@ -5333,11 +7304,10 @@ inline void server_message::set_allocated_message(std::string* message) {
} else {
}
- message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message,
- GetArenaForAllocation());
+ _impl_.message_.SetAllocated(message, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (message_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- message_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
+ if (_impl_.message_.IsDefault()) {
+ _impl_.message_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:proto.server_message.message)
@@ -5345,10 +7315,10 @@ inline void server_message::set_allocated_message(std::string* message) {
// bool fatal = 2;
inline void server_message::clear_fatal() {
- fatal_ = false;
+ _impl_.fatal_ = false;
}
inline bool server_message::_internal_fatal() const {
- return fatal_;
+ return _impl_.fatal_;
}
inline bool server_message::fatal() const {
// @@protoc_insertion_point(field_get:proto.server_message.fatal)
@@ -5356,7 +7326,7 @@ inline bool server_message::fatal() const {
}
inline void server_message::_internal_set_fatal(bool value) {
- fatal_ = value;
+ _impl_.fatal_ = value;
}
inline void server_message::set_fatal(bool value) {
_internal_set_fatal(value);
@@ -5365,6 +7335,260 @@ inline void server_message::set_fatal(bool value) {
// -------------------------------------------------------------------
+// item_swap
+
+// uint32 index_a = 1;
+inline void item_swap::clear_index_a() {
+ _impl_.index_a_ = 0u;
+}
+inline uint32_t item_swap::_internal_index_a() const {
+ return _impl_.index_a_;
+}
+inline uint32_t item_swap::index_a() const {
+ // @@protoc_insertion_point(field_get:proto.item_swap.index_a)
+ return _internal_index_a();
+}
+inline void item_swap::_internal_set_index_a(uint32_t value) {
+
+ _impl_.index_a_ = value;
+}
+inline void item_swap::set_index_a(uint32_t value) {
+ _internal_set_index_a(value);
+ // @@protoc_insertion_point(field_set:proto.item_swap.index_a)
+}
+
+// uint32 index_b = 2;
+inline void item_swap::clear_index_b() {
+ _impl_.index_b_ = 0u;
+}
+inline uint32_t item_swap::_internal_index_b() const {
+ return _impl_.index_b_;
+}
+inline uint32_t item_swap::index_b() const {
+ // @@protoc_insertion_point(field_get:proto.item_swap.index_b)
+ return _internal_index_b();
+}
+inline void item_swap::_internal_set_index_b(uint32_t value) {
+
+ _impl_.index_b_ = value;
+}
+inline void item_swap::set_index_b(uint32_t value) {
+ _internal_set_index_b(value);
+ // @@protoc_insertion_point(field_set:proto.item_swap.index_b)
+}
+
+// -------------------------------------------------------------------
+
+// item_use
+
+// uint32 index = 1;
+inline void item_use::clear_index() {
+ _impl_.index_ = 0u;
+}
+inline uint32_t item_use::_internal_index() const {
+ return _impl_.index_;
+}
+inline uint32_t item_use::index() const {
+ // @@protoc_insertion_point(field_get:proto.item_use.index)
+ return _internal_index();
+}
+inline void item_use::_internal_set_index(uint32_t value) {
+
+ _impl_.index_ = value;
+}
+inline void item_use::set_index(uint32_t value) {
+ _internal_set_index(value);
+ // @@protoc_insertion_point(field_set:proto.item_use.index)
+}
+
+// -------------------------------------------------------------------
+
+// item_update
+
+// repeated .proto.item items = 1;
+inline int item_update::_internal_items_size() const {
+ return _impl_.items_.size();
+}
+inline int item_update::items_size() const {
+ return _internal_items_size();
+}
+inline void item_update::clear_items() {
+ _impl_.items_.Clear();
+}
+inline ::proto::item* item_update::mutable_items(int index) {
+ // @@protoc_insertion_point(field_mutable:proto.item_update.items)
+ return _impl_.items_.Mutable(index);
+}
+inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >*
+item_update::mutable_items() {
+ // @@protoc_insertion_point(field_mutable_list:proto.item_update.items)
+ return &_impl_.items_;
+}
+inline const ::proto::item& item_update::_internal_items(int index) const {
+ return _impl_.items_.Get(index);
+}
+inline const ::proto::item& item_update::items(int index) const {
+ // @@protoc_insertion_point(field_get:proto.item_update.items)
+ return _internal_items(index);
+}
+inline ::proto::item* item_update::_internal_add_items() {
+ return _impl_.items_.Add();
+}
+inline ::proto::item* item_update::add_items() {
+ ::proto::item* _add = _internal_add_items();
+ // @@protoc_insertion_point(field_add:proto.item_update.items)
+ return _add;
+}
+inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proto::item >&
+item_update::items() const {
+ // @@protoc_insertion_point(field_list:proto.item_update.items)
+ return _impl_.items_;
+}
+
+// -------------------------------------------------------------------
+
+// animate_update
+
+// .proto.animate animate = 1;
+inline bool animate_update::_internal_has_animate() const {
+ return this != internal_default_instance() && _impl_.animate_ != nullptr;
+}
+inline bool animate_update::has_animate() const {
+ return _internal_has_animate();
+}
+inline void animate_update::clear_animate() {
+ if (GetArenaForAllocation() == nullptr && _impl_.animate_ != nullptr) {
+ delete _impl_.animate_;
+ }
+ _impl_.animate_ = nullptr;
+}
+inline const ::proto::animate& animate_update::_internal_animate() const {
+ const ::proto::animate* p = _impl_.animate_;
+ return p != nullptr ? *p : reinterpret_cast<const ::proto::animate&>(
+ ::proto::_animate_default_instance_);
+}
+inline const ::proto::animate& animate_update::animate() const {
+ // @@protoc_insertion_point(field_get:proto.animate_update.animate)
+ return _internal_animate();
+}
+inline void animate_update::unsafe_arena_set_allocated_animate(
+ ::proto::animate* animate) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.animate_);
+ }
+ _impl_.animate_ = animate;
+ if (animate) {
+
+ } else {
+
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.animate_update.animate)
+}
+inline ::proto::animate* animate_update::release_animate() {
+
+ ::proto::animate* temp = _impl_.animate_;
+ _impl_.animate_ = nullptr;
+#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
+ auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ if (GetArenaForAllocation() == nullptr) { delete old; }
+#else // PROTOBUF_FORCE_COPY_IN_RELEASE
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
+ return temp;
+}
+inline ::proto::animate* animate_update::unsafe_arena_release_animate() {
+ // @@protoc_insertion_point(field_release:proto.animate_update.animate)
+
+ ::proto::animate* temp = _impl_.animate_;
+ _impl_.animate_ = nullptr;
+ return temp;
+}
+inline ::proto::animate* animate_update::_internal_mutable_animate() {
+
+ if (_impl_.animate_ == nullptr) {
+ auto* p = CreateMaybeMessage<::proto::animate>(GetArenaForAllocation());
+ _impl_.animate_ = p;
+ }
+ return _impl_.animate_;
+}
+inline ::proto::animate* animate_update::mutable_animate() {
+ ::proto::animate* _msg = _internal_mutable_animate();
+ // @@protoc_insertion_point(field_mutable:proto.animate_update.animate)
+ return _msg;
+}
+inline void animate_update::set_allocated_animate(::proto::animate* animate) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
+ if (message_arena == nullptr) {
+ delete _impl_.animate_;
+ }
+ if (animate) {
+ ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
+ ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(animate);
+ if (message_arena != submessage_arena) {
+ animate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
+ message_arena, animate, submessage_arena);
+ }
+
+ } else {
+
+ }
+ _impl_.animate_ = animate;
+ // @@protoc_insertion_point(field_set_allocated:proto.animate_update.animate)
+}
+
+// uint32 tick = 2;
+inline void animate_update::clear_tick() {
+ _impl_.tick_ = 0u;
+}
+inline uint32_t animate_update::_internal_tick() const {
+ return _impl_.tick_;
+}
+inline uint32_t animate_update::tick() const {
+ // @@protoc_insertion_point(field_get:proto.animate_update.tick)
+ return _internal_tick();
+}
+inline void animate_update::_internal_set_tick(uint32_t value) {
+
+ _impl_.tick_ = value;
+}
+inline void animate_update::set_tick(uint32_t value) {
+ _internal_set_tick(value);
+ // @@protoc_insertion_point(field_set:proto.animate_update.tick)
+}
+
+// optional uint32 sequence = 3;
+inline bool animate_update::_internal_has_sequence() const {
+ bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
+ return value;
+}
+inline bool animate_update::has_sequence() const {
+ return _internal_has_sequence();
+}
+inline void animate_update::clear_sequence() {
+ _impl_.sequence_ = 0u;
+ _impl_._has_bits_[0] &= ~0x00000001u;
+}
+inline uint32_t animate_update::_internal_sequence() const {
+ return _impl_.sequence_;
+}
+inline uint32_t animate_update::sequence() const {
+ // @@protoc_insertion_point(field_get:proto.animate_update.sequence)
+ return _internal_sequence();
+}
+inline void animate_update::_internal_set_sequence(uint32_t value) {
+ _impl_._has_bits_[0] |= 0x00000001u;
+ _impl_.sequence_ = value;
+}
+inline void animate_update::set_sequence(uint32_t value) {
+ _internal_set_sequence(value);
+ // @@protoc_insertion_point(field_set:proto.animate_update.sequence)
+}
+
+// -------------------------------------------------------------------
+
// packet
// .proto.auth auth_packet = 1;
@@ -5375,12 +7599,12 @@ inline bool packet::has_auth_packet() const {
return _internal_has_auth_packet();
}
inline void packet::set_has_auth_packet() {
- _oneof_case_[0] = kAuthPacket;
+ _impl_._oneof_case_[0] = kAuthPacket;
}
inline void packet::clear_auth_packet() {
if (_internal_has_auth_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.auth_packet_;
+ delete _impl_.contents_.auth_packet_;
}
clear_has_contents();
}
@@ -5389,11 +7613,11 @@ inline ::proto::auth* packet::release_auth_packet() {
// @@protoc_insertion_point(field_release:proto.packet.auth_packet)
if (_internal_has_auth_packet()) {
clear_has_contents();
- ::proto::auth* temp = contents_.auth_packet_;
+ ::proto::auth* temp = _impl_.contents_.auth_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.auth_packet_ = nullptr;
+ _impl_.contents_.auth_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5401,7 +7625,7 @@ inline ::proto::auth* packet::release_auth_packet() {
}
inline const ::proto::auth& packet::_internal_auth_packet() const {
return _internal_has_auth_packet()
- ? *contents_.auth_packet_
+ ? *_impl_.contents_.auth_packet_
: reinterpret_cast< ::proto::auth&>(::proto::_auth_default_instance_);
}
inline const ::proto::auth& packet::auth_packet() const {
@@ -5412,8 +7636,8 @@ inline ::proto::auth* packet::unsafe_arena_release_auth_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.auth_packet)
if (_internal_has_auth_packet()) {
clear_has_contents();
- ::proto::auth* temp = contents_.auth_packet_;
- contents_.auth_packet_ = nullptr;
+ ::proto::auth* temp = _impl_.contents_.auth_packet_;
+ _impl_.contents_.auth_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5423,7 +7647,7 @@ inline void packet::unsafe_arena_set_allocated_auth_packet(::proto::auth* auth_p
clear_contents();
if (auth_packet) {
set_has_auth_packet();
- contents_.auth_packet_ = auth_packet;
+ _impl_.contents_.auth_packet_ = auth_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.auth_packet)
}
@@ -5431,9 +7655,9 @@ inline ::proto::auth* packet::_internal_mutable_auth_packet() {
if (!_internal_has_auth_packet()) {
clear_contents();
set_has_auth_packet();
- contents_.auth_packet_ = CreateMaybeMessage< ::proto::auth >(GetArenaForAllocation());
+ _impl_.contents_.auth_packet_ = CreateMaybeMessage< ::proto::auth >(GetArenaForAllocation());
}
- return contents_.auth_packet_;
+ return _impl_.contents_.auth_packet_;
}
inline ::proto::auth* packet::mutable_auth_packet() {
::proto::auth* _msg = _internal_mutable_auth_packet();
@@ -5449,12 +7673,12 @@ inline bool packet::has_init_packet() const {
return _internal_has_init_packet();
}
inline void packet::set_has_init_packet() {
- _oneof_case_[0] = kInitPacket;
+ _impl_._oneof_case_[0] = kInitPacket;
}
inline void packet::clear_init_packet() {
if (_internal_has_init_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.init_packet_;
+ delete _impl_.contents_.init_packet_;
}
clear_has_contents();
}
@@ -5463,11 +7687,11 @@ inline ::proto::init* packet::release_init_packet() {
// @@protoc_insertion_point(field_release:proto.packet.init_packet)
if (_internal_has_init_packet()) {
clear_has_contents();
- ::proto::init* temp = contents_.init_packet_;
+ ::proto::init* temp = _impl_.contents_.init_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.init_packet_ = nullptr;
+ _impl_.contents_.init_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5475,7 +7699,7 @@ inline ::proto::init* packet::release_init_packet() {
}
inline const ::proto::init& packet::_internal_init_packet() const {
return _internal_has_init_packet()
- ? *contents_.init_packet_
+ ? *_impl_.contents_.init_packet_
: reinterpret_cast< ::proto::init&>(::proto::_init_default_instance_);
}
inline const ::proto::init& packet::init_packet() const {
@@ -5486,8 +7710,8 @@ inline ::proto::init* packet::unsafe_arena_release_init_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.init_packet)
if (_internal_has_init_packet()) {
clear_has_contents();
- ::proto::init* temp = contents_.init_packet_;
- contents_.init_packet_ = nullptr;
+ ::proto::init* temp = _impl_.contents_.init_packet_;
+ _impl_.contents_.init_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5497,7 +7721,7 @@ inline void packet::unsafe_arena_set_allocated_init_packet(::proto::init* init_p
clear_contents();
if (init_packet) {
set_has_init_packet();
- contents_.init_packet_ = init_packet;
+ _impl_.contents_.init_packet_ = init_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.init_packet)
}
@@ -5505,9 +7729,9 @@ inline ::proto::init* packet::_internal_mutable_init_packet() {
if (!_internal_has_init_packet()) {
clear_contents();
set_has_init_packet();
- contents_.init_packet_ = CreateMaybeMessage< ::proto::init >(GetArenaForAllocation());
+ _impl_.contents_.init_packet_ = CreateMaybeMessage< ::proto::init >(GetArenaForAllocation());
}
- return contents_.init_packet_;
+ return _impl_.contents_.init_packet_;
}
inline ::proto::init* packet::mutable_init_packet() {
::proto::init* _msg = _internal_mutable_init_packet();
@@ -5523,12 +7747,12 @@ inline bool packet::has_move_packet() const {
return _internal_has_move_packet();
}
inline void packet::set_has_move_packet() {
- _oneof_case_[0] = kMovePacket;
+ _impl_._oneof_case_[0] = kMovePacket;
}
inline void packet::clear_move_packet() {
if (_internal_has_move_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.move_packet_;
+ delete _impl_.contents_.move_packet_;
}
clear_has_contents();
}
@@ -5537,11 +7761,11 @@ inline ::proto::move* packet::release_move_packet() {
// @@protoc_insertion_point(field_release:proto.packet.move_packet)
if (_internal_has_move_packet()) {
clear_has_contents();
- ::proto::move* temp = contents_.move_packet_;
+ ::proto::move* temp = _impl_.contents_.move_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.move_packet_ = nullptr;
+ _impl_.contents_.move_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5549,7 +7773,7 @@ inline ::proto::move* packet::release_move_packet() {
}
inline const ::proto::move& packet::_internal_move_packet() const {
return _internal_has_move_packet()
- ? *contents_.move_packet_
+ ? *_impl_.contents_.move_packet_
: reinterpret_cast< ::proto::move&>(::proto::_move_default_instance_);
}
inline const ::proto::move& packet::move_packet() const {
@@ -5560,8 +7784,8 @@ inline ::proto::move* packet::unsafe_arena_release_move_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.move_packet)
if (_internal_has_move_packet()) {
clear_has_contents();
- ::proto::move* temp = contents_.move_packet_;
- contents_.move_packet_ = nullptr;
+ ::proto::move* temp = _impl_.contents_.move_packet_;
+ _impl_.contents_.move_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5571,7 +7795,7 @@ inline void packet::unsafe_arena_set_allocated_move_packet(::proto::move* move_p
clear_contents();
if (move_packet) {
set_has_move_packet();
- contents_.move_packet_ = move_packet;
+ _impl_.contents_.move_packet_ = move_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.move_packet)
}
@@ -5579,9 +7803,9 @@ inline ::proto::move* packet::_internal_mutable_move_packet() {
if (!_internal_has_move_packet()) {
clear_contents();
set_has_move_packet();
- contents_.move_packet_ = CreateMaybeMessage< ::proto::move >(GetArenaForAllocation());
+ _impl_.contents_.move_packet_ = CreateMaybeMessage< ::proto::move >(GetArenaForAllocation());
}
- return contents_.move_packet_;
+ return _impl_.contents_.move_packet_;
}
inline ::proto::move* packet::mutable_move_packet() {
::proto::move* _msg = _internal_mutable_move_packet();
@@ -5589,151 +7813,151 @@ inline ::proto::move* packet::mutable_move_packet() {
return _msg;
}
-// .proto.player player_packet = 4;
-inline bool packet::_internal_has_player_packet() const {
- return contents_case() == kPlayerPacket;
+// .proto.animate_update animate_update_packet = 4;
+inline bool packet::_internal_has_animate_update_packet() const {
+ return contents_case() == kAnimateUpdatePacket;
}
-inline bool packet::has_player_packet() const {
- return _internal_has_player_packet();
+inline bool packet::has_animate_update_packet() const {
+ return _internal_has_animate_update_packet();
}
-inline void packet::set_has_player_packet() {
- _oneof_case_[0] = kPlayerPacket;
+inline void packet::set_has_animate_update_packet() {
+ _impl_._oneof_case_[0] = kAnimateUpdatePacket;
}
-inline void packet::clear_player_packet() {
- if (_internal_has_player_packet()) {
+inline void packet::clear_animate_update_packet() {
+ if (_internal_has_animate_update_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.player_packet_;
+ delete _impl_.contents_.animate_update_packet_;
}
clear_has_contents();
}
}
-inline ::proto::player* packet::release_player_packet() {
- // @@protoc_insertion_point(field_release:proto.packet.player_packet)
- if (_internal_has_player_packet()) {
+inline ::proto::animate_update* packet::release_animate_update_packet() {
+ // @@protoc_insertion_point(field_release:proto.packet.animate_update_packet)
+ if (_internal_has_animate_update_packet()) {
clear_has_contents();
- ::proto::player* temp = contents_.player_packet_;
+ ::proto::animate_update* temp = _impl_.contents_.animate_update_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.player_packet_ = nullptr;
+ _impl_.contents_.animate_update_packet_ = nullptr;
return temp;
} else {
return nullptr;
}
}
-inline const ::proto::player& packet::_internal_player_packet() const {
- return _internal_has_player_packet()
- ? *contents_.player_packet_
- : reinterpret_cast< ::proto::player&>(::proto::_player_default_instance_);
+inline const ::proto::animate_update& packet::_internal_animate_update_packet() const {
+ return _internal_has_animate_update_packet()
+ ? *_impl_.contents_.animate_update_packet_
+ : reinterpret_cast< ::proto::animate_update&>(::proto::_animate_update_default_instance_);
}
-inline const ::proto::player& packet::player_packet() const {
- // @@protoc_insertion_point(field_get:proto.packet.player_packet)
- return _internal_player_packet();
+inline const ::proto::animate_update& packet::animate_update_packet() const {
+ // @@protoc_insertion_point(field_get:proto.packet.animate_update_packet)
+ return _internal_animate_update_packet();
}
-inline ::proto::player* packet::unsafe_arena_release_player_packet() {
- // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.player_packet)
- if (_internal_has_player_packet()) {
+inline ::proto::animate_update* packet::unsafe_arena_release_animate_update_packet() {
+ // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.animate_update_packet)
+ if (_internal_has_animate_update_packet()) {
clear_has_contents();
- ::proto::player* temp = contents_.player_packet_;
- contents_.player_packet_ = nullptr;
+ ::proto::animate_update* temp = _impl_.contents_.animate_update_packet_;
+ _impl_.contents_.animate_update_packet_ = nullptr;
return temp;
} else {
return nullptr;
}
}
-inline void packet::unsafe_arena_set_allocated_player_packet(::proto::player* player_packet) {
+inline void packet::unsafe_arena_set_allocated_animate_update_packet(::proto::animate_update* animate_update_packet) {
clear_contents();
- if (player_packet) {
- set_has_player_packet();
- contents_.player_packet_ = player_packet;
+ if (animate_update_packet) {
+ set_has_animate_update_packet();
+ _impl_.contents_.animate_update_packet_ = animate_update_packet;
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.player_packet)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.animate_update_packet)
}
-inline ::proto::player* packet::_internal_mutable_player_packet() {
- if (!_internal_has_player_packet()) {
+inline ::proto::animate_update* packet::_internal_mutable_animate_update_packet() {
+ if (!_internal_has_animate_update_packet()) {
clear_contents();
- set_has_player_packet();
- contents_.player_packet_ = CreateMaybeMessage< ::proto::player >(GetArenaForAllocation());
+ set_has_animate_update_packet();
+ _impl_.contents_.animate_update_packet_ = CreateMaybeMessage< ::proto::animate_update >(GetArenaForAllocation());
}
- return contents_.player_packet_;
+ return _impl_.contents_.animate_update_packet_;
}
-inline ::proto::player* packet::mutable_player_packet() {
- ::proto::player* _msg = _internal_mutable_player_packet();
- // @@protoc_insertion_point(field_mutable:proto.packet.player_packet)
+inline ::proto::animate_update* packet::mutable_animate_update_packet() {
+ ::proto::animate_update* _msg = _internal_mutable_animate_update_packet();
+ // @@protoc_insertion_point(field_mutable:proto.packet.animate_update_packet)
return _msg;
}
-// .proto.remove_player remove_player_packet = 5;
-inline bool packet::_internal_has_remove_player_packet() const {
- return contents_case() == kRemovePlayerPacket;
+// .proto.remove_entity remove_entity_packet = 5;
+inline bool packet::_internal_has_remove_entity_packet() const {
+ return contents_case() == kRemoveEntityPacket;
}
-inline bool packet::has_remove_player_packet() const {
- return _internal_has_remove_player_packet();
+inline bool packet::has_remove_entity_packet() const {
+ return _internal_has_remove_entity_packet();
}
-inline void packet::set_has_remove_player_packet() {
- _oneof_case_[0] = kRemovePlayerPacket;
+inline void packet::set_has_remove_entity_packet() {
+ _impl_._oneof_case_[0] = kRemoveEntityPacket;
}
-inline void packet::clear_remove_player_packet() {
- if (_internal_has_remove_player_packet()) {
+inline void packet::clear_remove_entity_packet() {
+ if (_internal_has_remove_entity_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.remove_player_packet_;
+ delete _impl_.contents_.remove_entity_packet_;
}
clear_has_contents();
}
}
-inline ::proto::remove_player* packet::release_remove_player_packet() {
- // @@protoc_insertion_point(field_release:proto.packet.remove_player_packet)
- if (_internal_has_remove_player_packet()) {
+inline ::proto::remove_entity* packet::release_remove_entity_packet() {
+ // @@protoc_insertion_point(field_release:proto.packet.remove_entity_packet)
+ if (_internal_has_remove_entity_packet()) {
clear_has_contents();
- ::proto::remove_player* temp = contents_.remove_player_packet_;
+ ::proto::remove_entity* temp = _impl_.contents_.remove_entity_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.remove_player_packet_ = nullptr;
+ _impl_.contents_.remove_entity_packet_ = nullptr;
return temp;
} else {
return nullptr;
}
}
-inline const ::proto::remove_player& packet::_internal_remove_player_packet() const {
- return _internal_has_remove_player_packet()
- ? *contents_.remove_player_packet_
- : reinterpret_cast< ::proto::remove_player&>(::proto::_remove_player_default_instance_);
+inline const ::proto::remove_entity& packet::_internal_remove_entity_packet() const {
+ return _internal_has_remove_entity_packet()
+ ? *_impl_.contents_.remove_entity_packet_
+ : reinterpret_cast< ::proto::remove_entity&>(::proto::_remove_entity_default_instance_);
}
-inline const ::proto::remove_player& packet::remove_player_packet() const {
- // @@protoc_insertion_point(field_get:proto.packet.remove_player_packet)
- return _internal_remove_player_packet();
+inline const ::proto::remove_entity& packet::remove_entity_packet() const {
+ // @@protoc_insertion_point(field_get:proto.packet.remove_entity_packet)
+ return _internal_remove_entity_packet();
}
-inline ::proto::remove_player* packet::unsafe_arena_release_remove_player_packet() {
- // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.remove_player_packet)
- if (_internal_has_remove_player_packet()) {
+inline ::proto::remove_entity* packet::unsafe_arena_release_remove_entity_packet() {
+ // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.remove_entity_packet)
+ if (_internal_has_remove_entity_packet()) {
clear_has_contents();
- ::proto::remove_player* temp = contents_.remove_player_packet_;
- contents_.remove_player_packet_ = nullptr;
+ ::proto::remove_entity* temp = _impl_.contents_.remove_entity_packet_;
+ _impl_.contents_.remove_entity_packet_ = nullptr;
return temp;
} else {
return nullptr;
}
}
-inline void packet::unsafe_arena_set_allocated_remove_player_packet(::proto::remove_player* remove_player_packet) {
+inline void packet::unsafe_arena_set_allocated_remove_entity_packet(::proto::remove_entity* remove_entity_packet) {
clear_contents();
- if (remove_player_packet) {
- set_has_remove_player_packet();
- contents_.remove_player_packet_ = remove_player_packet;
+ if (remove_entity_packet) {
+ set_has_remove_entity_packet();
+ _impl_.contents_.remove_entity_packet_ = remove_entity_packet;
}
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.remove_player_packet)
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.remove_entity_packet)
}
-inline ::proto::remove_player* packet::_internal_mutable_remove_player_packet() {
- if (!_internal_has_remove_player_packet()) {
+inline ::proto::remove_entity* packet::_internal_mutable_remove_entity_packet() {
+ if (!_internal_has_remove_entity_packet()) {
clear_contents();
- set_has_remove_player_packet();
- contents_.remove_player_packet_ = CreateMaybeMessage< ::proto::remove_player >(GetArenaForAllocation());
+ set_has_remove_entity_packet();
+ _impl_.contents_.remove_entity_packet_ = CreateMaybeMessage< ::proto::remove_entity >(GetArenaForAllocation());
}
- return contents_.remove_player_packet_;
+ return _impl_.contents_.remove_entity_packet_;
}
-inline ::proto::remove_player* packet::mutable_remove_player_packet() {
- ::proto::remove_player* _msg = _internal_mutable_remove_player_packet();
- // @@protoc_insertion_point(field_mutable:proto.packet.remove_player_packet)
+inline ::proto::remove_entity* packet::mutable_remove_entity_packet() {
+ ::proto::remove_entity* _msg = _internal_mutable_remove_entity_packet();
+ // @@protoc_insertion_point(field_mutable:proto.packet.remove_entity_packet)
return _msg;
}
@@ -5745,12 +7969,12 @@ inline bool packet::has_say_packet() const {
return _internal_has_say_packet();
}
inline void packet::set_has_say_packet() {
- _oneof_case_[0] = kSayPacket;
+ _impl_._oneof_case_[0] = kSayPacket;
}
inline void packet::clear_say_packet() {
if (_internal_has_say_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.say_packet_;
+ delete _impl_.contents_.say_packet_;
}
clear_has_contents();
}
@@ -5759,11 +7983,11 @@ inline ::proto::say* packet::release_say_packet() {
// @@protoc_insertion_point(field_release:proto.packet.say_packet)
if (_internal_has_say_packet()) {
clear_has_contents();
- ::proto::say* temp = contents_.say_packet_;
+ ::proto::say* temp = _impl_.contents_.say_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.say_packet_ = nullptr;
+ _impl_.contents_.say_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5771,7 +7995,7 @@ inline ::proto::say* packet::release_say_packet() {
}
inline const ::proto::say& packet::_internal_say_packet() const {
return _internal_has_say_packet()
- ? *contents_.say_packet_
+ ? *_impl_.contents_.say_packet_
: reinterpret_cast< ::proto::say&>(::proto::_say_default_instance_);
}
inline const ::proto::say& packet::say_packet() const {
@@ -5782,8 +8006,8 @@ inline ::proto::say* packet::unsafe_arena_release_say_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.say_packet)
if (_internal_has_say_packet()) {
clear_has_contents();
- ::proto::say* temp = contents_.say_packet_;
- contents_.say_packet_ = nullptr;
+ ::proto::say* temp = _impl_.contents_.say_packet_;
+ _impl_.contents_.say_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5793,7 +8017,7 @@ inline void packet::unsafe_arena_set_allocated_say_packet(::proto::say* say_pack
clear_contents();
if (say_packet) {
set_has_say_packet();
- contents_.say_packet_ = say_packet;
+ _impl_.contents_.say_packet_ = say_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.say_packet)
}
@@ -5801,9 +8025,9 @@ inline ::proto::say* packet::_internal_mutable_say_packet() {
if (!_internal_has_say_packet()) {
clear_contents();
set_has_say_packet();
- contents_.say_packet_ = CreateMaybeMessage< ::proto::say >(GetArenaForAllocation());
+ _impl_.contents_.say_packet_ = CreateMaybeMessage< ::proto::say >(GetArenaForAllocation());
}
- return contents_.say_packet_;
+ return _impl_.contents_.say_packet_;
}
inline ::proto::say* packet::mutable_say_packet() {
::proto::say* _msg = _internal_mutable_say_packet();
@@ -5819,12 +8043,12 @@ inline bool packet::has_hear_player_packet() const {
return _internal_has_hear_player_packet();
}
inline void packet::set_has_hear_player_packet() {
- _oneof_case_[0] = kHearPlayerPacket;
+ _impl_._oneof_case_[0] = kHearPlayerPacket;
}
inline void packet::clear_hear_player_packet() {
if (_internal_has_hear_player_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.hear_player_packet_;
+ delete _impl_.contents_.hear_player_packet_;
}
clear_has_contents();
}
@@ -5833,11 +8057,11 @@ inline ::proto::hear_player* packet::release_hear_player_packet() {
// @@protoc_insertion_point(field_release:proto.packet.hear_player_packet)
if (_internal_has_hear_player_packet()) {
clear_has_contents();
- ::proto::hear_player* temp = contents_.hear_player_packet_;
+ ::proto::hear_player* temp = _impl_.contents_.hear_player_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.hear_player_packet_ = nullptr;
+ _impl_.contents_.hear_player_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5845,7 +8069,7 @@ inline ::proto::hear_player* packet::release_hear_player_packet() {
}
inline const ::proto::hear_player& packet::_internal_hear_player_packet() const {
return _internal_has_hear_player_packet()
- ? *contents_.hear_player_packet_
+ ? *_impl_.contents_.hear_player_packet_
: reinterpret_cast< ::proto::hear_player&>(::proto::_hear_player_default_instance_);
}
inline const ::proto::hear_player& packet::hear_player_packet() const {
@@ -5856,8 +8080,8 @@ inline ::proto::hear_player* packet::unsafe_arena_release_hear_player_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.hear_player_packet)
if (_internal_has_hear_player_packet()) {
clear_has_contents();
- ::proto::hear_player* temp = contents_.hear_player_packet_;
- contents_.hear_player_packet_ = nullptr;
+ ::proto::hear_player* temp = _impl_.contents_.hear_player_packet_;
+ _impl_.contents_.hear_player_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5867,7 +8091,7 @@ inline void packet::unsafe_arena_set_allocated_hear_player_packet(::proto::hear_
clear_contents();
if (hear_player_packet) {
set_has_hear_player_packet();
- contents_.hear_player_packet_ = hear_player_packet;
+ _impl_.contents_.hear_player_packet_ = hear_player_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.hear_player_packet)
}
@@ -5875,9 +8099,9 @@ inline ::proto::hear_player* packet::_internal_mutable_hear_player_packet() {
if (!_internal_has_hear_player_packet()) {
clear_contents();
set_has_hear_player_packet();
- contents_.hear_player_packet_ = CreateMaybeMessage< ::proto::hear_player >(GetArenaForAllocation());
+ _impl_.contents_.hear_player_packet_ = CreateMaybeMessage< ::proto::hear_player >(GetArenaForAllocation());
}
- return contents_.hear_player_packet_;
+ return _impl_.contents_.hear_player_packet_;
}
inline ::proto::hear_player* packet::mutable_hear_player_packet() {
::proto::hear_player* _msg = _internal_mutable_hear_player_packet();
@@ -5893,12 +8117,12 @@ inline bool packet::has_request_chunk_packet() const {
return _internal_has_request_chunk_packet();
}
inline void packet::set_has_request_chunk_packet() {
- _oneof_case_[0] = kRequestChunkPacket;
+ _impl_._oneof_case_[0] = kRequestChunkPacket;
}
inline void packet::clear_request_chunk_packet() {
if (_internal_has_request_chunk_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.request_chunk_packet_;
+ delete _impl_.contents_.request_chunk_packet_;
}
clear_has_contents();
}
@@ -5907,11 +8131,11 @@ inline ::proto::request_chunk* packet::release_request_chunk_packet() {
// @@protoc_insertion_point(field_release:proto.packet.request_chunk_packet)
if (_internal_has_request_chunk_packet()) {
clear_has_contents();
- ::proto::request_chunk* temp = contents_.request_chunk_packet_;
+ ::proto::request_chunk* temp = _impl_.contents_.request_chunk_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.request_chunk_packet_ = nullptr;
+ _impl_.contents_.request_chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5919,7 +8143,7 @@ inline ::proto::request_chunk* packet::release_request_chunk_packet() {
}
inline const ::proto::request_chunk& packet::_internal_request_chunk_packet() const {
return _internal_has_request_chunk_packet()
- ? *contents_.request_chunk_packet_
+ ? *_impl_.contents_.request_chunk_packet_
: reinterpret_cast< ::proto::request_chunk&>(::proto::_request_chunk_default_instance_);
}
inline const ::proto::request_chunk& packet::request_chunk_packet() const {
@@ -5930,8 +8154,8 @@ inline ::proto::request_chunk* packet::unsafe_arena_release_request_chunk_packet
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.request_chunk_packet)
if (_internal_has_request_chunk_packet()) {
clear_has_contents();
- ::proto::request_chunk* temp = contents_.request_chunk_packet_;
- contents_.request_chunk_packet_ = nullptr;
+ ::proto::request_chunk* temp = _impl_.contents_.request_chunk_packet_;
+ _impl_.contents_.request_chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5941,7 +8165,7 @@ inline void packet::unsafe_arena_set_allocated_request_chunk_packet(::proto::req
clear_contents();
if (request_chunk_packet) {
set_has_request_chunk_packet();
- contents_.request_chunk_packet_ = request_chunk_packet;
+ _impl_.contents_.request_chunk_packet_ = request_chunk_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.request_chunk_packet)
}
@@ -5949,9 +8173,9 @@ inline ::proto::request_chunk* packet::_internal_mutable_request_chunk_packet()
if (!_internal_has_request_chunk_packet()) {
clear_contents();
set_has_request_chunk_packet();
- contents_.request_chunk_packet_ = CreateMaybeMessage< ::proto::request_chunk >(GetArenaForAllocation());
+ _impl_.contents_.request_chunk_packet_ = CreateMaybeMessage< ::proto::request_chunk >(GetArenaForAllocation());
}
- return contents_.request_chunk_packet_;
+ return _impl_.contents_.request_chunk_packet_;
}
inline ::proto::request_chunk* packet::mutable_request_chunk_packet() {
::proto::request_chunk* _msg = _internal_mutable_request_chunk_packet();
@@ -5967,12 +8191,12 @@ inline bool packet::has_chunk_packet() const {
return _internal_has_chunk_packet();
}
inline void packet::set_has_chunk_packet() {
- _oneof_case_[0] = kChunkPacket;
+ _impl_._oneof_case_[0] = kChunkPacket;
}
inline void packet::clear_chunk_packet() {
if (_internal_has_chunk_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.chunk_packet_;
+ delete _impl_.contents_.chunk_packet_;
}
clear_has_contents();
}
@@ -5981,11 +8205,11 @@ inline ::proto::chunk* packet::release_chunk_packet() {
// @@protoc_insertion_point(field_release:proto.packet.chunk_packet)
if (_internal_has_chunk_packet()) {
clear_has_contents();
- ::proto::chunk* temp = contents_.chunk_packet_;
+ ::proto::chunk* temp = _impl_.contents_.chunk_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.chunk_packet_ = nullptr;
+ _impl_.contents_.chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -5993,7 +8217,7 @@ inline ::proto::chunk* packet::release_chunk_packet() {
}
inline const ::proto::chunk& packet::_internal_chunk_packet() const {
return _internal_has_chunk_packet()
- ? *contents_.chunk_packet_
+ ? *_impl_.contents_.chunk_packet_
: reinterpret_cast< ::proto::chunk&>(::proto::_chunk_default_instance_);
}
inline const ::proto::chunk& packet::chunk_packet() const {
@@ -6004,8 +8228,8 @@ inline ::proto::chunk* packet::unsafe_arena_release_chunk_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.chunk_packet)
if (_internal_has_chunk_packet()) {
clear_has_contents();
- ::proto::chunk* temp = contents_.chunk_packet_;
- contents_.chunk_packet_ = nullptr;
+ ::proto::chunk* temp = _impl_.contents_.chunk_packet_;
+ _impl_.contents_.chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6015,7 +8239,7 @@ inline void packet::unsafe_arena_set_allocated_chunk_packet(::proto::chunk* chun
clear_contents();
if (chunk_packet) {
set_has_chunk_packet();
- contents_.chunk_packet_ = chunk_packet;
+ _impl_.contents_.chunk_packet_ = chunk_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.chunk_packet)
}
@@ -6023,9 +8247,9 @@ inline ::proto::chunk* packet::_internal_mutable_chunk_packet() {
if (!_internal_has_chunk_packet()) {
clear_contents();
set_has_chunk_packet();
- contents_.chunk_packet_ = CreateMaybeMessage< ::proto::chunk >(GetArenaForAllocation());
+ _impl_.contents_.chunk_packet_ = CreateMaybeMessage< ::proto::chunk >(GetArenaForAllocation());
}
- return contents_.chunk_packet_;
+ return _impl_.contents_.chunk_packet_;
}
inline ::proto::chunk* packet::mutable_chunk_packet() {
::proto::chunk* _msg = _internal_mutable_chunk_packet();
@@ -6041,12 +8265,12 @@ inline bool packet::has_remove_chunk_packet() const {
return _internal_has_remove_chunk_packet();
}
inline void packet::set_has_remove_chunk_packet() {
- _oneof_case_[0] = kRemoveChunkPacket;
+ _impl_._oneof_case_[0] = kRemoveChunkPacket;
}
inline void packet::clear_remove_chunk_packet() {
if (_internal_has_remove_chunk_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.remove_chunk_packet_;
+ delete _impl_.contents_.remove_chunk_packet_;
}
clear_has_contents();
}
@@ -6055,11 +8279,11 @@ inline ::proto::remove_chunk* packet::release_remove_chunk_packet() {
// @@protoc_insertion_point(field_release:proto.packet.remove_chunk_packet)
if (_internal_has_remove_chunk_packet()) {
clear_has_contents();
- ::proto::remove_chunk* temp = contents_.remove_chunk_packet_;
+ ::proto::remove_chunk* temp = _impl_.contents_.remove_chunk_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.remove_chunk_packet_ = nullptr;
+ _impl_.contents_.remove_chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6067,7 +8291,7 @@ inline ::proto::remove_chunk* packet::release_remove_chunk_packet() {
}
inline const ::proto::remove_chunk& packet::_internal_remove_chunk_packet() const {
return _internal_has_remove_chunk_packet()
- ? *contents_.remove_chunk_packet_
+ ? *_impl_.contents_.remove_chunk_packet_
: reinterpret_cast< ::proto::remove_chunk&>(::proto::_remove_chunk_default_instance_);
}
inline const ::proto::remove_chunk& packet::remove_chunk_packet() const {
@@ -6078,8 +8302,8 @@ inline ::proto::remove_chunk* packet::unsafe_arena_release_remove_chunk_packet()
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.remove_chunk_packet)
if (_internal_has_remove_chunk_packet()) {
clear_has_contents();
- ::proto::remove_chunk* temp = contents_.remove_chunk_packet_;
- contents_.remove_chunk_packet_ = nullptr;
+ ::proto::remove_chunk* temp = _impl_.contents_.remove_chunk_packet_;
+ _impl_.contents_.remove_chunk_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6089,7 +8313,7 @@ inline void packet::unsafe_arena_set_allocated_remove_chunk_packet(::proto::remo
clear_contents();
if (remove_chunk_packet) {
set_has_remove_chunk_packet();
- contents_.remove_chunk_packet_ = remove_chunk_packet;
+ _impl_.contents_.remove_chunk_packet_ = remove_chunk_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.remove_chunk_packet)
}
@@ -6097,9 +8321,9 @@ inline ::proto::remove_chunk* packet::_internal_mutable_remove_chunk_packet() {
if (!_internal_has_remove_chunk_packet()) {
clear_contents();
set_has_remove_chunk_packet();
- contents_.remove_chunk_packet_ = CreateMaybeMessage< ::proto::remove_chunk >(GetArenaForAllocation());
+ _impl_.contents_.remove_chunk_packet_ = CreateMaybeMessage< ::proto::remove_chunk >(GetArenaForAllocation());
}
- return contents_.remove_chunk_packet_;
+ return _impl_.contents_.remove_chunk_packet_;
}
inline ::proto::remove_chunk* packet::mutable_remove_chunk_packet() {
::proto::remove_chunk* _msg = _internal_mutable_remove_chunk_packet();
@@ -6115,12 +8339,12 @@ inline bool packet::has_add_block_packet() const {
return _internal_has_add_block_packet();
}
inline void packet::set_has_add_block_packet() {
- _oneof_case_[0] = kAddBlockPacket;
+ _impl_._oneof_case_[0] = kAddBlockPacket;
}
inline void packet::clear_add_block_packet() {
if (_internal_has_add_block_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.add_block_packet_;
+ delete _impl_.contents_.add_block_packet_;
}
clear_has_contents();
}
@@ -6129,11 +8353,11 @@ inline ::proto::add_block* packet::release_add_block_packet() {
// @@protoc_insertion_point(field_release:proto.packet.add_block_packet)
if (_internal_has_add_block_packet()) {
clear_has_contents();
- ::proto::add_block* temp = contents_.add_block_packet_;
+ ::proto::add_block* temp = _impl_.contents_.add_block_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.add_block_packet_ = nullptr;
+ _impl_.contents_.add_block_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6141,7 +8365,7 @@ inline ::proto::add_block* packet::release_add_block_packet() {
}
inline const ::proto::add_block& packet::_internal_add_block_packet() const {
return _internal_has_add_block_packet()
- ? *contents_.add_block_packet_
+ ? *_impl_.contents_.add_block_packet_
: reinterpret_cast< ::proto::add_block&>(::proto::_add_block_default_instance_);
}
inline const ::proto::add_block& packet::add_block_packet() const {
@@ -6152,8 +8376,8 @@ inline ::proto::add_block* packet::unsafe_arena_release_add_block_packet() {
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.add_block_packet)
if (_internal_has_add_block_packet()) {
clear_has_contents();
- ::proto::add_block* temp = contents_.add_block_packet_;
- contents_.add_block_packet_ = nullptr;
+ ::proto::add_block* temp = _impl_.contents_.add_block_packet_;
+ _impl_.contents_.add_block_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6163,7 +8387,7 @@ inline void packet::unsafe_arena_set_allocated_add_block_packet(::proto::add_blo
clear_contents();
if (add_block_packet) {
set_has_add_block_packet();
- contents_.add_block_packet_ = add_block_packet;
+ _impl_.contents_.add_block_packet_ = add_block_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.add_block_packet)
}
@@ -6171,9 +8395,9 @@ inline ::proto::add_block* packet::_internal_mutable_add_block_packet() {
if (!_internal_has_add_block_packet()) {
clear_contents();
set_has_add_block_packet();
- contents_.add_block_packet_ = CreateMaybeMessage< ::proto::add_block >(GetArenaForAllocation());
+ _impl_.contents_.add_block_packet_ = CreateMaybeMessage< ::proto::add_block >(GetArenaForAllocation());
}
- return contents_.add_block_packet_;
+ return _impl_.contents_.add_block_packet_;
}
inline ::proto::add_block* packet::mutable_add_block_packet() {
::proto::add_block* _msg = _internal_mutable_add_block_packet();
@@ -6189,12 +8413,12 @@ inline bool packet::has_remove_block_packet() const {
return _internal_has_remove_block_packet();
}
inline void packet::set_has_remove_block_packet() {
- _oneof_case_[0] = kRemoveBlockPacket;
+ _impl_._oneof_case_[0] = kRemoveBlockPacket;
}
inline void packet::clear_remove_block_packet() {
if (_internal_has_remove_block_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.remove_block_packet_;
+ delete _impl_.contents_.remove_block_packet_;
}
clear_has_contents();
}
@@ -6203,11 +8427,11 @@ inline ::proto::remove_block* packet::release_remove_block_packet() {
// @@protoc_insertion_point(field_release:proto.packet.remove_block_packet)
if (_internal_has_remove_block_packet()) {
clear_has_contents();
- ::proto::remove_block* temp = contents_.remove_block_packet_;
+ ::proto::remove_block* temp = _impl_.contents_.remove_block_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.remove_block_packet_ = nullptr;
+ _impl_.contents_.remove_block_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6215,7 +8439,7 @@ inline ::proto::remove_block* packet::release_remove_block_packet() {
}
inline const ::proto::remove_block& packet::_internal_remove_block_packet() const {
return _internal_has_remove_block_packet()
- ? *contents_.remove_block_packet_
+ ? *_impl_.contents_.remove_block_packet_
: reinterpret_cast< ::proto::remove_block&>(::proto::_remove_block_default_instance_);
}
inline const ::proto::remove_block& packet::remove_block_packet() const {
@@ -6226,8 +8450,8 @@ inline ::proto::remove_block* packet::unsafe_arena_release_remove_block_packet()
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.remove_block_packet)
if (_internal_has_remove_block_packet()) {
clear_has_contents();
- ::proto::remove_block* temp = contents_.remove_block_packet_;
- contents_.remove_block_packet_ = nullptr;
+ ::proto::remove_block* temp = _impl_.contents_.remove_block_packet_;
+ _impl_.contents_.remove_block_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6237,7 +8461,7 @@ inline void packet::unsafe_arena_set_allocated_remove_block_packet(::proto::remo
clear_contents();
if (remove_block_packet) {
set_has_remove_block_packet();
- contents_.remove_block_packet_ = remove_block_packet;
+ _impl_.contents_.remove_block_packet_ = remove_block_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.remove_block_packet)
}
@@ -6245,9 +8469,9 @@ inline ::proto::remove_block* packet::_internal_mutable_remove_block_packet() {
if (!_internal_has_remove_block_packet()) {
clear_contents();
set_has_remove_block_packet();
- contents_.remove_block_packet_ = CreateMaybeMessage< ::proto::remove_block >(GetArenaForAllocation());
+ _impl_.contents_.remove_block_packet_ = CreateMaybeMessage< ::proto::remove_block >(GetArenaForAllocation());
}
- return contents_.remove_block_packet_;
+ return _impl_.contents_.remove_block_packet_;
}
inline ::proto::remove_block* packet::mutable_remove_block_packet() {
::proto::remove_block* _msg = _internal_mutable_remove_block_packet();
@@ -6263,12 +8487,12 @@ inline bool packet::has_server_message_packet() const {
return _internal_has_server_message_packet();
}
inline void packet::set_has_server_message_packet() {
- _oneof_case_[0] = kServerMessagePacket;
+ _impl_._oneof_case_[0] = kServerMessagePacket;
}
inline void packet::clear_server_message_packet() {
if (_internal_has_server_message_packet()) {
if (GetArenaForAllocation() == nullptr) {
- delete contents_.server_message_packet_;
+ delete _impl_.contents_.server_message_packet_;
}
clear_has_contents();
}
@@ -6277,11 +8501,11 @@ inline ::proto::server_message* packet::release_server_message_packet() {
// @@protoc_insertion_point(field_release:proto.packet.server_message_packet)
if (_internal_has_server_message_packet()) {
clear_has_contents();
- ::proto::server_message* temp = contents_.server_message_packet_;
+ ::proto::server_message* temp = _impl_.contents_.server_message_packet_;
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
- contents_.server_message_packet_ = nullptr;
+ _impl_.contents_.server_message_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6289,7 +8513,7 @@ inline ::proto::server_message* packet::release_server_message_packet() {
}
inline const ::proto::server_message& packet::_internal_server_message_packet() const {
return _internal_has_server_message_packet()
- ? *contents_.server_message_packet_
+ ? *_impl_.contents_.server_message_packet_
: reinterpret_cast< ::proto::server_message&>(::proto::_server_message_default_instance_);
}
inline const ::proto::server_message& packet::server_message_packet() const {
@@ -6300,8 +8524,8 @@ inline ::proto::server_message* packet::unsafe_arena_release_server_message_pack
// @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.server_message_packet)
if (_internal_has_server_message_packet()) {
clear_has_contents();
- ::proto::server_message* temp = contents_.server_message_packet_;
- contents_.server_message_packet_ = nullptr;
+ ::proto::server_message* temp = _impl_.contents_.server_message_packet_;
+ _impl_.contents_.server_message_packet_ = nullptr;
return temp;
} else {
return nullptr;
@@ -6311,7 +8535,7 @@ inline void packet::unsafe_arena_set_allocated_server_message_packet(::proto::se
clear_contents();
if (server_message_packet) {
set_has_server_message_packet();
- contents_.server_message_packet_ = server_message_packet;
+ _impl_.contents_.server_message_packet_ = server_message_packet;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.server_message_packet)
}
@@ -6319,9 +8543,9 @@ inline ::proto::server_message* packet::_internal_mutable_server_message_packet(
if (!_internal_has_server_message_packet()) {
clear_contents();
set_has_server_message_packet();
- contents_.server_message_packet_ = CreateMaybeMessage< ::proto::server_message >(GetArenaForAllocation());
+ _impl_.contents_.server_message_packet_ = CreateMaybeMessage< ::proto::server_message >(GetArenaForAllocation());
}
- return contents_.server_message_packet_;
+ return _impl_.contents_.server_message_packet_;
}
inline ::proto::server_message* packet::mutable_server_message_packet() {
::proto::server_message* _msg = _internal_mutable_server_message_packet();
@@ -6329,14 +8553,236 @@ inline ::proto::server_message* packet::mutable_server_message_packet() {
return _msg;
}
+// .proto.item_swap item_swap_packet = 14;
+inline bool packet::_internal_has_item_swap_packet() const {
+ return contents_case() == kItemSwapPacket;
+}
+inline bool packet::has_item_swap_packet() const {
+ return _internal_has_item_swap_packet();
+}
+inline void packet::set_has_item_swap_packet() {
+ _impl_._oneof_case_[0] = kItemSwapPacket;
+}
+inline void packet::clear_item_swap_packet() {
+ if (_internal_has_item_swap_packet()) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete _impl_.contents_.item_swap_packet_;
+ }
+ clear_has_contents();
+ }
+}
+inline ::proto::item_swap* packet::release_item_swap_packet() {
+ // @@protoc_insertion_point(field_release:proto.packet.item_swap_packet)
+ if (_internal_has_item_swap_packet()) {
+ clear_has_contents();
+ ::proto::item_swap* temp = _impl_.contents_.item_swap_packet_;
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+ _impl_.contents_.item_swap_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline const ::proto::item_swap& packet::_internal_item_swap_packet() const {
+ return _internal_has_item_swap_packet()
+ ? *_impl_.contents_.item_swap_packet_
+ : reinterpret_cast< ::proto::item_swap&>(::proto::_item_swap_default_instance_);
+}
+inline const ::proto::item_swap& packet::item_swap_packet() const {
+ // @@protoc_insertion_point(field_get:proto.packet.item_swap_packet)
+ return _internal_item_swap_packet();
+}
+inline ::proto::item_swap* packet::unsafe_arena_release_item_swap_packet() {
+ // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.item_swap_packet)
+ if (_internal_has_item_swap_packet()) {
+ clear_has_contents();
+ ::proto::item_swap* temp = _impl_.contents_.item_swap_packet_;
+ _impl_.contents_.item_swap_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline void packet::unsafe_arena_set_allocated_item_swap_packet(::proto::item_swap* item_swap_packet) {
+ clear_contents();
+ if (item_swap_packet) {
+ set_has_item_swap_packet();
+ _impl_.contents_.item_swap_packet_ = item_swap_packet;
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.item_swap_packet)
+}
+inline ::proto::item_swap* packet::_internal_mutable_item_swap_packet() {
+ if (!_internal_has_item_swap_packet()) {
+ clear_contents();
+ set_has_item_swap_packet();
+ _impl_.contents_.item_swap_packet_ = CreateMaybeMessage< ::proto::item_swap >(GetArenaForAllocation());
+ }
+ return _impl_.contents_.item_swap_packet_;
+}
+inline ::proto::item_swap* packet::mutable_item_swap_packet() {
+ ::proto::item_swap* _msg = _internal_mutable_item_swap_packet();
+ // @@protoc_insertion_point(field_mutable:proto.packet.item_swap_packet)
+ return _msg;
+}
+
+// .proto.item_use item_use_packet = 16;
+inline bool packet::_internal_has_item_use_packet() const {
+ return contents_case() == kItemUsePacket;
+}
+inline bool packet::has_item_use_packet() const {
+ return _internal_has_item_use_packet();
+}
+inline void packet::set_has_item_use_packet() {
+ _impl_._oneof_case_[0] = kItemUsePacket;
+}
+inline void packet::clear_item_use_packet() {
+ if (_internal_has_item_use_packet()) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete _impl_.contents_.item_use_packet_;
+ }
+ clear_has_contents();
+ }
+}
+inline ::proto::item_use* packet::release_item_use_packet() {
+ // @@protoc_insertion_point(field_release:proto.packet.item_use_packet)
+ if (_internal_has_item_use_packet()) {
+ clear_has_contents();
+ ::proto::item_use* temp = _impl_.contents_.item_use_packet_;
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+ _impl_.contents_.item_use_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline const ::proto::item_use& packet::_internal_item_use_packet() const {
+ return _internal_has_item_use_packet()
+ ? *_impl_.contents_.item_use_packet_
+ : reinterpret_cast< ::proto::item_use&>(::proto::_item_use_default_instance_);
+}
+inline const ::proto::item_use& packet::item_use_packet() const {
+ // @@protoc_insertion_point(field_get:proto.packet.item_use_packet)
+ return _internal_item_use_packet();
+}
+inline ::proto::item_use* packet::unsafe_arena_release_item_use_packet() {
+ // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.item_use_packet)
+ if (_internal_has_item_use_packet()) {
+ clear_has_contents();
+ ::proto::item_use* temp = _impl_.contents_.item_use_packet_;
+ _impl_.contents_.item_use_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline void packet::unsafe_arena_set_allocated_item_use_packet(::proto::item_use* item_use_packet) {
+ clear_contents();
+ if (item_use_packet) {
+ set_has_item_use_packet();
+ _impl_.contents_.item_use_packet_ = item_use_packet;
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.item_use_packet)
+}
+inline ::proto::item_use* packet::_internal_mutable_item_use_packet() {
+ if (!_internal_has_item_use_packet()) {
+ clear_contents();
+ set_has_item_use_packet();
+ _impl_.contents_.item_use_packet_ = CreateMaybeMessage< ::proto::item_use >(GetArenaForAllocation());
+ }
+ return _impl_.contents_.item_use_packet_;
+}
+inline ::proto::item_use* packet::mutable_item_use_packet() {
+ ::proto::item_use* _msg = _internal_mutable_item_use_packet();
+ // @@protoc_insertion_point(field_mutable:proto.packet.item_use_packet)
+ return _msg;
+}
+
+// .proto.item_update item_update_packet = 15;
+inline bool packet::_internal_has_item_update_packet() const {
+ return contents_case() == kItemUpdatePacket;
+}
+inline bool packet::has_item_update_packet() const {
+ return _internal_has_item_update_packet();
+}
+inline void packet::set_has_item_update_packet() {
+ _impl_._oneof_case_[0] = kItemUpdatePacket;
+}
+inline void packet::clear_item_update_packet() {
+ if (_internal_has_item_update_packet()) {
+ if (GetArenaForAllocation() == nullptr) {
+ delete _impl_.contents_.item_update_packet_;
+ }
+ clear_has_contents();
+ }
+}
+inline ::proto::item_update* packet::release_item_update_packet() {
+ // @@protoc_insertion_point(field_release:proto.packet.item_update_packet)
+ if (_internal_has_item_update_packet()) {
+ clear_has_contents();
+ ::proto::item_update* temp = _impl_.contents_.item_update_packet_;
+ if (GetArenaForAllocation() != nullptr) {
+ temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
+ }
+ _impl_.contents_.item_update_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline const ::proto::item_update& packet::_internal_item_update_packet() const {
+ return _internal_has_item_update_packet()
+ ? *_impl_.contents_.item_update_packet_
+ : reinterpret_cast< ::proto::item_update&>(::proto::_item_update_default_instance_);
+}
+inline const ::proto::item_update& packet::item_update_packet() const {
+ // @@protoc_insertion_point(field_get:proto.packet.item_update_packet)
+ return _internal_item_update_packet();
+}
+inline ::proto::item_update* packet::unsafe_arena_release_item_update_packet() {
+ // @@protoc_insertion_point(field_unsafe_arena_release:proto.packet.item_update_packet)
+ if (_internal_has_item_update_packet()) {
+ clear_has_contents();
+ ::proto::item_update* temp = _impl_.contents_.item_update_packet_;
+ _impl_.contents_.item_update_packet_ = nullptr;
+ return temp;
+ } else {
+ return nullptr;
+ }
+}
+inline void packet::unsafe_arena_set_allocated_item_update_packet(::proto::item_update* item_update_packet) {
+ clear_contents();
+ if (item_update_packet) {
+ set_has_item_update_packet();
+ _impl_.contents_.item_update_packet_ = item_update_packet;
+ }
+ // @@protoc_insertion_point(field_unsafe_arena_set_allocated:proto.packet.item_update_packet)
+}
+inline ::proto::item_update* packet::_internal_mutable_item_update_packet() {
+ if (!_internal_has_item_update_packet()) {
+ clear_contents();
+ set_has_item_update_packet();
+ _impl_.contents_.item_update_packet_ = CreateMaybeMessage< ::proto::item_update >(GetArenaForAllocation());
+ }
+ return _impl_.contents_.item_update_packet_;
+}
+inline ::proto::item_update* packet::mutable_item_update_packet() {
+ ::proto::item_update* _msg = _internal_mutable_item_update_packet();
+ // @@protoc_insertion_point(field_mutable:proto.packet.item_update_packet)
+ return _msg;
+}
+
inline bool packet::has_contents() const {
return contents_case() != CONTENTS_NOT_SET;
}
inline void packet::clear_has_contents() {
- _oneof_case_[0] = CONTENTS_NOT_SET;
+ _impl_._oneof_case_[0] = CONTENTS_NOT_SET;
}
inline packet::ContentsCase packet::contents_case() const {
- return packet::ContentsCase(_oneof_case_[0]);
+ return packet::ContentsCase(_impl_._oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
@@ -6375,6 +8821,22 @@ inline packet::ContentsCase packet::contents_case() const {
// -------------------------------------------------------------------
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
// @@protoc_insertion_point(namespace_scope)