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 14 kB

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