client2world_benefits.pb.h 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_benefits.proto
  3. #ifndef PROTOBUF_client2world_5fbenefits_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_5fbenefits_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_5fbenefits_2eproto();
  29. void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
  31. class packetc2w_recv_wechat_benifit_gift;
  32. class packetc2w_recv_wechat_share_award;
  33. class packetw2c_recv_wechat_benifit_gift_result;
  34. class packetw2c_recv_wechat_share_award_result;
  35. // ===================================================================
  36. class packetc2w_recv_wechat_benifit_gift : public ::google::protobuf::Message {
  37. public:
  38. packetc2w_recv_wechat_benifit_gift();
  39. virtual ~packetc2w_recv_wechat_benifit_gift();
  40. packetc2w_recv_wechat_benifit_gift(const packetc2w_recv_wechat_benifit_gift& from);
  41. inline packetc2w_recv_wechat_benifit_gift& operator=(const packetc2w_recv_wechat_benifit_gift& from) {
  42. CopyFrom(from);
  43. return *this;
  44. }
  45. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  46. return _unknown_fields_;
  47. }
  48. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  49. return &_unknown_fields_;
  50. }
  51. static const ::google::protobuf::Descriptor* descriptor();
  52. static const packetc2w_recv_wechat_benifit_gift& default_instance();
  53. void Swap(packetc2w_recv_wechat_benifit_gift* other);
  54. // implements Message ----------------------------------------------
  55. packetc2w_recv_wechat_benifit_gift* New() const;
  56. void CopyFrom(const ::google::protobuf::Message& from);
  57. void MergeFrom(const ::google::protobuf::Message& from);
  58. void CopyFrom(const packetc2w_recv_wechat_benifit_gift& from);
  59. void MergeFrom(const packetc2w_recv_wechat_benifit_gift& from);
  60. void Clear();
  61. bool IsInitialized() const;
  62. int ByteSize() const;
  63. bool MergePartialFromCodedStream(
  64. ::google::protobuf::io::CodedInputStream* input);
  65. void SerializeWithCachedSizes(
  66. ::google::protobuf::io::CodedOutputStream* output) const;
  67. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  68. int GetCachedSize() const { return _cached_size_; }
  69. private:
  70. void SharedCtor();
  71. void SharedDtor();
  72. void SetCachedSize(int size) const;
  73. public:
  74. ::google::protobuf::Metadata GetMetadata() const;
  75. // nested types ----------------------------------------------------
  76. // accessors -------------------------------------------------------
  77. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_benifit_gift];
  78. inline bool has_packet_id() const;
  79. inline void clear_packet_id();
  80. static const int kPacketIdFieldNumber = 1;
  81. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  82. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  83. // optional int32 type = 2;
  84. inline bool has_type() const;
  85. inline void clear_type();
  86. static const int kTypeFieldNumber = 2;
  87. inline ::google::protobuf::int32 type() const;
  88. inline void set_type(::google::protobuf::int32 value);
  89. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_recv_wechat_benifit_gift)
  90. private:
  91. inline void set_has_packet_id();
  92. inline void clear_has_packet_id();
  93. inline void set_has_type();
  94. inline void clear_has_type();
  95. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  96. int packet_id_;
  97. ::google::protobuf::int32 type_;
  98. mutable int _cached_size_;
  99. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  100. friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
  101. friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
  102. friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
  103. void InitAsDefaultInstance();
  104. static packetc2w_recv_wechat_benifit_gift* default_instance_;
  105. };
  106. // -------------------------------------------------------------------
  107. class packetc2w_recv_wechat_share_award : public ::google::protobuf::Message {
  108. public:
  109. packetc2w_recv_wechat_share_award();
  110. virtual ~packetc2w_recv_wechat_share_award();
  111. packetc2w_recv_wechat_share_award(const packetc2w_recv_wechat_share_award& from);
  112. inline packetc2w_recv_wechat_share_award& operator=(const packetc2w_recv_wechat_share_award& from) {
  113. CopyFrom(from);
  114. return *this;
  115. }
  116. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  117. return _unknown_fields_;
  118. }
  119. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  120. return &_unknown_fields_;
  121. }
  122. static const ::google::protobuf::Descriptor* descriptor();
  123. static const packetc2w_recv_wechat_share_award& default_instance();
  124. void Swap(packetc2w_recv_wechat_share_award* other);
  125. // implements Message ----------------------------------------------
  126. packetc2w_recv_wechat_share_award* New() const;
  127. void CopyFrom(const ::google::protobuf::Message& from);
  128. void MergeFrom(const ::google::protobuf::Message& from);
  129. void CopyFrom(const packetc2w_recv_wechat_share_award& from);
  130. void MergeFrom(const packetc2w_recv_wechat_share_award& from);
  131. void Clear();
  132. bool IsInitialized() const;
  133. int ByteSize() const;
  134. bool MergePartialFromCodedStream(
  135. ::google::protobuf::io::CodedInputStream* input);
  136. void SerializeWithCachedSizes(
  137. ::google::protobuf::io::CodedOutputStream* output) const;
  138. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  139. int GetCachedSize() const { return _cached_size_; }
  140. private:
  141. void SharedCtor();
  142. void SharedDtor();
  143. void SetCachedSize(int size) const;
  144. public:
  145. ::google::protobuf::Metadata GetMetadata() const;
  146. // nested types ----------------------------------------------------
  147. // accessors -------------------------------------------------------
  148. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_share_award];
  149. inline bool has_packet_id() const;
  150. inline void clear_packet_id();
  151. static const int kPacketIdFieldNumber = 1;
  152. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  153. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  154. // optional int32 index = 2;
  155. inline bool has_index() const;
  156. inline void clear_index();
  157. static const int kIndexFieldNumber = 2;
  158. inline ::google::protobuf::int32 index() const;
  159. inline void set_index(::google::protobuf::int32 value);
  160. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_recv_wechat_share_award)
  161. private:
  162. inline void set_has_packet_id();
  163. inline void clear_has_packet_id();
  164. inline void set_has_index();
  165. inline void clear_has_index();
  166. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  167. int packet_id_;
  168. ::google::protobuf::int32 index_;
  169. mutable int _cached_size_;
  170. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  171. friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
  172. friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
  173. friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
  174. void InitAsDefaultInstance();
  175. static packetc2w_recv_wechat_share_award* default_instance_;
  176. };
  177. // -------------------------------------------------------------------
  178. class packetw2c_recv_wechat_benifit_gift_result : public ::google::protobuf::Message {
  179. public:
  180. packetw2c_recv_wechat_benifit_gift_result();
  181. virtual ~packetw2c_recv_wechat_benifit_gift_result();
  182. packetw2c_recv_wechat_benifit_gift_result(const packetw2c_recv_wechat_benifit_gift_result& from);
  183. inline packetw2c_recv_wechat_benifit_gift_result& operator=(const packetw2c_recv_wechat_benifit_gift_result& from) {
  184. CopyFrom(from);
  185. return *this;
  186. }
  187. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  188. return _unknown_fields_;
  189. }
  190. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  191. return &_unknown_fields_;
  192. }
  193. static const ::google::protobuf::Descriptor* descriptor();
  194. static const packetw2c_recv_wechat_benifit_gift_result& default_instance();
  195. void Swap(packetw2c_recv_wechat_benifit_gift_result* other);
  196. // implements Message ----------------------------------------------
  197. packetw2c_recv_wechat_benifit_gift_result* New() const;
  198. void CopyFrom(const ::google::protobuf::Message& from);
  199. void MergeFrom(const ::google::protobuf::Message& from);
  200. void CopyFrom(const packetw2c_recv_wechat_benifit_gift_result& from);
  201. void MergeFrom(const packetw2c_recv_wechat_benifit_gift_result& from);
  202. void Clear();
  203. bool IsInitialized() const;
  204. int ByteSize() const;
  205. bool MergePartialFromCodedStream(
  206. ::google::protobuf::io::CodedInputStream* input);
  207. void SerializeWithCachedSizes(
  208. ::google::protobuf::io::CodedOutputStream* output) const;
  209. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  210. int GetCachedSize() const { return _cached_size_; }
  211. private:
  212. void SharedCtor();
  213. void SharedDtor();
  214. void SetCachedSize(int size) const;
  215. public:
  216. ::google::protobuf::Metadata GetMetadata() const;
  217. // nested types ----------------------------------------------------
  218. // accessors -------------------------------------------------------
  219. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_benifit_gift_result];
  220. inline bool has_packet_id() const;
  221. inline void clear_packet_id();
  222. static const int kPacketIdFieldNumber = 1;
  223. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  224. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  225. // optional int32 type = 2;
  226. inline bool has_type() const;
  227. inline void clear_type();
  228. static const int kTypeFieldNumber = 2;
  229. inline ::google::protobuf::int32 type() const;
  230. inline void set_type(::google::protobuf::int32 value);
  231. // optional int32 result = 3;
  232. inline bool has_result() const;
  233. inline void clear_result();
  234. static const int kResultFieldNumber = 3;
  235. inline ::google::protobuf::int32 result() const;
  236. inline void set_result(::google::protobuf::int32 value);
  237. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_wechat_benifit_gift_result)
  238. private:
  239. inline void set_has_packet_id();
  240. inline void clear_has_packet_id();
  241. inline void set_has_type();
  242. inline void clear_has_type();
  243. inline void set_has_result();
  244. inline void clear_has_result();
  245. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  246. int packet_id_;
  247. ::google::protobuf::int32 type_;
  248. ::google::protobuf::int32 result_;
  249. mutable int _cached_size_;
  250. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  251. friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
  252. friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
  253. friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
  254. void InitAsDefaultInstance();
  255. static packetw2c_recv_wechat_benifit_gift_result* default_instance_;
  256. };
  257. // -------------------------------------------------------------------
  258. class packetw2c_recv_wechat_share_award_result : public ::google::protobuf::Message {
  259. public:
  260. packetw2c_recv_wechat_share_award_result();
  261. virtual ~packetw2c_recv_wechat_share_award_result();
  262. packetw2c_recv_wechat_share_award_result(const packetw2c_recv_wechat_share_award_result& from);
  263. inline packetw2c_recv_wechat_share_award_result& operator=(const packetw2c_recv_wechat_share_award_result& from) {
  264. CopyFrom(from);
  265. return *this;
  266. }
  267. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  268. return _unknown_fields_;
  269. }
  270. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  271. return &_unknown_fields_;
  272. }
  273. static const ::google::protobuf::Descriptor* descriptor();
  274. static const packetw2c_recv_wechat_share_award_result& default_instance();
  275. void Swap(packetw2c_recv_wechat_share_award_result* other);
  276. // implements Message ----------------------------------------------
  277. packetw2c_recv_wechat_share_award_result* New() const;
  278. void CopyFrom(const ::google::protobuf::Message& from);
  279. void MergeFrom(const ::google::protobuf::Message& from);
  280. void CopyFrom(const packetw2c_recv_wechat_share_award_result& from);
  281. void MergeFrom(const packetw2c_recv_wechat_share_award_result& from);
  282. void Clear();
  283. bool IsInitialized() const;
  284. int ByteSize() const;
  285. bool MergePartialFromCodedStream(
  286. ::google::protobuf::io::CodedInputStream* input);
  287. void SerializeWithCachedSizes(
  288. ::google::protobuf::io::CodedOutputStream* output) const;
  289. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  290. int GetCachedSize() const { return _cached_size_; }
  291. private:
  292. void SharedCtor();
  293. void SharedDtor();
  294. void SetCachedSize(int size) const;
  295. public:
  296. ::google::protobuf::Metadata GetMetadata() const;
  297. // nested types ----------------------------------------------------
  298. // accessors -------------------------------------------------------
  299. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_share_award_result];
  300. inline bool has_packet_id() const;
  301. inline void clear_packet_id();
  302. static const int kPacketIdFieldNumber = 1;
  303. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  304. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  305. // optional int32 index = 2;
  306. inline bool has_index() const;
  307. inline void clear_index();
  308. static const int kIndexFieldNumber = 2;
  309. inline ::google::protobuf::int32 index() const;
  310. inline void set_index(::google::protobuf::int32 value);
  311. // optional int32 result = 3;
  312. inline bool has_result() const;
  313. inline void clear_result();
  314. static const int kResultFieldNumber = 3;
  315. inline ::google::protobuf::int32 result() const;
  316. inline void set_result(::google::protobuf::int32 value);
  317. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recv_wechat_share_award_result)
  318. private:
  319. inline void set_has_packet_id();
  320. inline void clear_has_packet_id();
  321. inline void set_has_index();
  322. inline void clear_has_index();
  323. inline void set_has_result();
  324. inline void clear_has_result();
  325. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  326. int packet_id_;
  327. ::google::protobuf::int32 index_;
  328. ::google::protobuf::int32 result_;
  329. mutable int _cached_size_;
  330. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  331. friend void protobuf_AddDesc_client2world_5fbenefits_2eproto();
  332. friend void protobuf_AssignDesc_client2world_5fbenefits_2eproto();
  333. friend void protobuf_ShutdownFile_client2world_5fbenefits_2eproto();
  334. void InitAsDefaultInstance();
  335. static packetw2c_recv_wechat_share_award_result* default_instance_;
  336. };
  337. // ===================================================================
  338. // ===================================================================
  339. // packetc2w_recv_wechat_benifit_gift
  340. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_benifit_gift];
  341. inline bool packetc2w_recv_wechat_benifit_gift::has_packet_id() const {
  342. return (_has_bits_[0] & 0x00000001u) != 0;
  343. }
  344. inline void packetc2w_recv_wechat_benifit_gift::set_has_packet_id() {
  345. _has_bits_[0] |= 0x00000001u;
  346. }
  347. inline void packetc2w_recv_wechat_benifit_gift::clear_has_packet_id() {
  348. _has_bits_[0] &= ~0x00000001u;
  349. }
  350. inline void packetc2w_recv_wechat_benifit_gift::clear_packet_id() {
  351. packet_id_ = 5037;
  352. clear_has_packet_id();
  353. }
  354. inline ::client2world_protocols::e_server_msg_type packetc2w_recv_wechat_benifit_gift::packet_id() const {
  355. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  356. }
  357. inline void packetc2w_recv_wechat_benifit_gift::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  358. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  359. set_has_packet_id();
  360. packet_id_ = value;
  361. }
  362. // optional int32 type = 2;
  363. inline bool packetc2w_recv_wechat_benifit_gift::has_type() const {
  364. return (_has_bits_[0] & 0x00000002u) != 0;
  365. }
  366. inline void packetc2w_recv_wechat_benifit_gift::set_has_type() {
  367. _has_bits_[0] |= 0x00000002u;
  368. }
  369. inline void packetc2w_recv_wechat_benifit_gift::clear_has_type() {
  370. _has_bits_[0] &= ~0x00000002u;
  371. }
  372. inline void packetc2w_recv_wechat_benifit_gift::clear_type() {
  373. type_ = 0;
  374. clear_has_type();
  375. }
  376. inline ::google::protobuf::int32 packetc2w_recv_wechat_benifit_gift::type() const {
  377. return type_;
  378. }
  379. inline void packetc2w_recv_wechat_benifit_gift::set_type(::google::protobuf::int32 value) {
  380. set_has_type();
  381. type_ = value;
  382. }
  383. // -------------------------------------------------------------------
  384. // packetc2w_recv_wechat_share_award
  385. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wechat_share_award];
  386. inline bool packetc2w_recv_wechat_share_award::has_packet_id() const {
  387. return (_has_bits_[0] & 0x00000001u) != 0;
  388. }
  389. inline void packetc2w_recv_wechat_share_award::set_has_packet_id() {
  390. _has_bits_[0] |= 0x00000001u;
  391. }
  392. inline void packetc2w_recv_wechat_share_award::clear_has_packet_id() {
  393. _has_bits_[0] &= ~0x00000001u;
  394. }
  395. inline void packetc2w_recv_wechat_share_award::clear_packet_id() {
  396. packet_id_ = 5169;
  397. clear_has_packet_id();
  398. }
  399. inline ::client2world_protocols::e_server_msg_type packetc2w_recv_wechat_share_award::packet_id() const {
  400. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  401. }
  402. inline void packetc2w_recv_wechat_share_award::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  403. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  404. set_has_packet_id();
  405. packet_id_ = value;
  406. }
  407. // optional int32 index = 2;
  408. inline bool packetc2w_recv_wechat_share_award::has_index() const {
  409. return (_has_bits_[0] & 0x00000002u) != 0;
  410. }
  411. inline void packetc2w_recv_wechat_share_award::set_has_index() {
  412. _has_bits_[0] |= 0x00000002u;
  413. }
  414. inline void packetc2w_recv_wechat_share_award::clear_has_index() {
  415. _has_bits_[0] &= ~0x00000002u;
  416. }
  417. inline void packetc2w_recv_wechat_share_award::clear_index() {
  418. index_ = 0;
  419. clear_has_index();
  420. }
  421. inline ::google::protobuf::int32 packetc2w_recv_wechat_share_award::index() const {
  422. return index_;
  423. }
  424. inline void packetc2w_recv_wechat_share_award::set_index(::google::protobuf::int32 value) {
  425. set_has_index();
  426. index_ = value;
  427. }
  428. // -------------------------------------------------------------------
  429. // packetw2c_recv_wechat_benifit_gift_result
  430. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_benifit_gift_result];
  431. inline bool packetw2c_recv_wechat_benifit_gift_result::has_packet_id() const {
  432. return (_has_bits_[0] & 0x00000001u) != 0;
  433. }
  434. inline void packetw2c_recv_wechat_benifit_gift_result::set_has_packet_id() {
  435. _has_bits_[0] |= 0x00000001u;
  436. }
  437. inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_packet_id() {
  438. _has_bits_[0] &= ~0x00000001u;
  439. }
  440. inline void packetw2c_recv_wechat_benifit_gift_result::clear_packet_id() {
  441. packet_id_ = 7685;
  442. clear_has_packet_id();
  443. }
  444. inline ::client2world_protocols::e_server_msg_type packetw2c_recv_wechat_benifit_gift_result::packet_id() const {
  445. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  446. }
  447. inline void packetw2c_recv_wechat_benifit_gift_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  448. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  449. set_has_packet_id();
  450. packet_id_ = value;
  451. }
  452. // optional int32 type = 2;
  453. inline bool packetw2c_recv_wechat_benifit_gift_result::has_type() const {
  454. return (_has_bits_[0] & 0x00000002u) != 0;
  455. }
  456. inline void packetw2c_recv_wechat_benifit_gift_result::set_has_type() {
  457. _has_bits_[0] |= 0x00000002u;
  458. }
  459. inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_type() {
  460. _has_bits_[0] &= ~0x00000002u;
  461. }
  462. inline void packetw2c_recv_wechat_benifit_gift_result::clear_type() {
  463. type_ = 0;
  464. clear_has_type();
  465. }
  466. inline ::google::protobuf::int32 packetw2c_recv_wechat_benifit_gift_result::type() const {
  467. return type_;
  468. }
  469. inline void packetw2c_recv_wechat_benifit_gift_result::set_type(::google::protobuf::int32 value) {
  470. set_has_type();
  471. type_ = value;
  472. }
  473. // optional int32 result = 3;
  474. inline bool packetw2c_recv_wechat_benifit_gift_result::has_result() const {
  475. return (_has_bits_[0] & 0x00000004u) != 0;
  476. }
  477. inline void packetw2c_recv_wechat_benifit_gift_result::set_has_result() {
  478. _has_bits_[0] |= 0x00000004u;
  479. }
  480. inline void packetw2c_recv_wechat_benifit_gift_result::clear_has_result() {
  481. _has_bits_[0] &= ~0x00000004u;
  482. }
  483. inline void packetw2c_recv_wechat_benifit_gift_result::clear_result() {
  484. result_ = 0;
  485. clear_has_result();
  486. }
  487. inline ::google::protobuf::int32 packetw2c_recv_wechat_benifit_gift_result::result() const {
  488. return result_;
  489. }
  490. inline void packetw2c_recv_wechat_benifit_gift_result::set_result(::google::protobuf::int32 value) {
  491. set_has_result();
  492. result_ = value;
  493. }
  494. // -------------------------------------------------------------------
  495. // packetw2c_recv_wechat_share_award_result
  496. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wechat_share_award_result];
  497. inline bool packetw2c_recv_wechat_share_award_result::has_packet_id() const {
  498. return (_has_bits_[0] & 0x00000001u) != 0;
  499. }
  500. inline void packetw2c_recv_wechat_share_award_result::set_has_packet_id() {
  501. _has_bits_[0] |= 0x00000001u;
  502. }
  503. inline void packetw2c_recv_wechat_share_award_result::clear_has_packet_id() {
  504. _has_bits_[0] &= ~0x00000001u;
  505. }
  506. inline void packetw2c_recv_wechat_share_award_result::clear_packet_id() {
  507. packet_id_ = 7686;
  508. clear_has_packet_id();
  509. }
  510. inline ::client2world_protocols::e_server_msg_type packetw2c_recv_wechat_share_award_result::packet_id() const {
  511. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  512. }
  513. inline void packetw2c_recv_wechat_share_award_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  514. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  515. set_has_packet_id();
  516. packet_id_ = value;
  517. }
  518. // optional int32 index = 2;
  519. inline bool packetw2c_recv_wechat_share_award_result::has_index() const {
  520. return (_has_bits_[0] & 0x00000002u) != 0;
  521. }
  522. inline void packetw2c_recv_wechat_share_award_result::set_has_index() {
  523. _has_bits_[0] |= 0x00000002u;
  524. }
  525. inline void packetw2c_recv_wechat_share_award_result::clear_has_index() {
  526. _has_bits_[0] &= ~0x00000002u;
  527. }
  528. inline void packetw2c_recv_wechat_share_award_result::clear_index() {
  529. index_ = 0;
  530. clear_has_index();
  531. }
  532. inline ::google::protobuf::int32 packetw2c_recv_wechat_share_award_result::index() const {
  533. return index_;
  534. }
  535. inline void packetw2c_recv_wechat_share_award_result::set_index(::google::protobuf::int32 value) {
  536. set_has_index();
  537. index_ = value;
  538. }
  539. // optional int32 result = 3;
  540. inline bool packetw2c_recv_wechat_share_award_result::has_result() const {
  541. return (_has_bits_[0] & 0x00000004u) != 0;
  542. }
  543. inline void packetw2c_recv_wechat_share_award_result::set_has_result() {
  544. _has_bits_[0] |= 0x00000004u;
  545. }
  546. inline void packetw2c_recv_wechat_share_award_result::clear_has_result() {
  547. _has_bits_[0] &= ~0x00000004u;
  548. }
  549. inline void packetw2c_recv_wechat_share_award_result::clear_result() {
  550. result_ = 0;
  551. clear_has_result();
  552. }
  553. inline ::google::protobuf::int32 packetw2c_recv_wechat_share_award_result::result() const {
  554. return result_;
  555. }
  556. inline void packetw2c_recv_wechat_share_award_result::set_result(::google::protobuf::int32 value) {
  557. set_has_result();
  558. result_ = value;
  559. }
  560. // @@protoc_insertion_point(namespace_scope)
  561. } // namespace client2world_protocols
  562. #ifndef SWIG
  563. namespace google {
  564. namespace protobuf {
  565. } // namespace google
  566. } // namespace protobuf
  567. #endif // SWIG
  568. // @@protoc_insertion_point(global_scope)
  569. #endif // PROTOBUF_client2world_5fbenefits_2eproto__INCLUDED