levelData.pb.h 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: levelData.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3015000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3015008 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/metadata_lite.h>
  25. #include <google/protobuf/message_lite.h>
  26. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  27. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  28. #include <google/protobuf/map.h> // IWYU pragma: export
  29. #include <google/protobuf/map_entry_lite.h>
  30. #include <google/protobuf/map_field_lite.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_levelData_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_levelData_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[7]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. class LevelData;
  52. struct LevelDataDefaultTypeInternal;
  53. extern LevelDataDefaultTypeInternal _LevelData_default_instance_;
  54. class LevelsIndex;
  55. struct LevelsIndexDefaultTypeInternal;
  56. extern LevelsIndexDefaultTypeInternal _LevelsIndex_default_instance_;
  57. class LevelsIndex_LevelsIndexEntry_DoNotUse;
  58. struct LevelsIndex_LevelsIndexEntry_DoNotUseDefaultTypeInternal;
  59. extern LevelsIndex_LevelsIndexEntry_DoNotUseDefaultTypeInternal _LevelsIndex_LevelsIndexEntry_DoNotUse_default_instance_;
  60. class t_offeset_len;
  61. struct t_offeset_lenDefaultTypeInternal;
  62. extern t_offeset_lenDefaultTypeInternal _t_offeset_len_default_instance_;
  63. class t_stack;
  64. struct t_stackDefaultTypeInternal;
  65. extern t_stackDefaultTypeInternal _t_stack_default_instance_;
  66. class t_tile;
  67. struct t_tileDefaultTypeInternal;
  68. extern t_tileDefaultTypeInternal _t_tile_default_instance_;
  69. class t_tile_data;
  70. struct t_tile_dataDefaultTypeInternal;
  71. extern t_tile_dataDefaultTypeInternal _t_tile_data_default_instance_;
  72. PROTOBUF_NAMESPACE_OPEN
  73. template<> ::LevelData* Arena::CreateMaybeMessage<::LevelData>(Arena*);
  74. template<> ::LevelsIndex* Arena::CreateMaybeMessage<::LevelsIndex>(Arena*);
  75. template<> ::LevelsIndex_LevelsIndexEntry_DoNotUse* Arena::CreateMaybeMessage<::LevelsIndex_LevelsIndexEntry_DoNotUse>(Arena*);
  76. template<> ::t_offeset_len* Arena::CreateMaybeMessage<::t_offeset_len>(Arena*);
  77. template<> ::t_stack* Arena::CreateMaybeMessage<::t_stack>(Arena*);
  78. template<> ::t_tile* Arena::CreateMaybeMessage<::t_tile>(Arena*);
  79. template<> ::t_tile_data* Arena::CreateMaybeMessage<::t_tile_data>(Arena*);
  80. PROTOBUF_NAMESPACE_CLOSE
  81. // ===================================================================
  82. class LevelsIndex_LevelsIndexEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<LevelsIndex_LevelsIndexEntry_DoNotUse,
  83. std::string, ::t_offeset_len,
  84. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  85. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
  86. public:
  87. typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<LevelsIndex_LevelsIndexEntry_DoNotUse,
  88. std::string, ::t_offeset_len,
  89. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  90. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
  91. LevelsIndex_LevelsIndexEntry_DoNotUse();
  92. explicit constexpr LevelsIndex_LevelsIndexEntry_DoNotUse(
  93. ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  94. explicit LevelsIndex_LevelsIndexEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  95. void MergeFrom(const LevelsIndex_LevelsIndexEntry_DoNotUse& other);
  96. static const LevelsIndex_LevelsIndexEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const LevelsIndex_LevelsIndexEntry_DoNotUse*>(&_LevelsIndex_LevelsIndexEntry_DoNotUse_default_instance_); }
  97. static bool ValidateKey(std::string* s) {
  98. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "LevelsIndex.LevelsIndexEntry.key");
  99. }
  100. static bool ValidateValue(void*) { return true; }
  101. };
  102. // -------------------------------------------------------------------
  103. class LevelsIndex PROTOBUF_FINAL :
  104. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:LevelsIndex) */ {
  105. public:
  106. inline LevelsIndex() : LevelsIndex(nullptr) {}
  107. virtual ~LevelsIndex();
  108. explicit constexpr LevelsIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  109. LevelsIndex(const LevelsIndex& from);
  110. LevelsIndex(LevelsIndex&& from) noexcept
  111. : LevelsIndex() {
  112. *this = ::std::move(from);
  113. }
  114. inline LevelsIndex& operator=(const LevelsIndex& from) {
  115. CopyFrom(from);
  116. return *this;
  117. }
  118. inline LevelsIndex& operator=(LevelsIndex&& from) noexcept {
  119. if (GetArena() == from.GetArena()) {
  120. if (this != &from) InternalSwap(&from);
  121. } else {
  122. CopyFrom(from);
  123. }
  124. return *this;
  125. }
  126. static const LevelsIndex& default_instance() {
  127. return *internal_default_instance();
  128. }
  129. static inline const LevelsIndex* internal_default_instance() {
  130. return reinterpret_cast<const LevelsIndex*>(
  131. &_LevelsIndex_default_instance_);
  132. }
  133. static constexpr int kIndexInFileMessages =
  134. 1;
  135. friend void swap(LevelsIndex& a, LevelsIndex& b) {
  136. a.Swap(&b);
  137. }
  138. inline void Swap(LevelsIndex* other) {
  139. if (other == this) return;
  140. if (GetArena() == other->GetArena()) {
  141. InternalSwap(other);
  142. } else {
  143. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  144. }
  145. }
  146. void UnsafeArenaSwap(LevelsIndex* other) {
  147. if (other == this) return;
  148. GOOGLE_DCHECK(GetArena() == other->GetArena());
  149. InternalSwap(other);
  150. }
  151. // implements Message ----------------------------------------------
  152. inline LevelsIndex* New() const final {
  153. return CreateMaybeMessage<LevelsIndex>(nullptr);
  154. }
  155. LevelsIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  156. return CreateMaybeMessage<LevelsIndex>(arena);
  157. }
  158. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  159. final;
  160. void CopyFrom(const LevelsIndex& from);
  161. void MergeFrom(const LevelsIndex& from);
  162. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  163. bool IsInitialized() const final;
  164. size_t ByteSizeLong() const final;
  165. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  166. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  167. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  168. void DiscardUnknownFields();
  169. int GetCachedSize() const final { return _cached_size_.Get(); }
  170. private:
  171. inline void SharedCtor();
  172. inline void SharedDtor();
  173. void SetCachedSize(int size) const;
  174. void InternalSwap(LevelsIndex* other);
  175. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  176. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  177. return "LevelsIndex";
  178. }
  179. protected:
  180. explicit LevelsIndex(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  181. private:
  182. static void ArenaDtor(void* object);
  183. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  184. public:
  185. std::string GetTypeName() const final;
  186. // nested types ----------------------------------------------------
  187. // accessors -------------------------------------------------------
  188. enum : int {
  189. kLevelsIndexFieldNumber = 1,
  190. };
  191. // map<string, .t_offeset_len> LevelsIndex = 1;
  192. int levelsindex_size() const;
  193. private:
  194. int _internal_levelsindex_size() const;
  195. public:
  196. void clear_levelsindex();
  197. private:
  198. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
  199. _internal_levelsindex() const;
  200. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
  201. _internal_mutable_levelsindex();
  202. public:
  203. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
  204. levelsindex() const;
  205. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
  206. mutable_levelsindex();
  207. // @@protoc_insertion_point(class_scope:LevelsIndex)
  208. private:
  209. class _Internal;
  210. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  211. typedef void InternalArenaConstructable_;
  212. typedef void DestructorSkippable_;
  213. ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
  214. LevelsIndex_LevelsIndexEntry_DoNotUse,
  215. std::string, ::t_offeset_len,
  216. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  217. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> levelsindex_;
  218. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  219. friend struct ::TableStruct_levelData_2eproto;
  220. };
  221. // -------------------------------------------------------------------
  222. class t_offeset_len PROTOBUF_FINAL :
  223. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_offeset_len) */ {
  224. public:
  225. inline t_offeset_len() : t_offeset_len(nullptr) {}
  226. virtual ~t_offeset_len();
  227. explicit constexpr t_offeset_len(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  228. t_offeset_len(const t_offeset_len& from);
  229. t_offeset_len(t_offeset_len&& from) noexcept
  230. : t_offeset_len() {
  231. *this = ::std::move(from);
  232. }
  233. inline t_offeset_len& operator=(const t_offeset_len& from) {
  234. CopyFrom(from);
  235. return *this;
  236. }
  237. inline t_offeset_len& operator=(t_offeset_len&& from) noexcept {
  238. if (GetArena() == from.GetArena()) {
  239. if (this != &from) InternalSwap(&from);
  240. } else {
  241. CopyFrom(from);
  242. }
  243. return *this;
  244. }
  245. static const t_offeset_len& default_instance() {
  246. return *internal_default_instance();
  247. }
  248. static inline const t_offeset_len* internal_default_instance() {
  249. return reinterpret_cast<const t_offeset_len*>(
  250. &_t_offeset_len_default_instance_);
  251. }
  252. static constexpr int kIndexInFileMessages =
  253. 2;
  254. friend void swap(t_offeset_len& a, t_offeset_len& b) {
  255. a.Swap(&b);
  256. }
  257. inline void Swap(t_offeset_len* other) {
  258. if (other == this) return;
  259. if (GetArena() == other->GetArena()) {
  260. InternalSwap(other);
  261. } else {
  262. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  263. }
  264. }
  265. void UnsafeArenaSwap(t_offeset_len* other) {
  266. if (other == this) return;
  267. GOOGLE_DCHECK(GetArena() == other->GetArena());
  268. InternalSwap(other);
  269. }
  270. // implements Message ----------------------------------------------
  271. inline t_offeset_len* New() const final {
  272. return CreateMaybeMessage<t_offeset_len>(nullptr);
  273. }
  274. t_offeset_len* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  275. return CreateMaybeMessage<t_offeset_len>(arena);
  276. }
  277. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  278. final;
  279. void CopyFrom(const t_offeset_len& from);
  280. void MergeFrom(const t_offeset_len& from);
  281. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  282. bool IsInitialized() const final;
  283. size_t ByteSizeLong() const final;
  284. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  285. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  286. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  287. void DiscardUnknownFields();
  288. int GetCachedSize() const final { return _cached_size_.Get(); }
  289. private:
  290. inline void SharedCtor();
  291. inline void SharedDtor();
  292. void SetCachedSize(int size) const;
  293. void InternalSwap(t_offeset_len* other);
  294. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  295. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  296. return "t_offeset_len";
  297. }
  298. protected:
  299. explicit t_offeset_len(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  300. private:
  301. static void ArenaDtor(void* object);
  302. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  303. public:
  304. std::string GetTypeName() const final;
  305. // nested types ----------------------------------------------------
  306. // accessors -------------------------------------------------------
  307. enum : int {
  308. kOffsetFieldNumber = 1,
  309. kLenFieldNumber = 2,
  310. };
  311. // int32 offset = 1;
  312. void clear_offset();
  313. ::PROTOBUF_NAMESPACE_ID::int32 offset() const;
  314. void set_offset(::PROTOBUF_NAMESPACE_ID::int32 value);
  315. private:
  316. ::PROTOBUF_NAMESPACE_ID::int32 _internal_offset() const;
  317. void _internal_set_offset(::PROTOBUF_NAMESPACE_ID::int32 value);
  318. public:
  319. // int32 len = 2;
  320. void clear_len();
  321. ::PROTOBUF_NAMESPACE_ID::int32 len() const;
  322. void set_len(::PROTOBUF_NAMESPACE_ID::int32 value);
  323. private:
  324. ::PROTOBUF_NAMESPACE_ID::int32 _internal_len() const;
  325. void _internal_set_len(::PROTOBUF_NAMESPACE_ID::int32 value);
  326. public:
  327. // @@protoc_insertion_point(class_scope:t_offeset_len)
  328. private:
  329. class _Internal;
  330. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  331. typedef void InternalArenaConstructable_;
  332. typedef void DestructorSkippable_;
  333. ::PROTOBUF_NAMESPACE_ID::int32 offset_;
  334. ::PROTOBUF_NAMESPACE_ID::int32 len_;
  335. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  336. friend struct ::TableStruct_levelData_2eproto;
  337. };
  338. // -------------------------------------------------------------------
  339. class LevelData PROTOBUF_FINAL :
  340. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:LevelData) */ {
  341. public:
  342. inline LevelData() : LevelData(nullptr) {}
  343. virtual ~LevelData();
  344. explicit constexpr LevelData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  345. LevelData(const LevelData& from);
  346. LevelData(LevelData&& from) noexcept
  347. : LevelData() {
  348. *this = ::std::move(from);
  349. }
  350. inline LevelData& operator=(const LevelData& from) {
  351. CopyFrom(from);
  352. return *this;
  353. }
  354. inline LevelData& operator=(LevelData&& from) noexcept {
  355. if (GetArena() == from.GetArena()) {
  356. if (this != &from) InternalSwap(&from);
  357. } else {
  358. CopyFrom(from);
  359. }
  360. return *this;
  361. }
  362. static const LevelData& default_instance() {
  363. return *internal_default_instance();
  364. }
  365. static inline const LevelData* internal_default_instance() {
  366. return reinterpret_cast<const LevelData*>(
  367. &_LevelData_default_instance_);
  368. }
  369. static constexpr int kIndexInFileMessages =
  370. 3;
  371. friend void swap(LevelData& a, LevelData& b) {
  372. a.Swap(&b);
  373. }
  374. inline void Swap(LevelData* other) {
  375. if (other == this) return;
  376. if (GetArena() == other->GetArena()) {
  377. InternalSwap(other);
  378. } else {
  379. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  380. }
  381. }
  382. void UnsafeArenaSwap(LevelData* other) {
  383. if (other == this) return;
  384. GOOGLE_DCHECK(GetArena() == other->GetArena());
  385. InternalSwap(other);
  386. }
  387. // implements Message ----------------------------------------------
  388. inline LevelData* New() const final {
  389. return CreateMaybeMessage<LevelData>(nullptr);
  390. }
  391. LevelData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  392. return CreateMaybeMessage<LevelData>(arena);
  393. }
  394. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  395. final;
  396. void CopyFrom(const LevelData& from);
  397. void MergeFrom(const LevelData& from);
  398. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  399. bool IsInitialized() const final;
  400. size_t ByteSizeLong() const final;
  401. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  402. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  403. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  404. void DiscardUnknownFields();
  405. int GetCachedSize() const final { return _cached_size_.Get(); }
  406. private:
  407. inline void SharedCtor();
  408. inline void SharedDtor();
  409. void SetCachedSize(int size) const;
  410. void InternalSwap(LevelData* other);
  411. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  412. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  413. return "LevelData";
  414. }
  415. protected:
  416. explicit LevelData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  417. private:
  418. static void ArenaDtor(void* object);
  419. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  420. public:
  421. std::string GetTypeName() const final;
  422. // nested types ----------------------------------------------------
  423. // accessors -------------------------------------------------------
  424. enum : int {
  425. kTilesFieldNumber = 1,
  426. kStacksFieldNumber = 2,
  427. kTileWidthFieldNumber = 3,
  428. kTileHeightFieldNumber = 4,
  429. };
  430. // repeated .t_tile tiles = 1;
  431. int tiles_size() const;
  432. private:
  433. int _internal_tiles_size() const;
  434. public:
  435. void clear_tiles();
  436. ::t_tile* mutable_tiles(int index);
  437. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >*
  438. mutable_tiles();
  439. private:
  440. const ::t_tile& _internal_tiles(int index) const;
  441. ::t_tile* _internal_add_tiles();
  442. public:
  443. const ::t_tile& tiles(int index) const;
  444. ::t_tile* add_tiles();
  445. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >&
  446. tiles() const;
  447. // repeated .t_stack stacks = 2;
  448. int stacks_size() const;
  449. private:
  450. int _internal_stacks_size() const;
  451. public:
  452. void clear_stacks();
  453. ::t_stack* mutable_stacks(int index);
  454. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >*
  455. mutable_stacks();
  456. private:
  457. const ::t_stack& _internal_stacks(int index) const;
  458. ::t_stack* _internal_add_stacks();
  459. public:
  460. const ::t_stack& stacks(int index) const;
  461. ::t_stack* add_stacks();
  462. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >&
  463. stacks() const;
  464. // int32 tileWidth = 3;
  465. bool has_tilewidth() const;
  466. private:
  467. bool _internal_has_tilewidth() const;
  468. public:
  469. void clear_tilewidth();
  470. ::PROTOBUF_NAMESPACE_ID::int32 tilewidth() const;
  471. void set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value);
  472. private:
  473. ::PROTOBUF_NAMESPACE_ID::int32 _internal_tilewidth() const;
  474. void _internal_set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value);
  475. public:
  476. // int32 tileHeight = 4;
  477. bool has_tileheight() const;
  478. private:
  479. bool _internal_has_tileheight() const;
  480. public:
  481. void clear_tileheight();
  482. ::PROTOBUF_NAMESPACE_ID::int32 tileheight() const;
  483. void set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value);
  484. private:
  485. ::PROTOBUF_NAMESPACE_ID::int32 _internal_tileheight() const;
  486. void _internal_set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value);
  487. public:
  488. // @@protoc_insertion_point(class_scope:LevelData)
  489. private:
  490. class _Internal;
  491. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  492. typedef void InternalArenaConstructable_;
  493. typedef void DestructorSkippable_;
  494. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  495. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  496. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile > tiles_;
  497. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack > stacks_;
  498. ::PROTOBUF_NAMESPACE_ID::int32 tilewidth_;
  499. ::PROTOBUF_NAMESPACE_ID::int32 tileheight_;
  500. friend struct ::TableStruct_levelData_2eproto;
  501. };
  502. // -------------------------------------------------------------------
  503. class t_tile PROTOBUF_FINAL :
  504. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_tile) */ {
  505. public:
  506. inline t_tile() : t_tile(nullptr) {}
  507. virtual ~t_tile();
  508. explicit constexpr t_tile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  509. t_tile(const t_tile& from);
  510. t_tile(t_tile&& from) noexcept
  511. : t_tile() {
  512. *this = ::std::move(from);
  513. }
  514. inline t_tile& operator=(const t_tile& from) {
  515. CopyFrom(from);
  516. return *this;
  517. }
  518. inline t_tile& operator=(t_tile&& from) noexcept {
  519. if (GetArena() == from.GetArena()) {
  520. if (this != &from) InternalSwap(&from);
  521. } else {
  522. CopyFrom(from);
  523. }
  524. return *this;
  525. }
  526. static const t_tile& default_instance() {
  527. return *internal_default_instance();
  528. }
  529. static inline const t_tile* internal_default_instance() {
  530. return reinterpret_cast<const t_tile*>(
  531. &_t_tile_default_instance_);
  532. }
  533. static constexpr int kIndexInFileMessages =
  534. 4;
  535. friend void swap(t_tile& a, t_tile& b) {
  536. a.Swap(&b);
  537. }
  538. inline void Swap(t_tile* other) {
  539. if (other == this) return;
  540. if (GetArena() == other->GetArena()) {
  541. InternalSwap(other);
  542. } else {
  543. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  544. }
  545. }
  546. void UnsafeArenaSwap(t_tile* other) {
  547. if (other == this) return;
  548. GOOGLE_DCHECK(GetArena() == other->GetArena());
  549. InternalSwap(other);
  550. }
  551. // implements Message ----------------------------------------------
  552. inline t_tile* New() const final {
  553. return CreateMaybeMessage<t_tile>(nullptr);
  554. }
  555. t_tile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  556. return CreateMaybeMessage<t_tile>(arena);
  557. }
  558. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  559. final;
  560. void CopyFrom(const t_tile& from);
  561. void MergeFrom(const t_tile& from);
  562. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  563. bool IsInitialized() const final;
  564. size_t ByteSizeLong() const final;
  565. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  566. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  567. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  568. void DiscardUnknownFields();
  569. int GetCachedSize() const final { return _cached_size_.Get(); }
  570. private:
  571. inline void SharedCtor();
  572. inline void SharedDtor();
  573. void SetCachedSize(int size) const;
  574. void InternalSwap(t_tile* other);
  575. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  576. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  577. return "t_tile";
  578. }
  579. protected:
  580. explicit t_tile(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  581. private:
  582. static void ArenaDtor(void* object);
  583. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  584. public:
  585. std::string GetTypeName() const final;
  586. // nested types ----------------------------------------------------
  587. // accessors -------------------------------------------------------
  588. enum : int {
  589. kTileDataFieldNumber = 4,
  590. kXFieldNumber = 1,
  591. kYFieldNumber = 2,
  592. kZFieldNumber = 3,
  593. };
  594. // .t_tile_data tileData = 4;
  595. bool has_tiledata() const;
  596. private:
  597. bool _internal_has_tiledata() const;
  598. public:
  599. void clear_tiledata();
  600. const ::t_tile_data& tiledata() const;
  601. ::t_tile_data* release_tiledata();
  602. ::t_tile_data* mutable_tiledata();
  603. void set_allocated_tiledata(::t_tile_data* tiledata);
  604. private:
  605. const ::t_tile_data& _internal_tiledata() const;
  606. ::t_tile_data* _internal_mutable_tiledata();
  607. public:
  608. void unsafe_arena_set_allocated_tiledata(
  609. ::t_tile_data* tiledata);
  610. ::t_tile_data* unsafe_arena_release_tiledata();
  611. // int32 x = 1;
  612. bool has_x() const;
  613. private:
  614. bool _internal_has_x() const;
  615. public:
  616. void clear_x();
  617. ::PROTOBUF_NAMESPACE_ID::int32 x() const;
  618. void set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
  619. private:
  620. ::PROTOBUF_NAMESPACE_ID::int32 _internal_x() const;
  621. void _internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
  622. public:
  623. // int32 y = 2;
  624. bool has_y() const;
  625. private:
  626. bool _internal_has_y() const;
  627. public:
  628. void clear_y();
  629. ::PROTOBUF_NAMESPACE_ID::int32 y() const;
  630. void set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
  631. private:
  632. ::PROTOBUF_NAMESPACE_ID::int32 _internal_y() const;
  633. void _internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
  634. public:
  635. // int32 z = 3;
  636. bool has_z() const;
  637. private:
  638. bool _internal_has_z() const;
  639. public:
  640. void clear_z();
  641. ::PROTOBUF_NAMESPACE_ID::int32 z() const;
  642. void set_z(::PROTOBUF_NAMESPACE_ID::int32 value);
  643. private:
  644. ::PROTOBUF_NAMESPACE_ID::int32 _internal_z() const;
  645. void _internal_set_z(::PROTOBUF_NAMESPACE_ID::int32 value);
  646. public:
  647. // @@protoc_insertion_point(class_scope:t_tile)
  648. private:
  649. class _Internal;
  650. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  651. typedef void InternalArenaConstructable_;
  652. typedef void DestructorSkippable_;
  653. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  654. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  655. ::t_tile_data* tiledata_;
  656. ::PROTOBUF_NAMESPACE_ID::int32 x_;
  657. ::PROTOBUF_NAMESPACE_ID::int32 y_;
  658. ::PROTOBUF_NAMESPACE_ID::int32 z_;
  659. friend struct ::TableStruct_levelData_2eproto;
  660. };
  661. // -------------------------------------------------------------------
  662. class t_tile_data PROTOBUF_FINAL :
  663. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_tile_data) */ {
  664. public:
  665. inline t_tile_data() : t_tile_data(nullptr) {}
  666. virtual ~t_tile_data();
  667. explicit constexpr t_tile_data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  668. t_tile_data(const t_tile_data& from);
  669. t_tile_data(t_tile_data&& from) noexcept
  670. : t_tile_data() {
  671. *this = ::std::move(from);
  672. }
  673. inline t_tile_data& operator=(const t_tile_data& from) {
  674. CopyFrom(from);
  675. return *this;
  676. }
  677. inline t_tile_data& operator=(t_tile_data&& from) noexcept {
  678. if (GetArena() == from.GetArena()) {
  679. if (this != &from) InternalSwap(&from);
  680. } else {
  681. CopyFrom(from);
  682. }
  683. return *this;
  684. }
  685. static const t_tile_data& default_instance() {
  686. return *internal_default_instance();
  687. }
  688. static inline const t_tile_data* internal_default_instance() {
  689. return reinterpret_cast<const t_tile_data*>(
  690. &_t_tile_data_default_instance_);
  691. }
  692. static constexpr int kIndexInFileMessages =
  693. 5;
  694. friend void swap(t_tile_data& a, t_tile_data& b) {
  695. a.Swap(&b);
  696. }
  697. inline void Swap(t_tile_data* other) {
  698. if (other == this) return;
  699. if (GetArena() == other->GetArena()) {
  700. InternalSwap(other);
  701. } else {
  702. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  703. }
  704. }
  705. void UnsafeArenaSwap(t_tile_data* other) {
  706. if (other == this) return;
  707. GOOGLE_DCHECK(GetArena() == other->GetArena());
  708. InternalSwap(other);
  709. }
  710. // implements Message ----------------------------------------------
  711. inline t_tile_data* New() const final {
  712. return CreateMaybeMessage<t_tile_data>(nullptr);
  713. }
  714. t_tile_data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  715. return CreateMaybeMessage<t_tile_data>(arena);
  716. }
  717. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  718. final;
  719. void CopyFrom(const t_tile_data& from);
  720. void MergeFrom(const t_tile_data& from);
  721. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  722. bool IsInitialized() const final;
  723. size_t ByteSizeLong() const final;
  724. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  725. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  726. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  727. void DiscardUnknownFields();
  728. int GetCachedSize() const final { return _cached_size_.Get(); }
  729. private:
  730. inline void SharedCtor();
  731. inline void SharedDtor();
  732. void SetCachedSize(int size) const;
  733. void InternalSwap(t_tile_data* other);
  734. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  735. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  736. return "t_tile_data";
  737. }
  738. protected:
  739. explicit t_tile_data(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  740. private:
  741. static void ArenaDtor(void* object);
  742. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  743. public:
  744. std::string GetTypeName() const final;
  745. // nested types ----------------------------------------------------
  746. // accessors -------------------------------------------------------
  747. enum : int {
  748. kTypeFieldNumber = 1,
  749. kSubtypeFieldNumber = 2,
  750. kIdFieldNumber = 3,
  751. kZvFieldNumber = 4,
  752. kWeightFieldNumber = 5,
  753. };
  754. // int32 type = 1;
  755. bool has_type() const;
  756. private:
  757. bool _internal_has_type() const;
  758. public:
  759. void clear_type();
  760. ::PROTOBUF_NAMESPACE_ID::int32 type() const;
  761. void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  762. private:
  763. ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
  764. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
  765. public:
  766. // int32 subtype = 2;
  767. bool has_subtype() const;
  768. private:
  769. bool _internal_has_subtype() const;
  770. public:
  771. void clear_subtype();
  772. ::PROTOBUF_NAMESPACE_ID::int32 subtype() const;
  773. void set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value);
  774. private:
  775. ::PROTOBUF_NAMESPACE_ID::int32 _internal_subtype() const;
  776. void _internal_set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value);
  777. public:
  778. // int32 id = 3;
  779. bool has_id() const;
  780. private:
  781. bool _internal_has_id() const;
  782. public:
  783. void clear_id();
  784. ::PROTOBUF_NAMESPACE_ID::int32 id() const;
  785. void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  786. private:
  787. ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
  788. void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  789. public:
  790. // int32 zv = 4;
  791. bool has_zv() const;
  792. private:
  793. bool _internal_has_zv() const;
  794. public:
  795. void clear_zv();
  796. ::PROTOBUF_NAMESPACE_ID::int32 zv() const;
  797. void set_zv(::PROTOBUF_NAMESPACE_ID::int32 value);
  798. private:
  799. ::PROTOBUF_NAMESPACE_ID::int32 _internal_zv() const;
  800. void _internal_set_zv(::PROTOBUF_NAMESPACE_ID::int32 value);
  801. public:
  802. // int32 weight = 5;
  803. bool has_weight() const;
  804. private:
  805. bool _internal_has_weight() const;
  806. public:
  807. void clear_weight();
  808. ::PROTOBUF_NAMESPACE_ID::int32 weight() const;
  809. void set_weight(::PROTOBUF_NAMESPACE_ID::int32 value);
  810. private:
  811. ::PROTOBUF_NAMESPACE_ID::int32 _internal_weight() const;
  812. void _internal_set_weight(::PROTOBUF_NAMESPACE_ID::int32 value);
  813. public:
  814. // @@protoc_insertion_point(class_scope:t_tile_data)
  815. private:
  816. class _Internal;
  817. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  818. typedef void InternalArenaConstructable_;
  819. typedef void DestructorSkippable_;
  820. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  821. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  822. ::PROTOBUF_NAMESPACE_ID::int32 type_;
  823. ::PROTOBUF_NAMESPACE_ID::int32 subtype_;
  824. ::PROTOBUF_NAMESPACE_ID::int32 id_;
  825. ::PROTOBUF_NAMESPACE_ID::int32 zv_;
  826. ::PROTOBUF_NAMESPACE_ID::int32 weight_;
  827. friend struct ::TableStruct_levelData_2eproto;
  828. };
  829. // -------------------------------------------------------------------
  830. class t_stack PROTOBUF_FINAL :
  831. public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:t_stack) */ {
  832. public:
  833. inline t_stack() : t_stack(nullptr) {}
  834. virtual ~t_stack();
  835. explicit constexpr t_stack(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  836. t_stack(const t_stack& from);
  837. t_stack(t_stack&& from) noexcept
  838. : t_stack() {
  839. *this = ::std::move(from);
  840. }
  841. inline t_stack& operator=(const t_stack& from) {
  842. CopyFrom(from);
  843. return *this;
  844. }
  845. inline t_stack& operator=(t_stack&& from) noexcept {
  846. if (GetArena() == from.GetArena()) {
  847. if (this != &from) InternalSwap(&from);
  848. } else {
  849. CopyFrom(from);
  850. }
  851. return *this;
  852. }
  853. static const t_stack& default_instance() {
  854. return *internal_default_instance();
  855. }
  856. static inline const t_stack* internal_default_instance() {
  857. return reinterpret_cast<const t_stack*>(
  858. &_t_stack_default_instance_);
  859. }
  860. static constexpr int kIndexInFileMessages =
  861. 6;
  862. friend void swap(t_stack& a, t_stack& b) {
  863. a.Swap(&b);
  864. }
  865. inline void Swap(t_stack* other) {
  866. if (other == this) return;
  867. if (GetArena() == other->GetArena()) {
  868. InternalSwap(other);
  869. } else {
  870. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  871. }
  872. }
  873. void UnsafeArenaSwap(t_stack* other) {
  874. if (other == this) return;
  875. GOOGLE_DCHECK(GetArena() == other->GetArena());
  876. InternalSwap(other);
  877. }
  878. // implements Message ----------------------------------------------
  879. inline t_stack* New() const final {
  880. return CreateMaybeMessage<t_stack>(nullptr);
  881. }
  882. t_stack* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  883. return CreateMaybeMessage<t_stack>(arena);
  884. }
  885. void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
  886. final;
  887. void CopyFrom(const t_stack& from);
  888. void MergeFrom(const t_stack& from);
  889. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  890. bool IsInitialized() const final;
  891. size_t ByteSizeLong() const final;
  892. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  893. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  894. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  895. void DiscardUnknownFields();
  896. int GetCachedSize() const final { return _cached_size_.Get(); }
  897. private:
  898. inline void SharedCtor();
  899. inline void SharedDtor();
  900. void SetCachedSize(int size) const;
  901. void InternalSwap(t_stack* other);
  902. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  903. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  904. return "t_stack";
  905. }
  906. protected:
  907. explicit t_stack(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  908. private:
  909. static void ArenaDtor(void* object);
  910. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  911. public:
  912. std::string GetTypeName() const final;
  913. // nested types ----------------------------------------------------
  914. // accessors -------------------------------------------------------
  915. enum : int {
  916. kTileDatasFieldNumber = 1,
  917. kXFieldNumber = 2,
  918. kYFieldNumber = 3,
  919. kDirectionFieldNumber = 4,
  920. kDepthFieldNumber = 5,
  921. };
  922. // repeated .t_tile_data tileDatas = 1;
  923. int tiledatas_size() const;
  924. private:
  925. int _internal_tiledatas_size() const;
  926. public:
  927. void clear_tiledatas();
  928. ::t_tile_data* mutable_tiledatas(int index);
  929. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >*
  930. mutable_tiledatas();
  931. private:
  932. const ::t_tile_data& _internal_tiledatas(int index) const;
  933. ::t_tile_data* _internal_add_tiledatas();
  934. public:
  935. const ::t_tile_data& tiledatas(int index) const;
  936. ::t_tile_data* add_tiledatas();
  937. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >&
  938. tiledatas() const;
  939. // int32 x = 2;
  940. bool has_x() const;
  941. private:
  942. bool _internal_has_x() const;
  943. public:
  944. void clear_x();
  945. ::PROTOBUF_NAMESPACE_ID::int32 x() const;
  946. void set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
  947. private:
  948. ::PROTOBUF_NAMESPACE_ID::int32 _internal_x() const;
  949. void _internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value);
  950. public:
  951. // int32 y = 3;
  952. bool has_y() const;
  953. private:
  954. bool _internal_has_y() const;
  955. public:
  956. void clear_y();
  957. ::PROTOBUF_NAMESPACE_ID::int32 y() const;
  958. void set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
  959. private:
  960. ::PROTOBUF_NAMESPACE_ID::int32 _internal_y() const;
  961. void _internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value);
  962. public:
  963. // int32 direction = 4;
  964. bool has_direction() const;
  965. private:
  966. bool _internal_has_direction() const;
  967. public:
  968. void clear_direction();
  969. ::PROTOBUF_NAMESPACE_ID::int32 direction() const;
  970. void set_direction(::PROTOBUF_NAMESPACE_ID::int32 value);
  971. private:
  972. ::PROTOBUF_NAMESPACE_ID::int32 _internal_direction() const;
  973. void _internal_set_direction(::PROTOBUF_NAMESPACE_ID::int32 value);
  974. public:
  975. // int32 depth = 5;
  976. bool has_depth() const;
  977. private:
  978. bool _internal_has_depth() const;
  979. public:
  980. void clear_depth();
  981. ::PROTOBUF_NAMESPACE_ID::int32 depth() const;
  982. void set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);
  983. private:
  984. ::PROTOBUF_NAMESPACE_ID::int32 _internal_depth() const;
  985. void _internal_set_depth(::PROTOBUF_NAMESPACE_ID::int32 value);
  986. public:
  987. // @@protoc_insertion_point(class_scope:t_stack)
  988. private:
  989. class _Internal;
  990. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  991. typedef void InternalArenaConstructable_;
  992. typedef void DestructorSkippable_;
  993. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  994. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  995. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data > tiledatas_;
  996. ::PROTOBUF_NAMESPACE_ID::int32 x_;
  997. ::PROTOBUF_NAMESPACE_ID::int32 y_;
  998. ::PROTOBUF_NAMESPACE_ID::int32 direction_;
  999. ::PROTOBUF_NAMESPACE_ID::int32 depth_;
  1000. friend struct ::TableStruct_levelData_2eproto;
  1001. };
  1002. // ===================================================================
  1003. // ===================================================================
  1004. #ifdef __GNUC__
  1005. #pragma GCC diagnostic push
  1006. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1007. #endif // __GNUC__
  1008. // -------------------------------------------------------------------
  1009. // LevelsIndex
  1010. // map<string, .t_offeset_len> LevelsIndex = 1;
  1011. inline int LevelsIndex::_internal_levelsindex_size() const {
  1012. return levelsindex_.size();
  1013. }
  1014. inline int LevelsIndex::levelsindex_size() const {
  1015. return _internal_levelsindex_size();
  1016. }
  1017. inline void LevelsIndex::clear_levelsindex() {
  1018. levelsindex_.Clear();
  1019. }
  1020. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
  1021. LevelsIndex::_internal_levelsindex() const {
  1022. return levelsindex_.GetMap();
  1023. }
  1024. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >&
  1025. LevelsIndex::levelsindex() const {
  1026. // @@protoc_insertion_point(field_map:LevelsIndex.LevelsIndex)
  1027. return _internal_levelsindex();
  1028. }
  1029. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
  1030. LevelsIndex::_internal_mutable_levelsindex() {
  1031. return levelsindex_.MutableMap();
  1032. }
  1033. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::t_offeset_len >*
  1034. LevelsIndex::mutable_levelsindex() {
  1035. // @@protoc_insertion_point(field_mutable_map:LevelsIndex.LevelsIndex)
  1036. return _internal_mutable_levelsindex();
  1037. }
  1038. // -------------------------------------------------------------------
  1039. // t_offeset_len
  1040. // int32 offset = 1;
  1041. inline void t_offeset_len::clear_offset() {
  1042. offset_ = 0;
  1043. }
  1044. inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::_internal_offset() const {
  1045. return offset_;
  1046. }
  1047. inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::offset() const {
  1048. // @@protoc_insertion_point(field_get:t_offeset_len.offset)
  1049. return _internal_offset();
  1050. }
  1051. inline void t_offeset_len::_internal_set_offset(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1052. offset_ = value;
  1053. }
  1054. inline void t_offeset_len::set_offset(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1055. _internal_set_offset(value);
  1056. // @@protoc_insertion_point(field_set:t_offeset_len.offset)
  1057. }
  1058. // int32 len = 2;
  1059. inline void t_offeset_len::clear_len() {
  1060. len_ = 0;
  1061. }
  1062. inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::_internal_len() const {
  1063. return len_;
  1064. }
  1065. inline ::PROTOBUF_NAMESPACE_ID::int32 t_offeset_len::len() const {
  1066. // @@protoc_insertion_point(field_get:t_offeset_len.len)
  1067. return _internal_len();
  1068. }
  1069. inline void t_offeset_len::_internal_set_len(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1070. len_ = value;
  1071. }
  1072. inline void t_offeset_len::set_len(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1073. _internal_set_len(value);
  1074. // @@protoc_insertion_point(field_set:t_offeset_len.len)
  1075. }
  1076. // -------------------------------------------------------------------
  1077. // LevelData
  1078. // repeated .t_tile tiles = 1;
  1079. inline int LevelData::_internal_tiles_size() const {
  1080. return tiles_.size();
  1081. }
  1082. inline int LevelData::tiles_size() const {
  1083. return _internal_tiles_size();
  1084. }
  1085. inline void LevelData::clear_tiles() {
  1086. tiles_.Clear();
  1087. }
  1088. inline ::t_tile* LevelData::mutable_tiles(int index) {
  1089. // @@protoc_insertion_point(field_mutable:LevelData.tiles)
  1090. return tiles_.Mutable(index);
  1091. }
  1092. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >*
  1093. LevelData::mutable_tiles() {
  1094. // @@protoc_insertion_point(field_mutable_list:LevelData.tiles)
  1095. return &tiles_;
  1096. }
  1097. inline const ::t_tile& LevelData::_internal_tiles(int index) const {
  1098. return tiles_.Get(index);
  1099. }
  1100. inline const ::t_tile& LevelData::tiles(int index) const {
  1101. // @@protoc_insertion_point(field_get:LevelData.tiles)
  1102. return _internal_tiles(index);
  1103. }
  1104. inline ::t_tile* LevelData::_internal_add_tiles() {
  1105. return tiles_.Add();
  1106. }
  1107. inline ::t_tile* LevelData::add_tiles() {
  1108. // @@protoc_insertion_point(field_add:LevelData.tiles)
  1109. return _internal_add_tiles();
  1110. }
  1111. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile >&
  1112. LevelData::tiles() const {
  1113. // @@protoc_insertion_point(field_list:LevelData.tiles)
  1114. return tiles_;
  1115. }
  1116. // repeated .t_stack stacks = 2;
  1117. inline int LevelData::_internal_stacks_size() const {
  1118. return stacks_.size();
  1119. }
  1120. inline int LevelData::stacks_size() const {
  1121. return _internal_stacks_size();
  1122. }
  1123. inline void LevelData::clear_stacks() {
  1124. stacks_.Clear();
  1125. }
  1126. inline ::t_stack* LevelData::mutable_stacks(int index) {
  1127. // @@protoc_insertion_point(field_mutable:LevelData.stacks)
  1128. return stacks_.Mutable(index);
  1129. }
  1130. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >*
  1131. LevelData::mutable_stacks() {
  1132. // @@protoc_insertion_point(field_mutable_list:LevelData.stacks)
  1133. return &stacks_;
  1134. }
  1135. inline const ::t_stack& LevelData::_internal_stacks(int index) const {
  1136. return stacks_.Get(index);
  1137. }
  1138. inline const ::t_stack& LevelData::stacks(int index) const {
  1139. // @@protoc_insertion_point(field_get:LevelData.stacks)
  1140. return _internal_stacks(index);
  1141. }
  1142. inline ::t_stack* LevelData::_internal_add_stacks() {
  1143. return stacks_.Add();
  1144. }
  1145. inline ::t_stack* LevelData::add_stacks() {
  1146. // @@protoc_insertion_point(field_add:LevelData.stacks)
  1147. return _internal_add_stacks();
  1148. }
  1149. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_stack >&
  1150. LevelData::stacks() const {
  1151. // @@protoc_insertion_point(field_list:LevelData.stacks)
  1152. return stacks_;
  1153. }
  1154. // int32 tileWidth = 3;
  1155. inline bool LevelData::_internal_has_tilewidth() const {
  1156. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1157. return value;
  1158. }
  1159. inline bool LevelData::has_tilewidth() const {
  1160. return _internal_has_tilewidth();
  1161. }
  1162. inline void LevelData::clear_tilewidth() {
  1163. tilewidth_ = 0;
  1164. _has_bits_[0] &= ~0x00000001u;
  1165. }
  1166. inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::_internal_tilewidth() const {
  1167. return tilewidth_;
  1168. }
  1169. inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::tilewidth() const {
  1170. // @@protoc_insertion_point(field_get:LevelData.tileWidth)
  1171. return _internal_tilewidth();
  1172. }
  1173. inline void LevelData::_internal_set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1174. _has_bits_[0] |= 0x00000001u;
  1175. tilewidth_ = value;
  1176. }
  1177. inline void LevelData::set_tilewidth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1178. _internal_set_tilewidth(value);
  1179. // @@protoc_insertion_point(field_set:LevelData.tileWidth)
  1180. }
  1181. // int32 tileHeight = 4;
  1182. inline bool LevelData::_internal_has_tileheight() const {
  1183. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1184. return value;
  1185. }
  1186. inline bool LevelData::has_tileheight() const {
  1187. return _internal_has_tileheight();
  1188. }
  1189. inline void LevelData::clear_tileheight() {
  1190. tileheight_ = 0;
  1191. _has_bits_[0] &= ~0x00000002u;
  1192. }
  1193. inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::_internal_tileheight() const {
  1194. return tileheight_;
  1195. }
  1196. inline ::PROTOBUF_NAMESPACE_ID::int32 LevelData::tileheight() const {
  1197. // @@protoc_insertion_point(field_get:LevelData.tileHeight)
  1198. return _internal_tileheight();
  1199. }
  1200. inline void LevelData::_internal_set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1201. _has_bits_[0] |= 0x00000002u;
  1202. tileheight_ = value;
  1203. }
  1204. inline void LevelData::set_tileheight(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1205. _internal_set_tileheight(value);
  1206. // @@protoc_insertion_point(field_set:LevelData.tileHeight)
  1207. }
  1208. // -------------------------------------------------------------------
  1209. // t_tile
  1210. // int32 x = 1;
  1211. inline bool t_tile::_internal_has_x() const {
  1212. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1213. return value;
  1214. }
  1215. inline bool t_tile::has_x() const {
  1216. return _internal_has_x();
  1217. }
  1218. inline void t_tile::clear_x() {
  1219. x_ = 0;
  1220. _has_bits_[0] &= ~0x00000002u;
  1221. }
  1222. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_x() const {
  1223. return x_;
  1224. }
  1225. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::x() const {
  1226. // @@protoc_insertion_point(field_get:t_tile.x)
  1227. return _internal_x();
  1228. }
  1229. inline void t_tile::_internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1230. _has_bits_[0] |= 0x00000002u;
  1231. x_ = value;
  1232. }
  1233. inline void t_tile::set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1234. _internal_set_x(value);
  1235. // @@protoc_insertion_point(field_set:t_tile.x)
  1236. }
  1237. // int32 y = 2;
  1238. inline bool t_tile::_internal_has_y() const {
  1239. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1240. return value;
  1241. }
  1242. inline bool t_tile::has_y() const {
  1243. return _internal_has_y();
  1244. }
  1245. inline void t_tile::clear_y() {
  1246. y_ = 0;
  1247. _has_bits_[0] &= ~0x00000004u;
  1248. }
  1249. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_y() const {
  1250. return y_;
  1251. }
  1252. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::y() const {
  1253. // @@protoc_insertion_point(field_get:t_tile.y)
  1254. return _internal_y();
  1255. }
  1256. inline void t_tile::_internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1257. _has_bits_[0] |= 0x00000004u;
  1258. y_ = value;
  1259. }
  1260. inline void t_tile::set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1261. _internal_set_y(value);
  1262. // @@protoc_insertion_point(field_set:t_tile.y)
  1263. }
  1264. // int32 z = 3;
  1265. inline bool t_tile::_internal_has_z() const {
  1266. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1267. return value;
  1268. }
  1269. inline bool t_tile::has_z() const {
  1270. return _internal_has_z();
  1271. }
  1272. inline void t_tile::clear_z() {
  1273. z_ = 0;
  1274. _has_bits_[0] &= ~0x00000008u;
  1275. }
  1276. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::_internal_z() const {
  1277. return z_;
  1278. }
  1279. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile::z() const {
  1280. // @@protoc_insertion_point(field_get:t_tile.z)
  1281. return _internal_z();
  1282. }
  1283. inline void t_tile::_internal_set_z(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1284. _has_bits_[0] |= 0x00000008u;
  1285. z_ = value;
  1286. }
  1287. inline void t_tile::set_z(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1288. _internal_set_z(value);
  1289. // @@protoc_insertion_point(field_set:t_tile.z)
  1290. }
  1291. // .t_tile_data tileData = 4;
  1292. inline bool t_tile::_internal_has_tiledata() const {
  1293. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1294. PROTOBUF_ASSUME(!value || tiledata_ != nullptr);
  1295. return value;
  1296. }
  1297. inline bool t_tile::has_tiledata() const {
  1298. return _internal_has_tiledata();
  1299. }
  1300. inline void t_tile::clear_tiledata() {
  1301. if (GetArena() == nullptr && tiledata_ != nullptr) {
  1302. delete tiledata_;
  1303. }
  1304. tiledata_ = nullptr;
  1305. _has_bits_[0] &= ~0x00000001u;
  1306. }
  1307. inline const ::t_tile_data& t_tile::_internal_tiledata() const {
  1308. const ::t_tile_data* p = tiledata_;
  1309. return p != nullptr ? *p : reinterpret_cast<const ::t_tile_data&>(
  1310. ::_t_tile_data_default_instance_);
  1311. }
  1312. inline const ::t_tile_data& t_tile::tiledata() const {
  1313. // @@protoc_insertion_point(field_get:t_tile.tileData)
  1314. return _internal_tiledata();
  1315. }
  1316. inline void t_tile::unsafe_arena_set_allocated_tiledata(
  1317. ::t_tile_data* tiledata) {
  1318. if (GetArena() == nullptr) {
  1319. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tiledata_);
  1320. }
  1321. tiledata_ = tiledata;
  1322. if (tiledata) {
  1323. _has_bits_[0] |= 0x00000001u;
  1324. } else {
  1325. _has_bits_[0] &= ~0x00000001u;
  1326. }
  1327. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:t_tile.tileData)
  1328. }
  1329. inline ::t_tile_data* t_tile::release_tiledata() {
  1330. _has_bits_[0] &= ~0x00000001u;
  1331. ::t_tile_data* temp = tiledata_;
  1332. tiledata_ = nullptr;
  1333. if (GetArena() != nullptr) {
  1334. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  1335. }
  1336. return temp;
  1337. }
  1338. inline ::t_tile_data* t_tile::unsafe_arena_release_tiledata() {
  1339. // @@protoc_insertion_point(field_release:t_tile.tileData)
  1340. _has_bits_[0] &= ~0x00000001u;
  1341. ::t_tile_data* temp = tiledata_;
  1342. tiledata_ = nullptr;
  1343. return temp;
  1344. }
  1345. inline ::t_tile_data* t_tile::_internal_mutable_tiledata() {
  1346. _has_bits_[0] |= 0x00000001u;
  1347. if (tiledata_ == nullptr) {
  1348. auto* p = CreateMaybeMessage<::t_tile_data>(GetArena());
  1349. tiledata_ = p;
  1350. }
  1351. return tiledata_;
  1352. }
  1353. inline ::t_tile_data* t_tile::mutable_tiledata() {
  1354. // @@protoc_insertion_point(field_mutable:t_tile.tileData)
  1355. return _internal_mutable_tiledata();
  1356. }
  1357. inline void t_tile::set_allocated_tiledata(::t_tile_data* tiledata) {
  1358. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  1359. if (message_arena == nullptr) {
  1360. delete tiledata_;
  1361. }
  1362. if (tiledata) {
  1363. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1364. ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(tiledata);
  1365. if (message_arena != submessage_arena) {
  1366. tiledata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1367. message_arena, tiledata, submessage_arena);
  1368. }
  1369. _has_bits_[0] |= 0x00000001u;
  1370. } else {
  1371. _has_bits_[0] &= ~0x00000001u;
  1372. }
  1373. tiledata_ = tiledata;
  1374. // @@protoc_insertion_point(field_set_allocated:t_tile.tileData)
  1375. }
  1376. // -------------------------------------------------------------------
  1377. // t_tile_data
  1378. // int32 type = 1;
  1379. inline bool t_tile_data::_internal_has_type() const {
  1380. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1381. return value;
  1382. }
  1383. inline bool t_tile_data::has_type() const {
  1384. return _internal_has_type();
  1385. }
  1386. inline void t_tile_data::clear_type() {
  1387. type_ = 0;
  1388. _has_bits_[0] &= ~0x00000001u;
  1389. }
  1390. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_type() const {
  1391. return type_;
  1392. }
  1393. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::type() const {
  1394. // @@protoc_insertion_point(field_get:t_tile_data.type)
  1395. return _internal_type();
  1396. }
  1397. inline void t_tile_data::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1398. _has_bits_[0] |= 0x00000001u;
  1399. type_ = value;
  1400. }
  1401. inline void t_tile_data::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1402. _internal_set_type(value);
  1403. // @@protoc_insertion_point(field_set:t_tile_data.type)
  1404. }
  1405. // int32 subtype = 2;
  1406. inline bool t_tile_data::_internal_has_subtype() const {
  1407. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1408. return value;
  1409. }
  1410. inline bool t_tile_data::has_subtype() const {
  1411. return _internal_has_subtype();
  1412. }
  1413. inline void t_tile_data::clear_subtype() {
  1414. subtype_ = 0;
  1415. _has_bits_[0] &= ~0x00000002u;
  1416. }
  1417. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_subtype() const {
  1418. return subtype_;
  1419. }
  1420. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::subtype() const {
  1421. // @@protoc_insertion_point(field_get:t_tile_data.subtype)
  1422. return _internal_subtype();
  1423. }
  1424. inline void t_tile_data::_internal_set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1425. _has_bits_[0] |= 0x00000002u;
  1426. subtype_ = value;
  1427. }
  1428. inline void t_tile_data::set_subtype(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1429. _internal_set_subtype(value);
  1430. // @@protoc_insertion_point(field_set:t_tile_data.subtype)
  1431. }
  1432. // int32 id = 3;
  1433. inline bool t_tile_data::_internal_has_id() const {
  1434. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1435. return value;
  1436. }
  1437. inline bool t_tile_data::has_id() const {
  1438. return _internal_has_id();
  1439. }
  1440. inline void t_tile_data::clear_id() {
  1441. id_ = 0;
  1442. _has_bits_[0] &= ~0x00000004u;
  1443. }
  1444. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_id() const {
  1445. return id_;
  1446. }
  1447. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::id() const {
  1448. // @@protoc_insertion_point(field_get:t_tile_data.id)
  1449. return _internal_id();
  1450. }
  1451. inline void t_tile_data::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1452. _has_bits_[0] |= 0x00000004u;
  1453. id_ = value;
  1454. }
  1455. inline void t_tile_data::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1456. _internal_set_id(value);
  1457. // @@protoc_insertion_point(field_set:t_tile_data.id)
  1458. }
  1459. // int32 zv = 4;
  1460. inline bool t_tile_data::_internal_has_zv() const {
  1461. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1462. return value;
  1463. }
  1464. inline bool t_tile_data::has_zv() const {
  1465. return _internal_has_zv();
  1466. }
  1467. inline void t_tile_data::clear_zv() {
  1468. zv_ = 0;
  1469. _has_bits_[0] &= ~0x00000008u;
  1470. }
  1471. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_zv() const {
  1472. return zv_;
  1473. }
  1474. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::zv() const {
  1475. // @@protoc_insertion_point(field_get:t_tile_data.zv)
  1476. return _internal_zv();
  1477. }
  1478. inline void t_tile_data::_internal_set_zv(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1479. _has_bits_[0] |= 0x00000008u;
  1480. zv_ = value;
  1481. }
  1482. inline void t_tile_data::set_zv(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1483. _internal_set_zv(value);
  1484. // @@protoc_insertion_point(field_set:t_tile_data.zv)
  1485. }
  1486. // int32 weight = 5;
  1487. inline bool t_tile_data::_internal_has_weight() const {
  1488. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  1489. return value;
  1490. }
  1491. inline bool t_tile_data::has_weight() const {
  1492. return _internal_has_weight();
  1493. }
  1494. inline void t_tile_data::clear_weight() {
  1495. weight_ = 0;
  1496. _has_bits_[0] &= ~0x00000010u;
  1497. }
  1498. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::_internal_weight() const {
  1499. return weight_;
  1500. }
  1501. inline ::PROTOBUF_NAMESPACE_ID::int32 t_tile_data::weight() const {
  1502. // @@protoc_insertion_point(field_get:t_tile_data.weight)
  1503. return _internal_weight();
  1504. }
  1505. inline void t_tile_data::_internal_set_weight(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1506. _has_bits_[0] |= 0x00000010u;
  1507. weight_ = value;
  1508. }
  1509. inline void t_tile_data::set_weight(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1510. _internal_set_weight(value);
  1511. // @@protoc_insertion_point(field_set:t_tile_data.weight)
  1512. }
  1513. // -------------------------------------------------------------------
  1514. // t_stack
  1515. // repeated .t_tile_data tileDatas = 1;
  1516. inline int t_stack::_internal_tiledatas_size() const {
  1517. return tiledatas_.size();
  1518. }
  1519. inline int t_stack::tiledatas_size() const {
  1520. return _internal_tiledatas_size();
  1521. }
  1522. inline void t_stack::clear_tiledatas() {
  1523. tiledatas_.Clear();
  1524. }
  1525. inline ::t_tile_data* t_stack::mutable_tiledatas(int index) {
  1526. // @@protoc_insertion_point(field_mutable:t_stack.tileDatas)
  1527. return tiledatas_.Mutable(index);
  1528. }
  1529. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >*
  1530. t_stack::mutable_tiledatas() {
  1531. // @@protoc_insertion_point(field_mutable_list:t_stack.tileDatas)
  1532. return &tiledatas_;
  1533. }
  1534. inline const ::t_tile_data& t_stack::_internal_tiledatas(int index) const {
  1535. return tiledatas_.Get(index);
  1536. }
  1537. inline const ::t_tile_data& t_stack::tiledatas(int index) const {
  1538. // @@protoc_insertion_point(field_get:t_stack.tileDatas)
  1539. return _internal_tiledatas(index);
  1540. }
  1541. inline ::t_tile_data* t_stack::_internal_add_tiledatas() {
  1542. return tiledatas_.Add();
  1543. }
  1544. inline ::t_tile_data* t_stack::add_tiledatas() {
  1545. // @@protoc_insertion_point(field_add:t_stack.tileDatas)
  1546. return _internal_add_tiledatas();
  1547. }
  1548. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::t_tile_data >&
  1549. t_stack::tiledatas() const {
  1550. // @@protoc_insertion_point(field_list:t_stack.tileDatas)
  1551. return tiledatas_;
  1552. }
  1553. // int32 x = 2;
  1554. inline bool t_stack::_internal_has_x() const {
  1555. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  1556. return value;
  1557. }
  1558. inline bool t_stack::has_x() const {
  1559. return _internal_has_x();
  1560. }
  1561. inline void t_stack::clear_x() {
  1562. x_ = 0;
  1563. _has_bits_[0] &= ~0x00000001u;
  1564. }
  1565. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_x() const {
  1566. return x_;
  1567. }
  1568. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::x() const {
  1569. // @@protoc_insertion_point(field_get:t_stack.x)
  1570. return _internal_x();
  1571. }
  1572. inline void t_stack::_internal_set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1573. _has_bits_[0] |= 0x00000001u;
  1574. x_ = value;
  1575. }
  1576. inline void t_stack::set_x(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1577. _internal_set_x(value);
  1578. // @@protoc_insertion_point(field_set:t_stack.x)
  1579. }
  1580. // int32 y = 3;
  1581. inline bool t_stack::_internal_has_y() const {
  1582. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1583. return value;
  1584. }
  1585. inline bool t_stack::has_y() const {
  1586. return _internal_has_y();
  1587. }
  1588. inline void t_stack::clear_y() {
  1589. y_ = 0;
  1590. _has_bits_[0] &= ~0x00000002u;
  1591. }
  1592. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_y() const {
  1593. return y_;
  1594. }
  1595. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::y() const {
  1596. // @@protoc_insertion_point(field_get:t_stack.y)
  1597. return _internal_y();
  1598. }
  1599. inline void t_stack::_internal_set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1600. _has_bits_[0] |= 0x00000002u;
  1601. y_ = value;
  1602. }
  1603. inline void t_stack::set_y(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1604. _internal_set_y(value);
  1605. // @@protoc_insertion_point(field_set:t_stack.y)
  1606. }
  1607. // int32 direction = 4;
  1608. inline bool t_stack::_internal_has_direction() const {
  1609. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1610. return value;
  1611. }
  1612. inline bool t_stack::has_direction() const {
  1613. return _internal_has_direction();
  1614. }
  1615. inline void t_stack::clear_direction() {
  1616. direction_ = 0;
  1617. _has_bits_[0] &= ~0x00000004u;
  1618. }
  1619. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_direction() const {
  1620. return direction_;
  1621. }
  1622. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::direction() const {
  1623. // @@protoc_insertion_point(field_get:t_stack.direction)
  1624. return _internal_direction();
  1625. }
  1626. inline void t_stack::_internal_set_direction(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1627. _has_bits_[0] |= 0x00000004u;
  1628. direction_ = value;
  1629. }
  1630. inline void t_stack::set_direction(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1631. _internal_set_direction(value);
  1632. // @@protoc_insertion_point(field_set:t_stack.direction)
  1633. }
  1634. // int32 depth = 5;
  1635. inline bool t_stack::_internal_has_depth() const {
  1636. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  1637. return value;
  1638. }
  1639. inline bool t_stack::has_depth() const {
  1640. return _internal_has_depth();
  1641. }
  1642. inline void t_stack::clear_depth() {
  1643. depth_ = 0;
  1644. _has_bits_[0] &= ~0x00000008u;
  1645. }
  1646. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::_internal_depth() const {
  1647. return depth_;
  1648. }
  1649. inline ::PROTOBUF_NAMESPACE_ID::int32 t_stack::depth() const {
  1650. // @@protoc_insertion_point(field_get:t_stack.depth)
  1651. return _internal_depth();
  1652. }
  1653. inline void t_stack::_internal_set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1654. _has_bits_[0] |= 0x00000008u;
  1655. depth_ = value;
  1656. }
  1657. inline void t_stack::set_depth(::PROTOBUF_NAMESPACE_ID::int32 value) {
  1658. _internal_set_depth(value);
  1659. // @@protoc_insertion_point(field_set:t_stack.depth)
  1660. }
  1661. #ifdef __GNUC__
  1662. #pragma GCC diagnostic pop
  1663. #endif // __GNUC__
  1664. // -------------------------------------------------------------------
  1665. // -------------------------------------------------------------------
  1666. // -------------------------------------------------------------------
  1667. // -------------------------------------------------------------------
  1668. // -------------------------------------------------------------------
  1669. // -------------------------------------------------------------------
  1670. // @@protoc_insertion_point(namespace_scope)
  1671. // @@protoc_insertion_point(global_scope)
  1672. #include <google/protobuf/port_undef.inc>
  1673. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_levelData_2eproto