12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: levelData.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3015000
- #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 3015008 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #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/message_lite.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/map.h> // IWYU pragma: export
- #include <google/protobuf/map_entry_lite.h>
- #include <google/protobuf/map_field_lite.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_levelData_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_levelData_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[7]
- 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
- };
- class LevelData;
- struct LevelDataDefaultTypeInternal;
- extern LevelDataDefaultTypeInternal _LevelData_default_instance_;
- class LevelsIndex;
- struct LevelsIndexDefaultTypeInternal;
- extern LevelsIndexDefaultTypeInternal _LevelsIndex_default_instance_;
- class LevelsIndex_LevelsIndexEntry_DoNotUse;
- struct LevelsIndex_LevelsIndexEntry_DoNotUseDefaultTypeInternal;
- extern LevelsIndex_LevelsIndexEntry_DoNotUseDefaultTypeInternal _LevelsIndex_LevelsIndexEntry_DoNotUse_default_instance_;
- class t_offeset_len;
- struct t_offeset_lenDefaultTypeInternal;
- extern t_offeset_lenDefaultTypeInternal _t_offeset_len_default_instance_;
- class t_stack;
- struct t_stackDefaultTypeInternal;
- extern t_stackDefaultTypeInternal _t_stack_default_instance_;
- class t_tile;
- struct t_tileDefaultTypeInternal;
- extern t_tileDefaultTypeInternal _t_tile_default_instance_;
- class t_tile_data;
- struct t_tile_dataDefaultTypeInternal;
- extern t_tile_dataDefaultTypeInternal _t_tile_data_default_instance_;
- PROTOBUF_NAMESPACE_OPEN
- template<> ::LevelData* Arena::CreateMaybeMessage<::LevelData>(Arena*);
- template<> ::LevelsIndex* Arena::CreateMaybeMessage<::LevelsIndex>(Arena*);
- template<> ::LevelsIndex_LevelsIndexEntry_DoNotUse* Arena::CreateMaybeMessage<::LevelsIndex_LevelsIndexEntry_DoNotUse>(Arena*);
- template<> ::t_offeset_len* Arena::CreateMaybeMessage<::t_offeset_len>(Arena*);
- template<> ::t_stack* Arena::CreateMaybeMessage<::t_stack>(Arena*);
- template<> ::t_tile* Arena::CreateMaybeMessage<::t_tile>(Arena*);
- template<> ::t_tile_data* Arena::CreateMaybeMessage<::t_tile_data>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- // ===================================================================
- class LevelsIndex_LevelsIndexEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<LevelsIndex_LevelsIndexEntry_DoNotUse,
- std::string, ::t_offeset_len,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<LevelsIndex_LevelsIndexEntry_DoNotUse,
- std::string, ::t_offeset_len,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
- LevelsIndex_LevelsIndexEntry_DoNotUse();
- explicit constexpr LevelsIndex_LevelsIndexEntry_DoNotUse(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- explicit LevelsIndex_LevelsIndexEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void MergeFrom(const LevelsIndex_LevelsIndexEntry_DoNotUse& other);
- static const LevelsIndex_LevelsIndexEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const LevelsIndex_LevelsIndexEntry_DoNotUse*>(&_LevelsIndex_LevelsIndexEntry_DoNotUse_default_instance_); }
- static bool ValidateKey(std::string* s) {
- return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "LevelsIndex.LevelsIndexEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- };
- // -------------------------------------------------------------------
- class LevelsIndex PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:LevelsIndex) */ {
- public:
- inline LevelsIndex() : LevelsIndex(nullptr) {}
- virtual ~LevelsIndex();
- explicit constexpr LevelsIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LevelsIndex(const LevelsIndex& from);
- LevelsIndex(LevelsIndex&& from) noexcept
- : LevelsIndex() {
- *this = ::std::move(from);
- }
- inline LevelsIndex& operator=(const LevelsIndex& from) {
- CopyFrom(from);
- return *this;
- }
- inline LevelsIndex& operator=(LevelsIndex&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const LevelsIndex& default_instance() {
- return *internal_default_instance();
- }
- static inline const LevelsIndex* internal_default_instance() {
- return reinterpret_cast<const LevelsIndex*>(
- &_LevelsIndex_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(LevelsIndex& a, LevelsIndex& b) {
- a.Swap(&b);
- }
- inline void Swap(LevelsIndex* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(LevelsIndex* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline LevelsIndex* New() const final {
- return CreateMaybeMessage<LevelsIndex>(nullptr);
- }
- LevelsIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<LevelsIndex>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const LevelsIndex& from);
- void MergeFrom(const LevelsIndex& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(LevelsIndex* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "LevelsIndex";
- }
- protected:
- explicit LevelsIndex(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kLevelsIndexFieldNumber = 1,
- };
- // map<string, .t_offeset_len> LevelsIndex = 1;
- int levelsindex_size() const;
- private:
- int _internal_levelsindex_size() const;
- public:
- void clear_levelsindex();
- private:
- const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
- _internal_levelsindex() const;
- ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
- _internal_mutable_levelsindex();
- public:
- const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
- levelsindex() const;
- ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
- mutable_levelsindex();
- // @@protoc_insertion_point(class_scope:LevelsIndex)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
- LevelsIndex_LevelsIndexEntry_DoNotUse,
- std::string, ::t_offeset_len,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> levelsindex_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // -------------------------------------------------------------------
- class t_offeset_len PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_offeset_len) */ {
- public:
- inline t_offeset_len() : t_offeset_len(nullptr) {}
- virtual ~t_offeset_len();
- explicit constexpr t_offeset_len(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- t_offeset_len(const t_offeset_len& from);
- t_offeset_len(t_offeset_len&& from) noexcept
- : t_offeset_len() {
- *this = ::std::move(from);
- }
- inline t_offeset_len& operator=(const t_offeset_len& from) {
- CopyFrom(from);
- return *this;
- }
- inline t_offeset_len& operator=(t_offeset_len&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const t_offeset_len& default_instance() {
- return *internal_default_instance();
- }
- static inline const t_offeset_len* internal_default_instance() {
- return reinterpret_cast<const t_offeset_len*>(
- &_t_offeset_len_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(t_offeset_len& a, t_offeset_len& b) {
- a.Swap(&b);
- }
- inline void Swap(t_offeset_len* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(t_offeset_len* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline t_offeset_len* New() const final {
- return CreateMaybeMessage<t_offeset_len>(nullptr);
- }
- t_offeset_len* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<t_offeset_len>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const t_offeset_len& from);
- void MergeFrom(const t_offeset_len& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(t_offeset_len* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "t_offeset_len";
- }
- protected:
- explicit t_offeset_len(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kOffsetFieldNumber = 1,
- kLenFieldNumber = 2,
- };
- // int32 offset = 1;
- void clear_offset();
- ::PROTOBUF_NAMESPACE_ID::int32 offset() const;
- void set_offset(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_offset() const;
- void _internal_set_offset(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 len = 2;
- void clear_len();
- ::PROTOBUF_NAMESPACE_ID::int32 len() const;
- void set_len(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_len() const;
- void _internal_set_len(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:t_offeset_len)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::int32 offset_;
- ::PROTOBUF_NAMESPACE_ID::int32 len_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // -------------------------------------------------------------------
- class LevelData PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:LevelData) */ {
- public:
- inline LevelData() : LevelData(nullptr) {}
- virtual ~LevelData();
- explicit constexpr LevelData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LevelData(const LevelData& from);
- LevelData(LevelData&& from) noexcept
- : LevelData() {
- *this = ::std::move(from);
- }
- inline LevelData& operator=(const LevelData& from) {
- CopyFrom(from);
- return *this;
- }
- inline LevelData& operator=(LevelData&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const LevelData& default_instance() {
- return *internal_default_instance();
- }
- static inline const LevelData* internal_default_instance() {
- return reinterpret_cast<const LevelData*>(
- &_LevelData_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(LevelData& a, LevelData& b) {
- a.Swap(&b);
- }
- inline void Swap(LevelData* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(LevelData* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline LevelData* New() const final {
- return CreateMaybeMessage<LevelData>(nullptr);
- }
- LevelData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<LevelData>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const LevelData& from);
- void MergeFrom(const LevelData& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(LevelData* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "LevelData";
- }
- protected:
- explicit LevelData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTilesFieldNumber = 1,
- kStacksFieldNumber = 2,
- kTileWidthFieldNumber = 3,
- kTileHeightFieldNumber = 4,
- };
- // repeated .t_tile tiles = 1;
- int tiles_size() const;
- private:
- int _internal_tiles_size() const;
- public:
- void clear_tiles();
- ::t_tile* mutable_tiles(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >*
- mutable_tiles();
- private:
- const ::t_tile& _internal_tiles(int index) const;
- ::t_tile* _internal_add_tiles();
- public:
- const ::t_tile& tiles(int index) const;
- ::t_tile* add_tiles();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >&
- tiles() const;
- // repeated .t_stack stacks = 2;
- int stacks_size() const;
- private:
- int _internal_stacks_size() const;
- public:
- void clear_stacks();
- ::t_stack* mutable_stacks(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >*
- mutable_stacks();
- private:
- const ::t_stack& _internal_stacks(int index) const;
- ::t_stack* _internal_add_stacks();
- public:
- const ::t_stack& stacks(int index) const;
- ::t_stack* add_stacks();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >&
- stacks() const;
- // int32 tileWidth = 3;
- bool has_tilewidth() const;
- private:
- bool _internal_has_tilewidth() const;
- public:
- void clear_tilewidth();
- ::PROTOBUF_NAMESPACE_ID::int32 tilewidth() const;
- void set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_tilewidth() const;
- void _internal_set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 tileHeight = 4;
- bool has_tileheight() const;
- private:
- bool _internal_has_tileheight() const;
- public:
- void clear_tileheight();
- ::PROTOBUF_NAMESPACE_ID::int32 tileheight() const;
- void set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_tileheight() const;
- void _internal_set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:LevelData)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile > tiles_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack > stacks_;
- ::PROTOBUF_NAMESPACE_ID::int32 tilewidth_;
- ::PROTOBUF_NAMESPACE_ID::int32 tileheight_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // -------------------------------------------------------------------
- class t_tile PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_tile) */ {
- public:
- inline t_tile() : t_tile(nullptr) {}
- virtual ~t_tile();
- explicit constexpr t_tile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- t_tile(const t_tile& from);
- t_tile(t_tile&& from) noexcept
- : t_tile() {
- *this = ::std::move(from);
- }
- inline t_tile& operator=(const t_tile& from) {
- CopyFrom(from);
- return *this;
- }
- inline t_tile& operator=(t_tile&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const t_tile& default_instance() {
- return *internal_default_instance();
- }
- static inline const t_tile* internal_default_instance() {
- return reinterpret_cast<const t_tile*>(
- &_t_tile_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(t_tile& a, t_tile& b) {
- a.Swap(&b);
- }
- inline void Swap(t_tile* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(t_tile* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline t_tile* New() const final {
- return CreateMaybeMessage<t_tile>(nullptr);
- }
- t_tile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<t_tile>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const t_tile& from);
- void MergeFrom(const t_tile& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(t_tile* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "t_tile";
- }
- protected:
- explicit t_tile(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTileDataFieldNumber = 4,
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kZFieldNumber = 3,
- };
- // .t_tile_data tileData = 4;
- bool has_tiledata() const;
- private:
- bool _internal_has_tiledata() const;
- public:
- void clear_tiledata();
- const ::t_tile_data& tiledata() const;
- ::t_tile_data* release_tiledata();
- ::t_tile_data* mutable_tiledata();
- void set_allocated_tiledata(::t_tile_data* tiledata);
- private:
- const ::t_tile_data& _internal_tiledata() const;
- ::t_tile_data* _internal_mutable_tiledata();
- public:
- void unsafe_arena_set_allocated_tiledata(
- ::t_tile_data* tiledata);
- ::t_tile_data* unsafe_arena_release_tiledata();
- // int32 x = 1;
- bool has_x() const;
- private:
- bool _internal_has_x() const;
- public:
- void clear_x();
- ::PROTOBUF_NAMESPACE_ID::int32 x() const;
- void set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_x() const;
- void _internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 y = 2;
- bool has_y() const;
- private:
- bool _internal_has_y() const;
- public:
- void clear_y();
- ::PROTOBUF_NAMESPACE_ID::int32 y() const;
- void set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_y() const;
- void _internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 z = 3;
- bool has_z() const;
- private:
- bool _internal_has_z() const;
- public:
- void clear_z();
- ::PROTOBUF_NAMESPACE_ID::int32 z() const;
- void set_z(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_z() const;
- void _internal_set_z(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:t_tile)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::t_tile_data* tiledata_;
- ::PROTOBUF_NAMESPACE_ID::int32 x_;
- ::PROTOBUF_NAMESPACE_ID::int32 y_;
- ::PROTOBUF_NAMESPACE_ID::int32 z_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // -------------------------------------------------------------------
- class t_tile_data PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_tile_data) */ {
- public:
- inline t_tile_data() : t_tile_data(nullptr) {}
- virtual ~t_tile_data();
- explicit constexpr t_tile_data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- t_tile_data(const t_tile_data& from);
- t_tile_data(t_tile_data&& from) noexcept
- : t_tile_data() {
- *this = ::std::move(from);
- }
- inline t_tile_data& operator=(const t_tile_data& from) {
- CopyFrom(from);
- return *this;
- }
- inline t_tile_data& operator=(t_tile_data&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const t_tile_data& default_instance() {
- return *internal_default_instance();
- }
- static inline const t_tile_data* internal_default_instance() {
- return reinterpret_cast<const t_tile_data*>(
- &_t_tile_data_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(t_tile_data& a, t_tile_data& b) {
- a.Swap(&b);
- }
- inline void Swap(t_tile_data* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(t_tile_data* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline t_tile_data* New() const final {
- return CreateMaybeMessage<t_tile_data>(nullptr);
- }
- t_tile_data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<t_tile_data>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const t_tile_data& from);
- void MergeFrom(const t_tile_data& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(t_tile_data* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "t_tile_data";
- }
- protected:
- explicit t_tile_data(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 1,
- kSubtypeFieldNumber = 2,
- kIdFieldNumber = 3,
- kZvFieldNumber = 4,
- kWeightFieldNumber = 5,
- };
- // int32 type = 1;
- bool has_type() const;
- private:
- bool _internal_has_type() const;
- public:
- void clear_type();
- ::PROTOBUF_NAMESPACE_ID::int32 type() const;
- void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
- void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 subtype = 2;
- bool has_subtype() const;
- private:
- bool _internal_has_subtype() const;
- public:
- void clear_subtype();
- ::PROTOBUF_NAMESPACE_ID::int32 subtype() const;
- void set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_subtype() const;
- void _internal_set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 id = 3;
- bool has_id() const;
- private:
- bool _internal_has_id() const;
- public:
- void clear_id();
- ::PROTOBUF_NAMESPACE_ID::int32 id() const;
- void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
- void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 zv = 4;
- bool has_zv() const;
- private:
- bool _internal_has_zv() const;
- public:
- void clear_zv();
- ::PROTOBUF_NAMESPACE_ID::int32 zv() const;
- void set_zv(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_zv() const;
- void _internal_set_zv(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 weight = 5;
- bool has_weight() const;
- private:
- bool _internal_has_weight() const;
- public:
- void clear_weight();
- ::PROTOBUF_NAMESPACE_ID::int32 weight() const;
- void set_weight(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_weight() const;
- void _internal_set_weight(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:t_tile_data)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::int32 type_;
- ::PROTOBUF_NAMESPACE_ID::int32 subtype_;
- ::PROTOBUF_NAMESPACE_ID::int32 id_;
- ::PROTOBUF_NAMESPACE_ID::int32 zv_;
- ::PROTOBUF_NAMESPACE_ID::int32 weight_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // -------------------------------------------------------------------
- class t_stack PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_stack) */ {
- public:
- inline t_stack() : t_stack(nullptr) {}
- virtual ~t_stack();
- explicit constexpr t_stack(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- t_stack(const t_stack& from);
- t_stack(t_stack&& from) noexcept
- : t_stack() {
- *this = ::std::move(from);
- }
- inline t_stack& operator=(const t_stack& from) {
- CopyFrom(from);
- return *this;
- }
- inline t_stack& operator=(t_stack&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const t_stack& default_instance() {
- return *internal_default_instance();
- }
- static inline const t_stack* internal_default_instance() {
- return reinterpret_cast<const t_stack*>(
- &_t_stack_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(t_stack& a, t_stack& b) {
- a.Swap(&b);
- }
- inline void Swap(t_stack* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(t_stack* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline t_stack* New() const final {
- return CreateMaybeMessage<t_stack>(nullptr);
- }
- t_stack* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<t_stack>(arena);
- }
- void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
- final;
- void CopyFrom(const t_stack& from);
- void MergeFrom(const t_stack& from);
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- void DiscardUnknownFields();
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const;
- void InternalSwap(t_stack* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "t_stack";
- }
- protected:
- explicit t_stack(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- std::string GetTypeName() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTileDatasFieldNumber = 1,
- kXFieldNumber = 2,
- kYFieldNumber = 3,
- kDirectionFieldNumber = 4,
- kDepthFieldNumber = 5,
- };
- // repeated .t_tile_data tileDatas = 1;
- int tiledatas_size() const;
- private:
- int _internal_tiledatas_size() const;
- public:
- void clear_tiledatas();
- ::t_tile_data* mutable_tiledatas(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >*
- mutable_tiledatas();
- private:
- const ::t_tile_data& _internal_tiledatas(int index) const;
- ::t_tile_data* _internal_add_tiledatas();
- public:
- const ::t_tile_data& tiledatas(int index) const;
- ::t_tile_data* add_tiledatas();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >&
- tiledatas() const;
- // int32 x = 2;
- bool has_x() const;
- private:
- bool _internal_has_x() const;
- public:
- void clear_x();
- ::PROTOBUF_NAMESPACE_ID::int32 x() const;
- void set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_x() const;
- void _internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 y = 3;
- bool has_y() const;
- private:
- bool _internal_has_y() const;
- public:
- void clear_y();
- ::PROTOBUF_NAMESPACE_ID::int32 y() const;
- void set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_y() const;
- void _internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 direction = 4;
- bool has_direction() const;
- private:
- bool _internal_has_direction() const;
- public:
- void clear_direction();
- ::PROTOBUF_NAMESPACE_ID::int32 direction() const;
- void set_direction(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_direction() const;
- void _internal_set_direction(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // int32 depth = 5;
- bool has_depth() const;
- private:
- bool _internal_has_depth() const;
- public:
- void clear_depth();
- ::PROTOBUF_NAMESPACE_ID::int32 depth() const;
- void set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_depth() const;
- void _internal_set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:t_stack)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data > tiledatas_;
- ::PROTOBUF_NAMESPACE_ID::int32 x_;
- ::PROTOBUF_NAMESPACE_ID::int32 y_;
- ::PROTOBUF_NAMESPACE_ID::int32 direction_;
- ::PROTOBUF_NAMESPACE_ID::int32 depth_;
- friend struct ::TableStruct_levelData_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // LevelsIndex
- // map<string, .t_offeset_len> LevelsIndex = 1;
- inline int LevelsIndex::_internal_levelsindex_size() const {
- return levelsindex_.size();
- }
- inline int LevelsIndex::levelsindex_size() const {
- return _internal_levelsindex_size();
- }
- inline void LevelsIndex::clear_levelsindex() {
- levelsindex_.Clear();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
- LevelsIndex::_internal_levelsindex() const {
- return levelsindex_.GetMap();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
- LevelsIndex::levelsindex() const {
- // @@protoc_insertion_point(field_map:LevelsIndex.LevelsIndex)
- return _internal_levelsindex();
- }
- inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
- LevelsIndex::_internal_mutable_levelsindex() {
- return levelsindex_.MutableMap();
- }
- inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
- LevelsIndex::mutable_levelsindex() {
- // @@protoc_insertion_point(field_mutable_map:LevelsIndex.LevelsIndex)
- return _internal_mutable_levelsindex();
- }
- // -------------------------------------------------------------------
- // t_offeset_len
- // int32 offset = 1;
- inline void t_offeset_len::clear_offset() {
- offset_ = 0;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::_internal_offset() const {
- return offset_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::offset() const {
- // @@protoc_insertion_point(field_get:t_offeset_len.offset)
- return _internal_offset();
- }
- inline void t_offeset_len::_internal_set_offset(::PROTOBUF_NAMESPACE_ID::int32 value) {
-
- offset_ = value;
- }
- inline void t_offeset_len::set_offset(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_offset(value);
- // @@protoc_insertion_point(field_set:t_offeset_len.offset)
- }
- // int32 len = 2;
- inline void t_offeset_len::clear_len() {
- len_ = 0;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::_internal_len() const {
- return len_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::len() const {
- // @@protoc_insertion_point(field_get:t_offeset_len.len)
- return _internal_len();
- }
- inline void t_offeset_len::_internal_set_len(::PROTOBUF_NAMESPACE_ID::int32 value) {
-
- len_ = value;
- }
- inline void t_offeset_len::set_len(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_len(value);
- // @@protoc_insertion_point(field_set:t_offeset_len.len)
- }
- // -------------------------------------------------------------------
- // LevelData
- // repeated .t_tile tiles = 1;
- inline int LevelData::_internal_tiles_size() const {
- return tiles_.size();
- }
- inline int LevelData::tiles_size() const {
- return _internal_tiles_size();
- }
- inline void LevelData::clear_tiles() {
- tiles_.Clear();
- }
- inline ::t_tile* LevelData::mutable_tiles(int index) {
- // @@protoc_insertion_point(field_mutable:LevelData.tiles)
- return tiles_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >*
- LevelData::mutable_tiles() {
- // @@protoc_insertion_point(field_mutable_list:LevelData.tiles)
- return &tiles_;
- }
- inline const ::t_tile& LevelData::_internal_tiles(int index) const {
- return tiles_.Get(index);
- }
- inline const ::t_tile& LevelData::tiles(int index) const {
- // @@protoc_insertion_point(field_get:LevelData.tiles)
- return _internal_tiles(index);
- }
- inline ::t_tile* LevelData::_internal_add_tiles() {
- return tiles_.Add();
- }
- inline ::t_tile* LevelData::add_tiles() {
- // @@protoc_insertion_point(field_add:LevelData.tiles)
- return _internal_add_tiles();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >&
- LevelData::tiles() const {
- // @@protoc_insertion_point(field_list:LevelData.tiles)
- return tiles_;
- }
- // repeated .t_stack stacks = 2;
- inline int LevelData::_internal_stacks_size() const {
- return stacks_.size();
- }
- inline int LevelData::stacks_size() const {
- return _internal_stacks_size();
- }
- inline void LevelData::clear_stacks() {
- stacks_.Clear();
- }
- inline ::t_stack* LevelData::mutable_stacks(int index) {
- // @@protoc_insertion_point(field_mutable:LevelData.stacks)
- return stacks_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >*
- LevelData::mutable_stacks() {
- // @@protoc_insertion_point(field_mutable_list:LevelData.stacks)
- return &stacks_;
- }
- inline const ::t_stack& LevelData::_internal_stacks(int index) const {
- return stacks_.Get(index);
- }
- inline const ::t_stack& LevelData::stacks(int index) const {
- // @@protoc_insertion_point(field_get:LevelData.stacks)
- return _internal_stacks(index);
- }
- inline ::t_stack* LevelData::_internal_add_stacks() {
- return stacks_.Add();
- }
- inline ::t_stack* LevelData::add_stacks() {
- // @@protoc_insertion_point(field_add:LevelData.stacks)
- return _internal_add_stacks();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >&
- LevelData::stacks() const {
- // @@protoc_insertion_point(field_list:LevelData.stacks)
- return stacks_;
- }
- // int32 tileWidth = 3;
- inline bool LevelData::_internal_has_tilewidth() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool LevelData::has_tilewidth() const {
- return _internal_has_tilewidth();
- }
- inline void LevelData::clear_tilewidth() {
- tilewidth_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::_internal_tilewidth() const {
- return tilewidth_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::tilewidth() const {
- // @@protoc_insertion_point(field_get:LevelData.tileWidth)
- return _internal_tilewidth();
- }
- inline void LevelData::_internal_set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000001u;
- tilewidth_ = value;
- }
- inline void LevelData::set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_tilewidth(value);
- // @@protoc_insertion_point(field_set:LevelData.tileWidth)
- }
- // int32 tileHeight = 4;
- inline bool LevelData::_internal_has_tileheight() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool LevelData::has_tileheight() const {
- return _internal_has_tileheight();
- }
- inline void LevelData::clear_tileheight() {
- tileheight_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::_internal_tileheight() const {
- return tileheight_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::tileheight() const {
- // @@protoc_insertion_point(field_get:LevelData.tileHeight)
- return _internal_tileheight();
- }
- inline void LevelData::_internal_set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- tileheight_ = value;
- }
- inline void LevelData::set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_tileheight(value);
- // @@protoc_insertion_point(field_set:LevelData.tileHeight)
- }
- // -------------------------------------------------------------------
- // t_tile
- // int32 x = 1;
- inline bool t_tile::_internal_has_x() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool t_tile::has_x() const {
- return _internal_has_x();
- }
- inline void t_tile::clear_x() {
- x_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_x() const {
- return x_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::x() const {
- // @@protoc_insertion_point(field_get:t_tile.x)
- return _internal_x();
- }
- inline void t_tile::_internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- x_ = value;
- }
- inline void t_tile::set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:t_tile.x)
- }
- // int32 y = 2;
- inline bool t_tile::_internal_has_y() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool t_tile::has_y() const {
- return _internal_has_y();
- }
- inline void t_tile::clear_y() {
- y_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_y() const {
- return y_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::y() const {
- // @@protoc_insertion_point(field_get:t_tile.y)
- return _internal_y();
- }
- inline void t_tile::_internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000004u;
- y_ = value;
- }
- inline void t_tile::set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:t_tile.y)
- }
- // int32 z = 3;
- inline bool t_tile::_internal_has_z() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool t_tile::has_z() const {
- return _internal_has_z();
- }
- inline void t_tile::clear_z() {
- z_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_z() const {
- return z_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::z() const {
- // @@protoc_insertion_point(field_get:t_tile.z)
- return _internal_z();
- }
- inline void t_tile::_internal_set_z(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- z_ = value;
- }
- inline void t_tile::set_z(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_z(value);
- // @@protoc_insertion_point(field_set:t_tile.z)
- }
- // .t_tile_data tileData = 4;
- inline bool t_tile::_internal_has_tiledata() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || tiledata_ != nullptr);
- return value;
- }
- inline bool t_tile::has_tiledata() const {
- return _internal_has_tiledata();
- }
- inline void t_tile::clear_tiledata() {
- if (GetArena() == nullptr && tiledata_ != nullptr) {
- delete tiledata_;
- }
- tiledata_ = nullptr;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::t_tile_data& t_tile::_internal_tiledata() const {
- const ::t_tile_data* p = tiledata_;
- return p != nullptr ? *p : reinterpret_cast<const ::t_tile_data&>(
- ::_t_tile_data_default_instance_);
- }
- inline const ::t_tile_data& t_tile::tiledata() const {
- // @@protoc_insertion_point(field_get:t_tile.tileData)
- return _internal_tiledata();
- }
- inline void t_tile::unsafe_arena_set_allocated_tiledata(
- ::t_tile_data* tiledata) {
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tiledata_);
- }
- tiledata_ = tiledata;
- if (tiledata) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:t_tile.tileData)
- }
- inline ::t_tile_data* t_tile::release_tiledata() {
- _has_bits_[0] &= ~0x00000001u;
- ::t_tile_data* temp = tiledata_;
- tiledata_ = nullptr;
- if (GetArena() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- return temp;
- }
- inline ::t_tile_data* t_tile::unsafe_arena_release_tiledata() {
- // @@protoc_insertion_point(field_release:t_tile.tileData)
- _has_bits_[0] &= ~0x00000001u;
- ::t_tile_data* temp = tiledata_;
- tiledata_ = nullptr;
- return temp;
- }
- inline ::t_tile_data* t_tile::_internal_mutable_tiledata() {
- _has_bits_[0] |= 0x00000001u;
- if (tiledata_ == nullptr) {
- auto* p = CreateMaybeMessage<::t_tile_data>(GetArena());
- tiledata_ = p;
- }
- return tiledata_;
- }
- inline ::t_tile_data* t_tile::mutable_tiledata() {
- // @@protoc_insertion_point(field_mutable:t_tile.tileData)
- return _internal_mutable_tiledata();
- }
- inline void t_tile::set_allocated_tiledata(::t_tile_data* tiledata) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
- if (message_arena == nullptr) {
- delete tiledata_;
- }
- if (tiledata) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(tiledata);
- if (message_arena != submessage_arena) {
- tiledata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, tiledata, submessage_arena);
- }
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- tiledata_ = tiledata;
- // @@protoc_insertion_point(field_set_allocated:t_tile.tileData)
- }
- // -------------------------------------------------------------------
- // t_tile_data
- // int32 type = 1;
- inline bool t_tile_data::_internal_has_type() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool t_tile_data::has_type() const {
- return _internal_has_type();
- }
- inline void t_tile_data::clear_type() {
- type_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_type() const {
- return type_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::type() const {
- // @@protoc_insertion_point(field_get:t_tile_data.type)
- return _internal_type();
- }
- inline void t_tile_data::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000001u;
- type_ = value;
- }
- inline void t_tile_data::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:t_tile_data.type)
- }
- // int32 subtype = 2;
- inline bool t_tile_data::_internal_has_subtype() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool t_tile_data::has_subtype() const {
- return _internal_has_subtype();
- }
- inline void t_tile_data::clear_subtype() {
- subtype_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_subtype() const {
- return subtype_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::subtype() const {
- // @@protoc_insertion_point(field_get:t_tile_data.subtype)
- return _internal_subtype();
- }
- inline void t_tile_data::_internal_set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- subtype_ = value;
- }
- inline void t_tile_data::set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_subtype(value);
- // @@protoc_insertion_point(field_set:t_tile_data.subtype)
- }
- // int32 id = 3;
- inline bool t_tile_data::_internal_has_id() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool t_tile_data::has_id() const {
- return _internal_has_id();
- }
- inline void t_tile_data::clear_id() {
- id_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_id() const {
- return id_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::id() const {
- // @@protoc_insertion_point(field_get:t_tile_data.id)
- return _internal_id();
- }
- inline void t_tile_data::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000004u;
- id_ = value;
- }
- inline void t_tile_data::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_id(value);
- // @@protoc_insertion_point(field_set:t_tile_data.id)
- }
- // int32 zv = 4;
- inline bool t_tile_data::_internal_has_zv() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool t_tile_data::has_zv() const {
- return _internal_has_zv();
- }
- inline void t_tile_data::clear_zv() {
- zv_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_zv() const {
- return zv_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::zv() const {
- // @@protoc_insertion_point(field_get:t_tile_data.zv)
- return _internal_zv();
- }
- inline void t_tile_data::_internal_set_zv(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- zv_ = value;
- }
- inline void t_tile_data::set_zv(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_zv(value);
- // @@protoc_insertion_point(field_set:t_tile_data.zv)
- }
- // int32 weight = 5;
- inline bool t_tile_data::_internal_has_weight() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool t_tile_data::has_weight() const {
- return _internal_has_weight();
- }
- inline void t_tile_data::clear_weight() {
- weight_ = 0;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_weight() const {
- return weight_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::weight() const {
- // @@protoc_insertion_point(field_get:t_tile_data.weight)
- return _internal_weight();
- }
- inline void t_tile_data::_internal_set_weight(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000010u;
- weight_ = value;
- }
- inline void t_tile_data::set_weight(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_weight(value);
- // @@protoc_insertion_point(field_set:t_tile_data.weight)
- }
- // -------------------------------------------------------------------
- // t_stack
- // repeated .t_tile_data tileDatas = 1;
- inline int t_stack::_internal_tiledatas_size() const {
- return tiledatas_.size();
- }
- inline int t_stack::tiledatas_size() const {
- return _internal_tiledatas_size();
- }
- inline void t_stack::clear_tiledatas() {
- tiledatas_.Clear();
- }
- inline ::t_tile_data* t_stack::mutable_tiledatas(int index) {
- // @@protoc_insertion_point(field_mutable:t_stack.tileDatas)
- return tiledatas_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >*
- t_stack::mutable_tiledatas() {
- // @@protoc_insertion_point(field_mutable_list:t_stack.tileDatas)
- return &tiledatas_;
- }
- inline const ::t_tile_data& t_stack::_internal_tiledatas(int index) const {
- return tiledatas_.Get(index);
- }
- inline const ::t_tile_data& t_stack::tiledatas(int index) const {
- // @@protoc_insertion_point(field_get:t_stack.tileDatas)
- return _internal_tiledatas(index);
- }
- inline ::t_tile_data* t_stack::_internal_add_tiledatas() {
- return tiledatas_.Add();
- }
- inline ::t_tile_data* t_stack::add_tiledatas() {
- // @@protoc_insertion_point(field_add:t_stack.tileDatas)
- return _internal_add_tiledatas();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >&
- t_stack::tiledatas() const {
- // @@protoc_insertion_point(field_list:t_stack.tileDatas)
- return tiledatas_;
- }
- // int32 x = 2;
- inline bool t_stack::_internal_has_x() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool t_stack::has_x() const {
- return _internal_has_x();
- }
- inline void t_stack::clear_x() {
- x_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_x() const {
- return x_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::x() const {
- // @@protoc_insertion_point(field_get:t_stack.x)
- return _internal_x();
- }
- inline void t_stack::_internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000001u;
- x_ = value;
- }
- inline void t_stack::set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:t_stack.x)
- }
- // int32 y = 3;
- inline bool t_stack::_internal_has_y() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool t_stack::has_y() const {
- return _internal_has_y();
- }
- inline void t_stack::clear_y() {
- y_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_y() const {
- return y_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::y() const {
- // @@protoc_insertion_point(field_get:t_stack.y)
- return _internal_y();
- }
- inline void t_stack::_internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000002u;
- y_ = value;
- }
- inline void t_stack::set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:t_stack.y)
- }
- // int32 direction = 4;
- inline bool t_stack::_internal_has_direction() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool t_stack::has_direction() const {
- return _internal_has_direction();
- }
- inline void t_stack::clear_direction() {
- direction_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_direction() const {
- return direction_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::direction() const {
- // @@protoc_insertion_point(field_get:t_stack.direction)
- return _internal_direction();
- }
- inline void t_stack::_internal_set_direction(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000004u;
- direction_ = value;
- }
- inline void t_stack::set_direction(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_direction(value);
- // @@protoc_insertion_point(field_set:t_stack.direction)
- }
- // int32 depth = 5;
- inline bool t_stack::_internal_has_depth() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool t_stack::has_depth() const {
- return _internal_has_depth();
- }
- inline void t_stack::clear_depth() {
- depth_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_depth() const {
- return depth_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::depth() const {
- // @@protoc_insertion_point(field_get:t_stack.depth)
- return _internal_depth();
- }
- inline void t_stack::_internal_set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- depth_ = value;
- }
- inline void t_stack::set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_depth(value);
- // @@protoc_insertion_point(field_set:t_stack.depth)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto
|