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

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