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

MessageType.pb.h 15 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: MessageType.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  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 3019004 < 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/generated_message_reflection.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/generated_enum_reflection.h>
  29. // @@protoc_insertion_point(includes)
  30. #include <google/protobuf/port_def.inc>
  31. #define PROTOBUF_INTERNAL_EXPORT_MessageType_2eproto
  32. PROTOBUF_NAMESPACE_OPEN
  33. namespace internal
  34. {
  35. class AnyMetadata;
  36. } // namespace internal
  37. PROTOBUF_NAMESPACE_CLOSE
  38. // Internal implementation detail -- do not use these members.
  39. struct TableStruct_MessageType_2eproto
  40. {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  46. static const uint32_t offsets[];
  47. };
  48. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_MessageType_2eproto;
  49. PROTOBUF_NAMESPACE_OPEN
  50. PROTOBUF_NAMESPACE_CLOSE
  51. namespace protobuf
  52. {
  53. enum PlaceType : int
  54. {
  55. NULL_PLACE_TYPE = 0,
  56. LAND = 1,
  57. WALL = 2,
  58. GRASS = 3,
  59. MACHINE = 4,
  60. GATE = 5,
  61. HIDDEN_GATE = 6,
  62. PlaceType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  63. PlaceType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  64. };
  65. bool PlaceType_IsValid(int value);
  66. constexpr PlaceType PlaceType_MIN = NULL_PLACE_TYPE;
  67. constexpr PlaceType PlaceType_MAX = HIDDEN_GATE;
  68. constexpr int PlaceType_ARRAYSIZE = PlaceType_MAX + 1;
  69. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlaceType_descriptor();
  70. template<typename T>
  71. inline const std::string& PlaceType_Name(T enum_t_value)
  72. {
  73. static_assert(::std::is_same<T, PlaceType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function PlaceType_Name.");
  74. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  75. PlaceType_descriptor(), enum_t_value
  76. );
  77. }
  78. inline bool PlaceType_Parse(
  79. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlaceType* value
  80. )
  81. {
  82. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlaceType>(
  83. PlaceType_descriptor(), name, value
  84. );
  85. }
  86. enum ShapeType : int
  87. {
  88. NULL_SHAPE_TYPE = 0,
  89. CIRCLE = 1,
  90. SQUARE = 2,
  91. ShapeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  92. ShapeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  93. };
  94. bool ShapeType_IsValid(int value);
  95. constexpr ShapeType ShapeType_MIN = NULL_SHAPE_TYPE;
  96. constexpr ShapeType ShapeType_MAX = SQUARE;
  97. constexpr int ShapeType_ARRAYSIZE = ShapeType_MAX + 1;
  98. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ShapeType_descriptor();
  99. template<typename T>
  100. inline const std::string& ShapeType_Name(T enum_t_value)
  101. {
  102. static_assert(::std::is_same<T, ShapeType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function ShapeType_Name.");
  103. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  104. ShapeType_descriptor(), enum_t_value
  105. );
  106. }
  107. inline bool ShapeType_Parse(
  108. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShapeType* value
  109. )
  110. {
  111. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ShapeType>(
  112. ShapeType_descriptor(), name, value
  113. );
  114. }
  115. enum PropType : int
  116. {
  117. NULL_PROP_TYPE = 0,
  118. PTYPE1 = 1,
  119. PTYPE2 = 2,
  120. PTYPE3 = 3,
  121. PTYPE4 = 4,
  122. PropType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  123. PropType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  124. };
  125. bool PropType_IsValid(int value);
  126. constexpr PropType PropType_MIN = NULL_PROP_TYPE;
  127. constexpr PropType PropType_MAX = PTYPE4;
  128. constexpr int PropType_ARRAYSIZE = PropType_MAX + 1;
  129. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PropType_descriptor();
  130. template<typename T>
  131. inline const std::string& PropType_Name(T enum_t_value)
  132. {
  133. static_assert(::std::is_same<T, PropType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function PropType_Name.");
  134. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  135. PropType_descriptor(), enum_t_value
  136. );
  137. }
  138. inline bool PropType_Parse(
  139. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PropType* value
  140. )
  141. {
  142. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PropType>(
  143. PropType_descriptor(), name, value
  144. );
  145. }
  146. enum HumanBuffType : int
  147. {
  148. NULL_HBUFF_TYPE = 0,
  149. HBUFFTYPE1 = 1,
  150. HBUFFTYPE2 = 2,
  151. HBUFFTYPE3 = 3,
  152. HBUFFTYPE4 = 4,
  153. HumanBuffType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  154. HumanBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  155. };
  156. bool HumanBuffType_IsValid(int value);
  157. constexpr HumanBuffType HumanBuffType_MIN = NULL_HBUFF_TYPE;
  158. constexpr HumanBuffType HumanBuffType_MAX = HBUFFTYPE4;
  159. constexpr int HumanBuffType_ARRAYSIZE = HumanBuffType_MAX + 1;
  160. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HumanBuffType_descriptor();
  161. template<typename T>
  162. inline const std::string& HumanBuffType_Name(T enum_t_value)
  163. {
  164. static_assert(::std::is_same<T, HumanBuffType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function HumanBuffType_Name.");
  165. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  166. HumanBuffType_descriptor(), enum_t_value
  167. );
  168. }
  169. inline bool HumanBuffType_Parse(
  170. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HumanBuffType* value
  171. )
  172. {
  173. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<HumanBuffType>(
  174. HumanBuffType_descriptor(), name, value
  175. );
  176. }
  177. enum ButcherBuffType : int
  178. {
  179. NULL_BBUFF_TYPE = 0,
  180. BBUFFTYPE1 = 1,
  181. BBUFFTYPE2 = 2,
  182. BBUFFTYPE3 = 3,
  183. BBUFFTYPE4 = 4,
  184. ButcherBuffType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  185. ButcherBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  186. };
  187. bool ButcherBuffType_IsValid(int value);
  188. constexpr ButcherBuffType ButcherBuffType_MIN = NULL_BBUFF_TYPE;
  189. constexpr ButcherBuffType ButcherBuffType_MAX = BBUFFTYPE4;
  190. constexpr int ButcherBuffType_ARRAYSIZE = ButcherBuffType_MAX + 1;
  191. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ButcherBuffType_descriptor();
  192. template<typename T>
  193. inline const std::string& ButcherBuffType_Name(T enum_t_value)
  194. {
  195. static_assert(::std::is_same<T, ButcherBuffType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function ButcherBuffType_Name.");
  196. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  197. ButcherBuffType_descriptor(), enum_t_value
  198. );
  199. }
  200. inline bool ButcherBuffType_Parse(
  201. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ButcherBuffType* value
  202. )
  203. {
  204. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ButcherBuffType>(
  205. ButcherBuffType_descriptor(), name, value
  206. );
  207. }
  208. enum PlayerType : int
  209. {
  210. NULL_PLAYER_TYPE = 0,
  211. HUMAN_PLAYER = 1,
  212. BUTCHER_PLAYER = 2,
  213. PlayerType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  214. PlayerType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  215. };
  216. bool PlayerType_IsValid(int value);
  217. constexpr PlayerType PlayerType_MIN = NULL_PLAYER_TYPE;
  218. constexpr PlayerType PlayerType_MAX = BUTCHER_PLAYER;
  219. constexpr int PlayerType_ARRAYSIZE = PlayerType_MAX + 1;
  220. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayerType_descriptor();
  221. template<typename T>
  222. inline const std::string& PlayerType_Name(T enum_t_value)
  223. {
  224. static_assert(::std::is_same<T, PlayerType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function PlayerType_Name.");
  225. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  226. PlayerType_descriptor(), enum_t_value
  227. );
  228. }
  229. inline bool PlayerType_Parse(
  230. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerType* value
  231. )
  232. {
  233. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayerType>(
  234. PlayerType_descriptor(), name, value
  235. );
  236. }
  237. enum HumanType : int
  238. {
  239. NULL_HUMAN_TYPE = 0,
  240. HUMANTYPE1 = 1,
  241. HUMANTYPE2 = 2,
  242. HUMANTYPE3 = 3,
  243. HUMANTYPE4 = 4,
  244. HumanType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  245. HumanType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  246. };
  247. bool HumanType_IsValid(int value);
  248. constexpr HumanType HumanType_MIN = NULL_HUMAN_TYPE;
  249. constexpr HumanType HumanType_MAX = HUMANTYPE4;
  250. constexpr int HumanType_ARRAYSIZE = HumanType_MAX + 1;
  251. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HumanType_descriptor();
  252. template<typename T>
  253. inline const std::string& HumanType_Name(T enum_t_value)
  254. {
  255. static_assert(::std::is_same<T, HumanType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function HumanType_Name.");
  256. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  257. HumanType_descriptor(), enum_t_value
  258. );
  259. }
  260. inline bool HumanType_Parse(
  261. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HumanType* value
  262. )
  263. {
  264. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<HumanType>(
  265. HumanType_descriptor(), name, value
  266. );
  267. }
  268. enum ButcherType : int
  269. {
  270. NULL_BUTCHER_TYPE = 0,
  271. BUTCHERTYPE1 = 1,
  272. BUTCHERTYPE2 = 2,
  273. BUTCHERTYPE3 = 3,
  274. BUTCHERTYPE4 = 4,
  275. ButcherType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  276. ButcherType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  277. };
  278. bool ButcherType_IsValid(int value);
  279. constexpr ButcherType ButcherType_MIN = NULL_BUTCHER_TYPE;
  280. constexpr ButcherType ButcherType_MAX = BUTCHERTYPE4;
  281. constexpr int ButcherType_ARRAYSIZE = ButcherType_MAX + 1;
  282. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ButcherType_descriptor();
  283. template<typename T>
  284. inline const std::string& ButcherType_Name(T enum_t_value)
  285. {
  286. static_assert(::std::is_same<T, ButcherType>::value || ::std::is_integral<T>::value, "Incorrect type passed to function ButcherType_Name.");
  287. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  288. ButcherType_descriptor(), enum_t_value
  289. );
  290. }
  291. inline bool ButcherType_Parse(
  292. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ButcherType* value
  293. )
  294. {
  295. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ButcherType>(
  296. ButcherType_descriptor(), name, value
  297. );
  298. }
  299. // ===================================================================
  300. // ===================================================================
  301. // ===================================================================
  302. #ifdef __GNUC__
  303. #pragma GCC diagnostic push
  304. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  305. #endif // __GNUC__
  306. #ifdef __GNUC__
  307. #pragma GCC diagnostic pop
  308. #endif // __GNUC__
  309. // @@protoc_insertion_point(namespace_scope)
  310. } // namespace protobuf
  311. PROTOBUF_NAMESPACE_OPEN
  312. template<>
  313. struct is_proto_enum<::protobuf::PlaceType> : ::std::true_type
  314. {
  315. };
  316. template<>
  317. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PlaceType>()
  318. {
  319. return ::protobuf::PlaceType_descriptor();
  320. }
  321. template<>
  322. struct is_proto_enum<::protobuf::ShapeType> : ::std::true_type
  323. {
  324. };
  325. template<>
  326. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::ShapeType>()
  327. {
  328. return ::protobuf::ShapeType_descriptor();
  329. }
  330. template<>
  331. struct is_proto_enum<::protobuf::PropType> : ::std::true_type
  332. {
  333. };
  334. template<>
  335. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PropType>()
  336. {
  337. return ::protobuf::PropType_descriptor();
  338. }
  339. template<>
  340. struct is_proto_enum<::protobuf::HumanBuffType> : ::std::true_type
  341. {
  342. };
  343. template<>
  344. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::HumanBuffType>()
  345. {
  346. return ::protobuf::HumanBuffType_descriptor();
  347. }
  348. template<>
  349. struct is_proto_enum<::protobuf::ButcherBuffType> : ::std::true_type
  350. {
  351. };
  352. template<>
  353. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::ButcherBuffType>()
  354. {
  355. return ::protobuf::ButcherBuffType_descriptor();
  356. }
  357. template<>
  358. struct is_proto_enum<::protobuf::PlayerType> : ::std::true_type
  359. {
  360. };
  361. template<>
  362. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PlayerType>()
  363. {
  364. return ::protobuf::PlayerType_descriptor();
  365. }
  366. template<>
  367. struct is_proto_enum<::protobuf::HumanType> : ::std::true_type
  368. {
  369. };
  370. template<>
  371. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::HumanType>()
  372. {
  373. return ::protobuf::HumanType_descriptor();
  374. }
  375. template<>
  376. struct is_proto_enum<::protobuf::ButcherType> : ::std::true_type
  377. {
  378. };
  379. template<>
  380. inline const EnumDescriptor* GetEnumDescriptor<::protobuf::ButcherType>()
  381. {
  382. return ::protobuf::ButcherType_descriptor();
  383. }
  384. PROTOBUF_NAMESPACE_CLOSE
  385. // @@protoc_insertion_point(global_scope)
  386. #include <google/protobuf/port_undef.inc>
  387. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto