client2world_daily_box_lottery.pb.h 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_daily_box_lottery.proto
  3. #ifndef PROTOBUF_client2world_5fdaily_5fbox_5flottery_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_5fdaily_5fbox_5flottery_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_5fdaily_5fbox_5flottery_2eproto();
  29. void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  31. class packetc2w_req_sign;
  32. class packetw2c_req_sign_result;
  33. class packetc2w_req_sign_info;
  34. class packetw2c_req_sign_info_result;
  35. class packetc2w_req_recv_sevenday_reward;
  36. class packetc2w_req_recv_sevenday_reward_result;
  37. // ===================================================================
  38. class packetc2w_req_sign : public ::google::protobuf::Message {
  39. public:
  40. packetc2w_req_sign();
  41. virtual ~packetc2w_req_sign();
  42. packetc2w_req_sign(const packetc2w_req_sign& from);
  43. inline packetc2w_req_sign& operator=(const packetc2w_req_sign& from) {
  44. CopyFrom(from);
  45. return *this;
  46. }
  47. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  48. return _unknown_fields_;
  49. }
  50. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  51. return &_unknown_fields_;
  52. }
  53. static const ::google::protobuf::Descriptor* descriptor();
  54. static const packetc2w_req_sign& default_instance();
  55. void Swap(packetc2w_req_sign* other);
  56. // implements Message ----------------------------------------------
  57. packetc2w_req_sign* New() const;
  58. void CopyFrom(const ::google::protobuf::Message& from);
  59. void MergeFrom(const ::google::protobuf::Message& from);
  60. void CopyFrom(const packetc2w_req_sign& from);
  61. void MergeFrom(const packetc2w_req_sign& from);
  62. void Clear();
  63. bool IsInitialized() const;
  64. int ByteSize() const;
  65. bool MergePartialFromCodedStream(
  66. ::google::protobuf::io::CodedInputStream* input);
  67. void SerializeWithCachedSizes(
  68. ::google::protobuf::io::CodedOutputStream* output) const;
  69. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  70. int GetCachedSize() const { return _cached_size_; }
  71. private:
  72. void SharedCtor();
  73. void SharedDtor();
  74. void SetCachedSize(int size) const;
  75. public:
  76. ::google::protobuf::Metadata GetMetadata() const;
  77. // nested types ----------------------------------------------------
  78. // accessors -------------------------------------------------------
  79. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign];
  80. inline bool has_packet_id() const;
  81. inline void clear_packet_id();
  82. static const int kPacketIdFieldNumber = 1;
  83. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  84. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  85. // optional bool double = 2;
  86. inline bool has_double_() const;
  87. inline void clear_double_();
  88. static const int kDoubleFieldNumber = 2;
  89. inline bool double_() const;
  90. inline void set_double_(bool value);
  91. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_sign)
  92. private:
  93. inline void set_has_packet_id();
  94. inline void clear_has_packet_id();
  95. inline void set_has_double_();
  96. inline void clear_has_double_();
  97. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  98. int packet_id_;
  99. bool double__;
  100. mutable int _cached_size_;
  101. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  102. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  103. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  104. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  105. void InitAsDefaultInstance();
  106. static packetc2w_req_sign* default_instance_;
  107. };
  108. // -------------------------------------------------------------------
  109. class packetw2c_req_sign_result : public ::google::protobuf::Message {
  110. public:
  111. packetw2c_req_sign_result();
  112. virtual ~packetw2c_req_sign_result();
  113. packetw2c_req_sign_result(const packetw2c_req_sign_result& from);
  114. inline packetw2c_req_sign_result& operator=(const packetw2c_req_sign_result& from) {
  115. CopyFrom(from);
  116. return *this;
  117. }
  118. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  119. return _unknown_fields_;
  120. }
  121. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  122. return &_unknown_fields_;
  123. }
  124. static const ::google::protobuf::Descriptor* descriptor();
  125. static const packetw2c_req_sign_result& default_instance();
  126. void Swap(packetw2c_req_sign_result* other);
  127. // implements Message ----------------------------------------------
  128. packetw2c_req_sign_result* New() const;
  129. void CopyFrom(const ::google::protobuf::Message& from);
  130. void MergeFrom(const ::google::protobuf::Message& from);
  131. void CopyFrom(const packetw2c_req_sign_result& from);
  132. void MergeFrom(const packetw2c_req_sign_result& from);
  133. void Clear();
  134. bool IsInitialized() const;
  135. int ByteSize() const;
  136. bool MergePartialFromCodedStream(
  137. ::google::protobuf::io::CodedInputStream* input);
  138. void SerializeWithCachedSizes(
  139. ::google::protobuf::io::CodedOutputStream* output) const;
  140. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  141. int GetCachedSize() const { return _cached_size_; }
  142. private:
  143. void SharedCtor();
  144. void SharedDtor();
  145. void SetCachedSize(int size) const;
  146. public:
  147. ::google::protobuf::Metadata GetMetadata() const;
  148. // nested types ----------------------------------------------------
  149. // accessors -------------------------------------------------------
  150. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_result];
  151. inline bool has_packet_id() const;
  152. inline void clear_packet_id();
  153. static const int kPacketIdFieldNumber = 1;
  154. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  155. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  156. // optional bool double = 2;
  157. inline bool has_double_() const;
  158. inline void clear_double_();
  159. static const int kDoubleFieldNumber = 2;
  160. inline bool double_() const;
  161. inline void set_double_(bool value);
  162. // optional int32 result = 3;
  163. inline bool has_result() const;
  164. inline void clear_result();
  165. static const int kResultFieldNumber = 3;
  166. inline ::google::protobuf::int32 result() const;
  167. inline void set_result(::google::protobuf::int32 value);
  168. // repeated .msg_info_def.ItemInfo itemList = 4;
  169. inline int itemlist_size() const;
  170. inline void clear_itemlist();
  171. static const int kItemListFieldNumber = 4;
  172. inline const ::msg_info_def::ItemInfo& itemlist(int index) const;
  173. inline ::msg_info_def::ItemInfo* mutable_itemlist(int index);
  174. inline ::msg_info_def::ItemInfo* add_itemlist();
  175. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  176. itemlist() const;
  177. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  178. mutable_itemlist();
  179. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_sign_result)
  180. private:
  181. inline void set_has_packet_id();
  182. inline void clear_has_packet_id();
  183. inline void set_has_double_();
  184. inline void clear_has_double_();
  185. inline void set_has_result();
  186. inline void clear_has_result();
  187. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  188. int packet_id_;
  189. bool double__;
  190. ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > itemlist_;
  191. ::google::protobuf::int32 result_;
  192. mutable int _cached_size_;
  193. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  194. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  195. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  196. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  197. void InitAsDefaultInstance();
  198. static packetw2c_req_sign_result* default_instance_;
  199. };
  200. // -------------------------------------------------------------------
  201. class packetc2w_req_sign_info : public ::google::protobuf::Message {
  202. public:
  203. packetc2w_req_sign_info();
  204. virtual ~packetc2w_req_sign_info();
  205. packetc2w_req_sign_info(const packetc2w_req_sign_info& from);
  206. inline packetc2w_req_sign_info& operator=(const packetc2w_req_sign_info& from) {
  207. CopyFrom(from);
  208. return *this;
  209. }
  210. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  211. return _unknown_fields_;
  212. }
  213. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  214. return &_unknown_fields_;
  215. }
  216. static const ::google::protobuf::Descriptor* descriptor();
  217. static const packetc2w_req_sign_info& default_instance();
  218. void Swap(packetc2w_req_sign_info* other);
  219. // implements Message ----------------------------------------------
  220. packetc2w_req_sign_info* New() const;
  221. void CopyFrom(const ::google::protobuf::Message& from);
  222. void MergeFrom(const ::google::protobuf::Message& from);
  223. void CopyFrom(const packetc2w_req_sign_info& from);
  224. void MergeFrom(const packetc2w_req_sign_info& from);
  225. void Clear();
  226. bool IsInitialized() const;
  227. int ByteSize() const;
  228. bool MergePartialFromCodedStream(
  229. ::google::protobuf::io::CodedInputStream* input);
  230. void SerializeWithCachedSizes(
  231. ::google::protobuf::io::CodedOutputStream* output) const;
  232. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  233. int GetCachedSize() const { return _cached_size_; }
  234. private:
  235. void SharedCtor();
  236. void SharedDtor();
  237. void SetCachedSize(int size) const;
  238. public:
  239. ::google::protobuf::Metadata GetMetadata() const;
  240. // nested types ----------------------------------------------------
  241. // accessors -------------------------------------------------------
  242. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign_info];
  243. inline bool has_packet_id() const;
  244. inline void clear_packet_id();
  245. static const int kPacketIdFieldNumber = 1;
  246. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  247. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  248. // optional int32 signtype = 2;
  249. inline bool has_signtype() const;
  250. inline void clear_signtype();
  251. static const int kSigntypeFieldNumber = 2;
  252. inline ::google::protobuf::int32 signtype() const;
  253. inline void set_signtype(::google::protobuf::int32 value);
  254. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_sign_info)
  255. private:
  256. inline void set_has_packet_id();
  257. inline void clear_has_packet_id();
  258. inline void set_has_signtype();
  259. inline void clear_has_signtype();
  260. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  261. int packet_id_;
  262. ::google::protobuf::int32 signtype_;
  263. mutable int _cached_size_;
  264. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  265. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  266. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  267. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  268. void InitAsDefaultInstance();
  269. static packetc2w_req_sign_info* default_instance_;
  270. };
  271. // -------------------------------------------------------------------
  272. class packetw2c_req_sign_info_result : public ::google::protobuf::Message {
  273. public:
  274. packetw2c_req_sign_info_result();
  275. virtual ~packetw2c_req_sign_info_result();
  276. packetw2c_req_sign_info_result(const packetw2c_req_sign_info_result& from);
  277. inline packetw2c_req_sign_info_result& operator=(const packetw2c_req_sign_info_result& from) {
  278. CopyFrom(from);
  279. return *this;
  280. }
  281. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  282. return _unknown_fields_;
  283. }
  284. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  285. return &_unknown_fields_;
  286. }
  287. static const ::google::protobuf::Descriptor* descriptor();
  288. static const packetw2c_req_sign_info_result& default_instance();
  289. void Swap(packetw2c_req_sign_info_result* other);
  290. // implements Message ----------------------------------------------
  291. packetw2c_req_sign_info_result* New() const;
  292. void CopyFrom(const ::google::protobuf::Message& from);
  293. void MergeFrom(const ::google::protobuf::Message& from);
  294. void CopyFrom(const packetw2c_req_sign_info_result& from);
  295. void MergeFrom(const packetw2c_req_sign_info_result& from);
  296. void Clear();
  297. bool IsInitialized() const;
  298. int ByteSize() const;
  299. bool MergePartialFromCodedStream(
  300. ::google::protobuf::io::CodedInputStream* input);
  301. void SerializeWithCachedSizes(
  302. ::google::protobuf::io::CodedOutputStream* output) const;
  303. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  304. int GetCachedSize() const { return _cached_size_; }
  305. private:
  306. void SharedCtor();
  307. void SharedDtor();
  308. void SetCachedSize(int size) const;
  309. public:
  310. ::google::protobuf::Metadata GetMetadata() const;
  311. // nested types ----------------------------------------------------
  312. // accessors -------------------------------------------------------
  313. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_info_result];
  314. inline bool has_packet_id() const;
  315. inline void clear_packet_id();
  316. static const int kPacketIdFieldNumber = 1;
  317. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  318. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  319. // optional int32 signtype = 2;
  320. inline bool has_signtype() const;
  321. inline void clear_signtype();
  322. static const int kSigntypeFieldNumber = 2;
  323. inline ::google::protobuf::int32 signtype() const;
  324. inline void set_signtype(::google::protobuf::int32 value);
  325. // optional int32 signCount = 3;
  326. inline bool has_signcount() const;
  327. inline void clear_signcount();
  328. static const int kSignCountFieldNumber = 3;
  329. inline ::google::protobuf::int32 signcount() const;
  330. inline void set_signcount(::google::protobuf::int32 value);
  331. // optional int32 keepSignCount = 4;
  332. inline bool has_keepsigncount() const;
  333. inline void clear_keepsigncount();
  334. static const int kKeepSignCountFieldNumber = 4;
  335. inline ::google::protobuf::int32 keepsigncount() const;
  336. inline void set_keepsigncount(::google::protobuf::int32 value);
  337. // optional bool signUpLevel = 5;
  338. inline bool has_signuplevel() const;
  339. inline void clear_signuplevel();
  340. static const int kSignUpLevelFieldNumber = 5;
  341. inline bool signuplevel() const;
  342. inline void set_signuplevel(bool value);
  343. // optional bool canSign = 6;
  344. inline bool has_cansign() const;
  345. inline void clear_cansign();
  346. static const int kCanSignFieldNumber = 6;
  347. inline bool cansign() const;
  348. inline void set_cansign(bool value);
  349. // optional int32 hasSignCount = 7;
  350. inline bool has_hassigncount() const;
  351. inline void clear_hassigncount();
  352. static const int kHasSignCountFieldNumber = 7;
  353. inline ::google::protobuf::int32 hassigncount() const;
  354. inline void set_hassigncount(::google::protobuf::int32 value);
  355. // optional bool sevenDayCanSign = 8;
  356. inline bool has_sevendaycansign() const;
  357. inline void clear_sevendaycansign();
  358. static const int kSevenDayCanSignFieldNumber = 8;
  359. inline bool sevendaycansign() const;
  360. inline void set_sevendaycansign(bool value);
  361. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_sign_info_result)
  362. private:
  363. inline void set_has_packet_id();
  364. inline void clear_has_packet_id();
  365. inline void set_has_signtype();
  366. inline void clear_has_signtype();
  367. inline void set_has_signcount();
  368. inline void clear_has_signcount();
  369. inline void set_has_keepsigncount();
  370. inline void clear_has_keepsigncount();
  371. inline void set_has_signuplevel();
  372. inline void clear_has_signuplevel();
  373. inline void set_has_cansign();
  374. inline void clear_has_cansign();
  375. inline void set_has_hassigncount();
  376. inline void clear_has_hassigncount();
  377. inline void set_has_sevendaycansign();
  378. inline void clear_has_sevendaycansign();
  379. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  380. int packet_id_;
  381. ::google::protobuf::int32 signtype_;
  382. ::google::protobuf::int32 signcount_;
  383. ::google::protobuf::int32 keepsigncount_;
  384. bool signuplevel_;
  385. bool cansign_;
  386. bool sevendaycansign_;
  387. ::google::protobuf::int32 hassigncount_;
  388. mutable int _cached_size_;
  389. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  390. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  391. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  392. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  393. void InitAsDefaultInstance();
  394. static packetw2c_req_sign_info_result* default_instance_;
  395. };
  396. // -------------------------------------------------------------------
  397. class packetc2w_req_recv_sevenday_reward : public ::google::protobuf::Message {
  398. public:
  399. packetc2w_req_recv_sevenday_reward();
  400. virtual ~packetc2w_req_recv_sevenday_reward();
  401. packetc2w_req_recv_sevenday_reward(const packetc2w_req_recv_sevenday_reward& from);
  402. inline packetc2w_req_recv_sevenday_reward& operator=(const packetc2w_req_recv_sevenday_reward& from) {
  403. CopyFrom(from);
  404. return *this;
  405. }
  406. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  407. return _unknown_fields_;
  408. }
  409. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  410. return &_unknown_fields_;
  411. }
  412. static const ::google::protobuf::Descriptor* descriptor();
  413. static const packetc2w_req_recv_sevenday_reward& default_instance();
  414. void Swap(packetc2w_req_recv_sevenday_reward* other);
  415. // implements Message ----------------------------------------------
  416. packetc2w_req_recv_sevenday_reward* New() const;
  417. void CopyFrom(const ::google::protobuf::Message& from);
  418. void MergeFrom(const ::google::protobuf::Message& from);
  419. void CopyFrom(const packetc2w_req_recv_sevenday_reward& from);
  420. void MergeFrom(const packetc2w_req_recv_sevenday_reward& from);
  421. void Clear();
  422. bool IsInitialized() const;
  423. int ByteSize() const;
  424. bool MergePartialFromCodedStream(
  425. ::google::protobuf::io::CodedInputStream* input);
  426. void SerializeWithCachedSizes(
  427. ::google::protobuf::io::CodedOutputStream* output) const;
  428. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  429. int GetCachedSize() const { return _cached_size_; }
  430. private:
  431. void SharedCtor();
  432. void SharedDtor();
  433. void SetCachedSize(int size) const;
  434. public:
  435. ::google::protobuf::Metadata GetMetadata() const;
  436. // nested types ----------------------------------------------------
  437. // accessors -------------------------------------------------------
  438. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_sevenday_reward];
  439. inline bool has_packet_id() const;
  440. inline void clear_packet_id();
  441. static const int kPacketIdFieldNumber = 1;
  442. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  443. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  444. // optional int32 day = 2;
  445. inline bool has_day() const;
  446. inline void clear_day();
  447. static const int kDayFieldNumber = 2;
  448. inline ::google::protobuf::int32 day() const;
  449. inline void set_day(::google::protobuf::int32 value);
  450. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_recv_sevenday_reward)
  451. private:
  452. inline void set_has_packet_id();
  453. inline void clear_has_packet_id();
  454. inline void set_has_day();
  455. inline void clear_has_day();
  456. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  457. int packet_id_;
  458. ::google::protobuf::int32 day_;
  459. mutable int _cached_size_;
  460. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  461. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  462. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  463. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  464. void InitAsDefaultInstance();
  465. static packetc2w_req_recv_sevenday_reward* default_instance_;
  466. };
  467. // -------------------------------------------------------------------
  468. class packetc2w_req_recv_sevenday_reward_result : public ::google::protobuf::Message {
  469. public:
  470. packetc2w_req_recv_sevenday_reward_result();
  471. virtual ~packetc2w_req_recv_sevenday_reward_result();
  472. packetc2w_req_recv_sevenday_reward_result(const packetc2w_req_recv_sevenday_reward_result& from);
  473. inline packetc2w_req_recv_sevenday_reward_result& operator=(const packetc2w_req_recv_sevenday_reward_result& from) {
  474. CopyFrom(from);
  475. return *this;
  476. }
  477. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  478. return _unknown_fields_;
  479. }
  480. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  481. return &_unknown_fields_;
  482. }
  483. static const ::google::protobuf::Descriptor* descriptor();
  484. static const packetc2w_req_recv_sevenday_reward_result& default_instance();
  485. void Swap(packetc2w_req_recv_sevenday_reward_result* other);
  486. // implements Message ----------------------------------------------
  487. packetc2w_req_recv_sevenday_reward_result* New() const;
  488. void CopyFrom(const ::google::protobuf::Message& from);
  489. void MergeFrom(const ::google::protobuf::Message& from);
  490. void CopyFrom(const packetc2w_req_recv_sevenday_reward_result& from);
  491. void MergeFrom(const packetc2w_req_recv_sevenday_reward_result& from);
  492. void Clear();
  493. bool IsInitialized() const;
  494. int ByteSize() const;
  495. bool MergePartialFromCodedStream(
  496. ::google::protobuf::io::CodedInputStream* input);
  497. void SerializeWithCachedSizes(
  498. ::google::protobuf::io::CodedOutputStream* output) const;
  499. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  500. int GetCachedSize() const { return _cached_size_; }
  501. private:
  502. void SharedCtor();
  503. void SharedDtor();
  504. void SetCachedSize(int size) const;
  505. public:
  506. ::google::protobuf::Metadata GetMetadata() const;
  507. // nested types ----------------------------------------------------
  508. // accessors -------------------------------------------------------
  509. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_sevenday_reward_result];
  510. inline bool has_packet_id() const;
  511. inline void clear_packet_id();
  512. static const int kPacketIdFieldNumber = 1;
  513. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  514. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  515. // optional int32 day = 2;
  516. inline bool has_day() const;
  517. inline void clear_day();
  518. static const int kDayFieldNumber = 2;
  519. inline ::google::protobuf::int32 day() const;
  520. inline void set_day(::google::protobuf::int32 value);
  521. // optional int32 result = 3;
  522. inline bool has_result() const;
  523. inline void clear_result();
  524. static const int kResultFieldNumber = 3;
  525. inline ::google::protobuf::int32 result() const;
  526. inline void set_result(::google::protobuf::int32 value);
  527. // repeated .msg_info_def.ItemInfo itemList = 4;
  528. inline int itemlist_size() const;
  529. inline void clear_itemlist();
  530. static const int kItemListFieldNumber = 4;
  531. inline const ::msg_info_def::ItemInfo& itemlist(int index) const;
  532. inline ::msg_info_def::ItemInfo* mutable_itemlist(int index);
  533. inline ::msg_info_def::ItemInfo* add_itemlist();
  534. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  535. itemlist() const;
  536. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  537. mutable_itemlist();
  538. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_recv_sevenday_reward_result)
  539. private:
  540. inline void set_has_packet_id();
  541. inline void clear_has_packet_id();
  542. inline void set_has_day();
  543. inline void clear_has_day();
  544. inline void set_has_result();
  545. inline void clear_has_result();
  546. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  547. int packet_id_;
  548. ::google::protobuf::int32 day_;
  549. ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > itemlist_;
  550. ::google::protobuf::int32 result_;
  551. mutable int _cached_size_;
  552. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  553. friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  554. friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto();
  555. friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto();
  556. void InitAsDefaultInstance();
  557. static packetc2w_req_recv_sevenday_reward_result* default_instance_;
  558. };
  559. // ===================================================================
  560. // ===================================================================
  561. // packetc2w_req_sign
  562. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign];
  563. inline bool packetc2w_req_sign::has_packet_id() const {
  564. return (_has_bits_[0] & 0x00000001u) != 0;
  565. }
  566. inline void packetc2w_req_sign::set_has_packet_id() {
  567. _has_bits_[0] |= 0x00000001u;
  568. }
  569. inline void packetc2w_req_sign::clear_has_packet_id() {
  570. _has_bits_[0] &= ~0x00000001u;
  571. }
  572. inline void packetc2w_req_sign::clear_packet_id() {
  573. packet_id_ = 5098;
  574. clear_has_packet_id();
  575. }
  576. inline ::client2world_protocols::e_server_msg_type packetc2w_req_sign::packet_id() const {
  577. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  578. }
  579. inline void packetc2w_req_sign::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  580. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  581. set_has_packet_id();
  582. packet_id_ = value;
  583. }
  584. // optional bool double = 2;
  585. inline bool packetc2w_req_sign::has_double_() const {
  586. return (_has_bits_[0] & 0x00000002u) != 0;
  587. }
  588. inline void packetc2w_req_sign::set_has_double_() {
  589. _has_bits_[0] |= 0x00000002u;
  590. }
  591. inline void packetc2w_req_sign::clear_has_double_() {
  592. _has_bits_[0] &= ~0x00000002u;
  593. }
  594. inline void packetc2w_req_sign::clear_double_() {
  595. double__ = false;
  596. clear_has_double_();
  597. }
  598. inline bool packetc2w_req_sign::double_() const {
  599. return double__;
  600. }
  601. inline void packetc2w_req_sign::set_double_(bool value) {
  602. set_has_double_();
  603. double__ = value;
  604. }
  605. // -------------------------------------------------------------------
  606. // packetw2c_req_sign_result
  607. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_result];
  608. inline bool packetw2c_req_sign_result::has_packet_id() const {
  609. return (_has_bits_[0] & 0x00000001u) != 0;
  610. }
  611. inline void packetw2c_req_sign_result::set_has_packet_id() {
  612. _has_bits_[0] |= 0x00000001u;
  613. }
  614. inline void packetw2c_req_sign_result::clear_has_packet_id() {
  615. _has_bits_[0] &= ~0x00000001u;
  616. }
  617. inline void packetw2c_req_sign_result::clear_packet_id() {
  618. packet_id_ = 7605;
  619. clear_has_packet_id();
  620. }
  621. inline ::client2world_protocols::e_server_msg_type packetw2c_req_sign_result::packet_id() const {
  622. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  623. }
  624. inline void packetw2c_req_sign_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  625. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  626. set_has_packet_id();
  627. packet_id_ = value;
  628. }
  629. // optional bool double = 2;
  630. inline bool packetw2c_req_sign_result::has_double_() const {
  631. return (_has_bits_[0] & 0x00000002u) != 0;
  632. }
  633. inline void packetw2c_req_sign_result::set_has_double_() {
  634. _has_bits_[0] |= 0x00000002u;
  635. }
  636. inline void packetw2c_req_sign_result::clear_has_double_() {
  637. _has_bits_[0] &= ~0x00000002u;
  638. }
  639. inline void packetw2c_req_sign_result::clear_double_() {
  640. double__ = false;
  641. clear_has_double_();
  642. }
  643. inline bool packetw2c_req_sign_result::double_() const {
  644. return double__;
  645. }
  646. inline void packetw2c_req_sign_result::set_double_(bool value) {
  647. set_has_double_();
  648. double__ = value;
  649. }
  650. // optional int32 result = 3;
  651. inline bool packetw2c_req_sign_result::has_result() const {
  652. return (_has_bits_[0] & 0x00000004u) != 0;
  653. }
  654. inline void packetw2c_req_sign_result::set_has_result() {
  655. _has_bits_[0] |= 0x00000004u;
  656. }
  657. inline void packetw2c_req_sign_result::clear_has_result() {
  658. _has_bits_[0] &= ~0x00000004u;
  659. }
  660. inline void packetw2c_req_sign_result::clear_result() {
  661. result_ = 0;
  662. clear_has_result();
  663. }
  664. inline ::google::protobuf::int32 packetw2c_req_sign_result::result() const {
  665. return result_;
  666. }
  667. inline void packetw2c_req_sign_result::set_result(::google::protobuf::int32 value) {
  668. set_has_result();
  669. result_ = value;
  670. }
  671. // repeated .msg_info_def.ItemInfo itemList = 4;
  672. inline int packetw2c_req_sign_result::itemlist_size() const {
  673. return itemlist_.size();
  674. }
  675. inline void packetw2c_req_sign_result::clear_itemlist() {
  676. itemlist_.Clear();
  677. }
  678. inline const ::msg_info_def::ItemInfo& packetw2c_req_sign_result::itemlist(int index) const {
  679. return itemlist_.Get(index);
  680. }
  681. inline ::msg_info_def::ItemInfo* packetw2c_req_sign_result::mutable_itemlist(int index) {
  682. return itemlist_.Mutable(index);
  683. }
  684. inline ::msg_info_def::ItemInfo* packetw2c_req_sign_result::add_itemlist() {
  685. return itemlist_.Add();
  686. }
  687. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  688. packetw2c_req_sign_result::itemlist() const {
  689. return itemlist_;
  690. }
  691. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  692. packetw2c_req_sign_result::mutable_itemlist() {
  693. return &itemlist_;
  694. }
  695. // -------------------------------------------------------------------
  696. // packetc2w_req_sign_info
  697. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign_info];
  698. inline bool packetc2w_req_sign_info::has_packet_id() const {
  699. return (_has_bits_[0] & 0x00000001u) != 0;
  700. }
  701. inline void packetc2w_req_sign_info::set_has_packet_id() {
  702. _has_bits_[0] |= 0x00000001u;
  703. }
  704. inline void packetc2w_req_sign_info::clear_has_packet_id() {
  705. _has_bits_[0] &= ~0x00000001u;
  706. }
  707. inline void packetc2w_req_sign_info::clear_packet_id() {
  708. packet_id_ = 5099;
  709. clear_has_packet_id();
  710. }
  711. inline ::client2world_protocols::e_server_msg_type packetc2w_req_sign_info::packet_id() const {
  712. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  713. }
  714. inline void packetc2w_req_sign_info::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  715. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  716. set_has_packet_id();
  717. packet_id_ = value;
  718. }
  719. // optional int32 signtype = 2;
  720. inline bool packetc2w_req_sign_info::has_signtype() const {
  721. return (_has_bits_[0] & 0x00000002u) != 0;
  722. }
  723. inline void packetc2w_req_sign_info::set_has_signtype() {
  724. _has_bits_[0] |= 0x00000002u;
  725. }
  726. inline void packetc2w_req_sign_info::clear_has_signtype() {
  727. _has_bits_[0] &= ~0x00000002u;
  728. }
  729. inline void packetc2w_req_sign_info::clear_signtype() {
  730. signtype_ = 0;
  731. clear_has_signtype();
  732. }
  733. inline ::google::protobuf::int32 packetc2w_req_sign_info::signtype() const {
  734. return signtype_;
  735. }
  736. inline void packetc2w_req_sign_info::set_signtype(::google::protobuf::int32 value) {
  737. set_has_signtype();
  738. signtype_ = value;
  739. }
  740. // -------------------------------------------------------------------
  741. // packetw2c_req_sign_info_result
  742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_info_result];
  743. inline bool packetw2c_req_sign_info_result::has_packet_id() const {
  744. return (_has_bits_[0] & 0x00000001u) != 0;
  745. }
  746. inline void packetw2c_req_sign_info_result::set_has_packet_id() {
  747. _has_bits_[0] |= 0x00000001u;
  748. }
  749. inline void packetw2c_req_sign_info_result::clear_has_packet_id() {
  750. _has_bits_[0] &= ~0x00000001u;
  751. }
  752. inline void packetw2c_req_sign_info_result::clear_packet_id() {
  753. packet_id_ = 7606;
  754. clear_has_packet_id();
  755. }
  756. inline ::client2world_protocols::e_server_msg_type packetw2c_req_sign_info_result::packet_id() const {
  757. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  758. }
  759. inline void packetw2c_req_sign_info_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  760. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  761. set_has_packet_id();
  762. packet_id_ = value;
  763. }
  764. // optional int32 signtype = 2;
  765. inline bool packetw2c_req_sign_info_result::has_signtype() const {
  766. return (_has_bits_[0] & 0x00000002u) != 0;
  767. }
  768. inline void packetw2c_req_sign_info_result::set_has_signtype() {
  769. _has_bits_[0] |= 0x00000002u;
  770. }
  771. inline void packetw2c_req_sign_info_result::clear_has_signtype() {
  772. _has_bits_[0] &= ~0x00000002u;
  773. }
  774. inline void packetw2c_req_sign_info_result::clear_signtype() {
  775. signtype_ = 0;
  776. clear_has_signtype();
  777. }
  778. inline ::google::protobuf::int32 packetw2c_req_sign_info_result::signtype() const {
  779. return signtype_;
  780. }
  781. inline void packetw2c_req_sign_info_result::set_signtype(::google::protobuf::int32 value) {
  782. set_has_signtype();
  783. signtype_ = value;
  784. }
  785. // optional int32 signCount = 3;
  786. inline bool packetw2c_req_sign_info_result::has_signcount() const {
  787. return (_has_bits_[0] & 0x00000004u) != 0;
  788. }
  789. inline void packetw2c_req_sign_info_result::set_has_signcount() {
  790. _has_bits_[0] |= 0x00000004u;
  791. }
  792. inline void packetw2c_req_sign_info_result::clear_has_signcount() {
  793. _has_bits_[0] &= ~0x00000004u;
  794. }
  795. inline void packetw2c_req_sign_info_result::clear_signcount() {
  796. signcount_ = 0;
  797. clear_has_signcount();
  798. }
  799. inline ::google::protobuf::int32 packetw2c_req_sign_info_result::signcount() const {
  800. return signcount_;
  801. }
  802. inline void packetw2c_req_sign_info_result::set_signcount(::google::protobuf::int32 value) {
  803. set_has_signcount();
  804. signcount_ = value;
  805. }
  806. // optional int32 keepSignCount = 4;
  807. inline bool packetw2c_req_sign_info_result::has_keepsigncount() const {
  808. return (_has_bits_[0] & 0x00000008u) != 0;
  809. }
  810. inline void packetw2c_req_sign_info_result::set_has_keepsigncount() {
  811. _has_bits_[0] |= 0x00000008u;
  812. }
  813. inline void packetw2c_req_sign_info_result::clear_has_keepsigncount() {
  814. _has_bits_[0] &= ~0x00000008u;
  815. }
  816. inline void packetw2c_req_sign_info_result::clear_keepsigncount() {
  817. keepsigncount_ = 0;
  818. clear_has_keepsigncount();
  819. }
  820. inline ::google::protobuf::int32 packetw2c_req_sign_info_result::keepsigncount() const {
  821. return keepsigncount_;
  822. }
  823. inline void packetw2c_req_sign_info_result::set_keepsigncount(::google::protobuf::int32 value) {
  824. set_has_keepsigncount();
  825. keepsigncount_ = value;
  826. }
  827. // optional bool signUpLevel = 5;
  828. inline bool packetw2c_req_sign_info_result::has_signuplevel() const {
  829. return (_has_bits_[0] & 0x00000010u) != 0;
  830. }
  831. inline void packetw2c_req_sign_info_result::set_has_signuplevel() {
  832. _has_bits_[0] |= 0x00000010u;
  833. }
  834. inline void packetw2c_req_sign_info_result::clear_has_signuplevel() {
  835. _has_bits_[0] &= ~0x00000010u;
  836. }
  837. inline void packetw2c_req_sign_info_result::clear_signuplevel() {
  838. signuplevel_ = false;
  839. clear_has_signuplevel();
  840. }
  841. inline bool packetw2c_req_sign_info_result::signuplevel() const {
  842. return signuplevel_;
  843. }
  844. inline void packetw2c_req_sign_info_result::set_signuplevel(bool value) {
  845. set_has_signuplevel();
  846. signuplevel_ = value;
  847. }
  848. // optional bool canSign = 6;
  849. inline bool packetw2c_req_sign_info_result::has_cansign() const {
  850. return (_has_bits_[0] & 0x00000020u) != 0;
  851. }
  852. inline void packetw2c_req_sign_info_result::set_has_cansign() {
  853. _has_bits_[0] |= 0x00000020u;
  854. }
  855. inline void packetw2c_req_sign_info_result::clear_has_cansign() {
  856. _has_bits_[0] &= ~0x00000020u;
  857. }
  858. inline void packetw2c_req_sign_info_result::clear_cansign() {
  859. cansign_ = false;
  860. clear_has_cansign();
  861. }
  862. inline bool packetw2c_req_sign_info_result::cansign() const {
  863. return cansign_;
  864. }
  865. inline void packetw2c_req_sign_info_result::set_cansign(bool value) {
  866. set_has_cansign();
  867. cansign_ = value;
  868. }
  869. // optional int32 hasSignCount = 7;
  870. inline bool packetw2c_req_sign_info_result::has_hassigncount() const {
  871. return (_has_bits_[0] & 0x00000040u) != 0;
  872. }
  873. inline void packetw2c_req_sign_info_result::set_has_hassigncount() {
  874. _has_bits_[0] |= 0x00000040u;
  875. }
  876. inline void packetw2c_req_sign_info_result::clear_has_hassigncount() {
  877. _has_bits_[0] &= ~0x00000040u;
  878. }
  879. inline void packetw2c_req_sign_info_result::clear_hassigncount() {
  880. hassigncount_ = 0;
  881. clear_has_hassigncount();
  882. }
  883. inline ::google::protobuf::int32 packetw2c_req_sign_info_result::hassigncount() const {
  884. return hassigncount_;
  885. }
  886. inline void packetw2c_req_sign_info_result::set_hassigncount(::google::protobuf::int32 value) {
  887. set_has_hassigncount();
  888. hassigncount_ = value;
  889. }
  890. // optional bool sevenDayCanSign = 8;
  891. inline bool packetw2c_req_sign_info_result::has_sevendaycansign() const {
  892. return (_has_bits_[0] & 0x00000080u) != 0;
  893. }
  894. inline void packetw2c_req_sign_info_result::set_has_sevendaycansign() {
  895. _has_bits_[0] |= 0x00000080u;
  896. }
  897. inline void packetw2c_req_sign_info_result::clear_has_sevendaycansign() {
  898. _has_bits_[0] &= ~0x00000080u;
  899. }
  900. inline void packetw2c_req_sign_info_result::clear_sevendaycansign() {
  901. sevendaycansign_ = false;
  902. clear_has_sevendaycansign();
  903. }
  904. inline bool packetw2c_req_sign_info_result::sevendaycansign() const {
  905. return sevendaycansign_;
  906. }
  907. inline void packetw2c_req_sign_info_result::set_sevendaycansign(bool value) {
  908. set_has_sevendaycansign();
  909. sevendaycansign_ = value;
  910. }
  911. // -------------------------------------------------------------------
  912. // packetc2w_req_recv_sevenday_reward
  913. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_sevenday_reward];
  914. inline bool packetc2w_req_recv_sevenday_reward::has_packet_id() const {
  915. return (_has_bits_[0] & 0x00000001u) != 0;
  916. }
  917. inline void packetc2w_req_recv_sevenday_reward::set_has_packet_id() {
  918. _has_bits_[0] |= 0x00000001u;
  919. }
  920. inline void packetc2w_req_recv_sevenday_reward::clear_has_packet_id() {
  921. _has_bits_[0] &= ~0x00000001u;
  922. }
  923. inline void packetc2w_req_recv_sevenday_reward::clear_packet_id() {
  924. packet_id_ = 5147;
  925. clear_has_packet_id();
  926. }
  927. inline ::client2world_protocols::e_server_msg_type packetc2w_req_recv_sevenday_reward::packet_id() const {
  928. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  929. }
  930. inline void packetc2w_req_recv_sevenday_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  931. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  932. set_has_packet_id();
  933. packet_id_ = value;
  934. }
  935. // optional int32 day = 2;
  936. inline bool packetc2w_req_recv_sevenday_reward::has_day() const {
  937. return (_has_bits_[0] & 0x00000002u) != 0;
  938. }
  939. inline void packetc2w_req_recv_sevenday_reward::set_has_day() {
  940. _has_bits_[0] |= 0x00000002u;
  941. }
  942. inline void packetc2w_req_recv_sevenday_reward::clear_has_day() {
  943. _has_bits_[0] &= ~0x00000002u;
  944. }
  945. inline void packetc2w_req_recv_sevenday_reward::clear_day() {
  946. day_ = 0;
  947. clear_has_day();
  948. }
  949. inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward::day() const {
  950. return day_;
  951. }
  952. inline void packetc2w_req_recv_sevenday_reward::set_day(::google::protobuf::int32 value) {
  953. set_has_day();
  954. day_ = value;
  955. }
  956. // -------------------------------------------------------------------
  957. // packetc2w_req_recv_sevenday_reward_result
  958. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_sevenday_reward_result];
  959. inline bool packetc2w_req_recv_sevenday_reward_result::has_packet_id() const {
  960. return (_has_bits_[0] & 0x00000001u) != 0;
  961. }
  962. inline void packetc2w_req_recv_sevenday_reward_result::set_has_packet_id() {
  963. _has_bits_[0] |= 0x00000001u;
  964. }
  965. inline void packetc2w_req_recv_sevenday_reward_result::clear_has_packet_id() {
  966. _has_bits_[0] &= ~0x00000001u;
  967. }
  968. inline void packetc2w_req_recv_sevenday_reward_result::clear_packet_id() {
  969. packet_id_ = 7659;
  970. clear_has_packet_id();
  971. }
  972. inline ::client2world_protocols::e_server_msg_type packetc2w_req_recv_sevenday_reward_result::packet_id() const {
  973. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  974. }
  975. inline void packetc2w_req_recv_sevenday_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  976. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  977. set_has_packet_id();
  978. packet_id_ = value;
  979. }
  980. // optional int32 day = 2;
  981. inline bool packetc2w_req_recv_sevenday_reward_result::has_day() const {
  982. return (_has_bits_[0] & 0x00000002u) != 0;
  983. }
  984. inline void packetc2w_req_recv_sevenday_reward_result::set_has_day() {
  985. _has_bits_[0] |= 0x00000002u;
  986. }
  987. inline void packetc2w_req_recv_sevenday_reward_result::clear_has_day() {
  988. _has_bits_[0] &= ~0x00000002u;
  989. }
  990. inline void packetc2w_req_recv_sevenday_reward_result::clear_day() {
  991. day_ = 0;
  992. clear_has_day();
  993. }
  994. inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward_result::day() const {
  995. return day_;
  996. }
  997. inline void packetc2w_req_recv_sevenday_reward_result::set_day(::google::protobuf::int32 value) {
  998. set_has_day();
  999. day_ = value;
  1000. }
  1001. // optional int32 result = 3;
  1002. inline bool packetc2w_req_recv_sevenday_reward_result::has_result() const {
  1003. return (_has_bits_[0] & 0x00000004u) != 0;
  1004. }
  1005. inline void packetc2w_req_recv_sevenday_reward_result::set_has_result() {
  1006. _has_bits_[0] |= 0x00000004u;
  1007. }
  1008. inline void packetc2w_req_recv_sevenday_reward_result::clear_has_result() {
  1009. _has_bits_[0] &= ~0x00000004u;
  1010. }
  1011. inline void packetc2w_req_recv_sevenday_reward_result::clear_result() {
  1012. result_ = 0;
  1013. clear_has_result();
  1014. }
  1015. inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward_result::result() const {
  1016. return result_;
  1017. }
  1018. inline void packetc2w_req_recv_sevenday_reward_result::set_result(::google::protobuf::int32 value) {
  1019. set_has_result();
  1020. result_ = value;
  1021. }
  1022. // repeated .msg_info_def.ItemInfo itemList = 4;
  1023. inline int packetc2w_req_recv_sevenday_reward_result::itemlist_size() const {
  1024. return itemlist_.size();
  1025. }
  1026. inline void packetc2w_req_recv_sevenday_reward_result::clear_itemlist() {
  1027. itemlist_.Clear();
  1028. }
  1029. inline const ::msg_info_def::ItemInfo& packetc2w_req_recv_sevenday_reward_result::itemlist(int index) const {
  1030. return itemlist_.Get(index);
  1031. }
  1032. inline ::msg_info_def::ItemInfo* packetc2w_req_recv_sevenday_reward_result::mutable_itemlist(int index) {
  1033. return itemlist_.Mutable(index);
  1034. }
  1035. inline ::msg_info_def::ItemInfo* packetc2w_req_recv_sevenday_reward_result::add_itemlist() {
  1036. return itemlist_.Add();
  1037. }
  1038. inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
  1039. packetc2w_req_recv_sevenday_reward_result::itemlist() const {
  1040. return itemlist_;
  1041. }
  1042. inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
  1043. packetc2w_req_recv_sevenday_reward_result::mutable_itemlist() {
  1044. return &itemlist_;
  1045. }
  1046. // @@protoc_insertion_point(namespace_scope)
  1047. } // namespace client2world_protocols
  1048. #ifndef SWIG
  1049. namespace google {
  1050. namespace protobuf {
  1051. } // namespace google
  1052. } // namespace protobuf
  1053. #endif // SWIG
  1054. // @@protoc_insertion_point(global_scope)
  1055. #endif // PROTOBUF_client2world_5fdaily_5fbox_5flottery_2eproto__INCLUDED