client2world_qq_platform.pb.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_qq_platform.proto
  3. #ifndef PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2005000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/message.h>
  19. #include <google/protobuf/repeated_field.h>
  20. #include <google/protobuf/extension_set.h>
  21. #include <google/protobuf/unknown_field_set.h>
  22. #include "client2world_msg_type.pb.h"
  23. #include "msg_type_def.pb.h"
  24. #include "msg_info_def.pb.h"
  25. // @@protoc_insertion_point(includes)
  26. namespace client2world_protocols {
  27. // Internal implementation detail -- do not call these.
  28. void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto();
  29. void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto();
  31. class packetc2w_receive_blue_diamond_reward;
  32. class packetw2c_receive_blue_diamond_reward_result;
  33. // ===================================================================
  34. class packetc2w_receive_blue_diamond_reward : public ::google::protobuf::Message {
  35. public:
  36. packetc2w_receive_blue_diamond_reward();
  37. virtual ~packetc2w_receive_blue_diamond_reward();
  38. packetc2w_receive_blue_diamond_reward(const packetc2w_receive_blue_diamond_reward& from);
  39. inline packetc2w_receive_blue_diamond_reward& operator=(const packetc2w_receive_blue_diamond_reward& from) {
  40. CopyFrom(from);
  41. return *this;
  42. }
  43. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  44. return _unknown_fields_;
  45. }
  46. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  47. return &_unknown_fields_;
  48. }
  49. static const ::google::protobuf::Descriptor* descriptor();
  50. static const packetc2w_receive_blue_diamond_reward& default_instance();
  51. void Swap(packetc2w_receive_blue_diamond_reward* other);
  52. // implements Message ----------------------------------------------
  53. packetc2w_receive_blue_diamond_reward* New() const;
  54. void CopyFrom(const ::google::protobuf::Message& from);
  55. void MergeFrom(const ::google::protobuf::Message& from);
  56. void CopyFrom(const packetc2w_receive_blue_diamond_reward& from);
  57. void MergeFrom(const packetc2w_receive_blue_diamond_reward& from);
  58. void Clear();
  59. bool IsInitialized() const;
  60. int ByteSize() const;
  61. bool MergePartialFromCodedStream(
  62. ::google::protobuf::io::CodedInputStream* input);
  63. void SerializeWithCachedSizes(
  64. ::google::protobuf::io::CodedOutputStream* output) const;
  65. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  66. int GetCachedSize() const { return _cached_size_; }
  67. private:
  68. void SharedCtor();
  69. void SharedDtor();
  70. void SetCachedSize(int size) const;
  71. public:
  72. ::google::protobuf::Metadata GetMetadata() const;
  73. // nested types ----------------------------------------------------
  74. // accessors -------------------------------------------------------
  75. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_blue_diamond_reward];
  76. inline bool has_packet_id() const;
  77. inline void clear_packet_id();
  78. static const int kPacketIdFieldNumber = 1;
  79. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  80. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  81. // optional int32 index = 2;
  82. inline bool has_index() const;
  83. inline void clear_index();
  84. static const int kIndexFieldNumber = 2;
  85. inline ::google::protobuf::int32 index() const;
  86. inline void set_index(::google::protobuf::int32 value);
  87. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_blue_diamond_reward)
  88. private:
  89. inline void set_has_packet_id();
  90. inline void clear_has_packet_id();
  91. inline void set_has_index();
  92. inline void clear_has_index();
  93. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  94. int packet_id_;
  95. ::google::protobuf::int32 index_;
  96. mutable int _cached_size_;
  97. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  98. friend void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto();
  99. friend void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto();
  100. friend void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto();
  101. void InitAsDefaultInstance();
  102. static packetc2w_receive_blue_diamond_reward* default_instance_;
  103. };
  104. // -------------------------------------------------------------------
  105. class packetw2c_receive_blue_diamond_reward_result : public ::google::protobuf::Message {
  106. public:
  107. packetw2c_receive_blue_diamond_reward_result();
  108. virtual ~packetw2c_receive_blue_diamond_reward_result();
  109. packetw2c_receive_blue_diamond_reward_result(const packetw2c_receive_blue_diamond_reward_result& from);
  110. inline packetw2c_receive_blue_diamond_reward_result& operator=(const packetw2c_receive_blue_diamond_reward_result& from) {
  111. CopyFrom(from);
  112. return *this;
  113. }
  114. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  115. return _unknown_fields_;
  116. }
  117. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  118. return &_unknown_fields_;
  119. }
  120. static const ::google::protobuf::Descriptor* descriptor();
  121. static const packetw2c_receive_blue_diamond_reward_result& default_instance();
  122. void Swap(packetw2c_receive_blue_diamond_reward_result* other);
  123. // implements Message ----------------------------------------------
  124. packetw2c_receive_blue_diamond_reward_result* New() const;
  125. void CopyFrom(const ::google::protobuf::Message& from);
  126. void MergeFrom(const ::google::protobuf::Message& from);
  127. void CopyFrom(const packetw2c_receive_blue_diamond_reward_result& from);
  128. void MergeFrom(const packetw2c_receive_blue_diamond_reward_result& from);
  129. void Clear();
  130. bool IsInitialized() const;
  131. int ByteSize() const;
  132. bool MergePartialFromCodedStream(
  133. ::google::protobuf::io::CodedInputStream* input);
  134. void SerializeWithCachedSizes(
  135. ::google::protobuf::io::CodedOutputStream* output) const;
  136. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  137. int GetCachedSize() const { return _cached_size_; }
  138. private:
  139. void SharedCtor();
  140. void SharedDtor();
  141. void SetCachedSize(int size) const;
  142. public:
  143. ::google::protobuf::Metadata GetMetadata() const;
  144. // nested types ----------------------------------------------------
  145. // accessors -------------------------------------------------------
  146. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_blue_diamond_reward_result];
  147. inline bool has_packet_id() const;
  148. inline void clear_packet_id();
  149. static const int kPacketIdFieldNumber = 1;
  150. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  151. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  152. // optional int32 result = 2;
  153. inline bool has_result() const;
  154. inline void clear_result();
  155. static const int kResultFieldNumber = 2;
  156. inline ::google::protobuf::int32 result() const;
  157. inline void set_result(::google::protobuf::int32 value);
  158. // optional int32 index = 3;
  159. inline bool has_index() const;
  160. inline void clear_index();
  161. static const int kIndexFieldNumber = 3;
  162. inline ::google::protobuf::int32 index() const;
  163. inline void set_index(::google::protobuf::int32 value);
  164. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_blue_diamond_reward_result)
  165. private:
  166. inline void set_has_packet_id();
  167. inline void clear_has_packet_id();
  168. inline void set_has_result();
  169. inline void clear_has_result();
  170. inline void set_has_index();
  171. inline void clear_has_index();
  172. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  173. int packet_id_;
  174. ::google::protobuf::int32 result_;
  175. ::google::protobuf::int32 index_;
  176. mutable int _cached_size_;
  177. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  178. friend void protobuf_AddDesc_client2world_5fqq_5fplatform_2eproto();
  179. friend void protobuf_AssignDesc_client2world_5fqq_5fplatform_2eproto();
  180. friend void protobuf_ShutdownFile_client2world_5fqq_5fplatform_2eproto();
  181. void InitAsDefaultInstance();
  182. static packetw2c_receive_blue_diamond_reward_result* default_instance_;
  183. };
  184. // ===================================================================
  185. // ===================================================================
  186. // packetc2w_receive_blue_diamond_reward
  187. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_blue_diamond_reward];
  188. inline bool packetc2w_receive_blue_diamond_reward::has_packet_id() const {
  189. return (_has_bits_[0] & 0x00000001u) != 0;
  190. }
  191. inline void packetc2w_receive_blue_diamond_reward::set_has_packet_id() {
  192. _has_bits_[0] |= 0x00000001u;
  193. }
  194. inline void packetc2w_receive_blue_diamond_reward::clear_has_packet_id() {
  195. _has_bits_[0] &= ~0x00000001u;
  196. }
  197. inline void packetc2w_receive_blue_diamond_reward::clear_packet_id() {
  198. packet_id_ = 5056;
  199. clear_has_packet_id();
  200. }
  201. inline ::client2world_protocols::e_server_msg_type packetc2w_receive_blue_diamond_reward::packet_id() const {
  202. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  203. }
  204. inline void packetc2w_receive_blue_diamond_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  205. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  206. set_has_packet_id();
  207. packet_id_ = value;
  208. }
  209. // optional int32 index = 2;
  210. inline bool packetc2w_receive_blue_diamond_reward::has_index() const {
  211. return (_has_bits_[0] & 0x00000002u) != 0;
  212. }
  213. inline void packetc2w_receive_blue_diamond_reward::set_has_index() {
  214. _has_bits_[0] |= 0x00000002u;
  215. }
  216. inline void packetc2w_receive_blue_diamond_reward::clear_has_index() {
  217. _has_bits_[0] &= ~0x00000002u;
  218. }
  219. inline void packetc2w_receive_blue_diamond_reward::clear_index() {
  220. index_ = 0;
  221. clear_has_index();
  222. }
  223. inline ::google::protobuf::int32 packetc2w_receive_blue_diamond_reward::index() const {
  224. return index_;
  225. }
  226. inline void packetc2w_receive_blue_diamond_reward::set_index(::google::protobuf::int32 value) {
  227. set_has_index();
  228. index_ = value;
  229. }
  230. // -------------------------------------------------------------------
  231. // packetw2c_receive_blue_diamond_reward_result
  232. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_blue_diamond_reward_result];
  233. inline bool packetw2c_receive_blue_diamond_reward_result::has_packet_id() const {
  234. return (_has_bits_[0] & 0x00000001u) != 0;
  235. }
  236. inline void packetw2c_receive_blue_diamond_reward_result::set_has_packet_id() {
  237. _has_bits_[0] |= 0x00000001u;
  238. }
  239. inline void packetw2c_receive_blue_diamond_reward_result::clear_has_packet_id() {
  240. _has_bits_[0] &= ~0x00000001u;
  241. }
  242. inline void packetw2c_receive_blue_diamond_reward_result::clear_packet_id() {
  243. packet_id_ = 7559;
  244. clear_has_packet_id();
  245. }
  246. inline ::client2world_protocols::e_server_msg_type packetw2c_receive_blue_diamond_reward_result::packet_id() const {
  247. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  248. }
  249. inline void packetw2c_receive_blue_diamond_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  250. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  251. set_has_packet_id();
  252. packet_id_ = value;
  253. }
  254. // optional int32 result = 2;
  255. inline bool packetw2c_receive_blue_diamond_reward_result::has_result() const {
  256. return (_has_bits_[0] & 0x00000002u) != 0;
  257. }
  258. inline void packetw2c_receive_blue_diamond_reward_result::set_has_result() {
  259. _has_bits_[0] |= 0x00000002u;
  260. }
  261. inline void packetw2c_receive_blue_diamond_reward_result::clear_has_result() {
  262. _has_bits_[0] &= ~0x00000002u;
  263. }
  264. inline void packetw2c_receive_blue_diamond_reward_result::clear_result() {
  265. result_ = 0;
  266. clear_has_result();
  267. }
  268. inline ::google::protobuf::int32 packetw2c_receive_blue_diamond_reward_result::result() const {
  269. return result_;
  270. }
  271. inline void packetw2c_receive_blue_diamond_reward_result::set_result(::google::protobuf::int32 value) {
  272. set_has_result();
  273. result_ = value;
  274. }
  275. // optional int32 index = 3;
  276. inline bool packetw2c_receive_blue_diamond_reward_result::has_index() const {
  277. return (_has_bits_[0] & 0x00000004u) != 0;
  278. }
  279. inline void packetw2c_receive_blue_diamond_reward_result::set_has_index() {
  280. _has_bits_[0] |= 0x00000004u;
  281. }
  282. inline void packetw2c_receive_blue_diamond_reward_result::clear_has_index() {
  283. _has_bits_[0] &= ~0x00000004u;
  284. }
  285. inline void packetw2c_receive_blue_diamond_reward_result::clear_index() {
  286. index_ = 0;
  287. clear_has_index();
  288. }
  289. inline ::google::protobuf::int32 packetw2c_receive_blue_diamond_reward_result::index() const {
  290. return index_;
  291. }
  292. inline void packetw2c_receive_blue_diamond_reward_result::set_index(::google::protobuf::int32 value) {
  293. set_has_index();
  294. index_ = value;
  295. }
  296. // @@protoc_insertion_point(namespace_scope)
  297. } // namespace client2world_protocols
  298. #ifndef SWIG
  299. namespace google {
  300. namespace protobuf {
  301. } // namespace google
  302. } // namespace protobuf
  303. #endif // SWIG
  304. // @@protoc_insertion_point(global_scope)
  305. #endif // PROTOBUF_client2world_5fqq_5fplatform_2eproto__INCLUDED