client2world_player_property.pb.h 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_player_property.proto
  3. #ifndef PROTOBUF_client2world_5fplayer_5fproperty_2eproto__INCLUDED
  4. #define PROTOBUF_client2world_5fplayer_5fproperty_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_5fplayer_5fproperty_2eproto();
  29. void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  30. void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  31. class packetc2w_update_nickname;
  32. class packetw2c_update_nickname_result;
  33. class packetc2w_req_self_record;
  34. class packetw2c_req_self_record_result;
  35. class packetc2w_finish_one_new_guild;
  36. class packetw2c_finish_one_new_guild_result;
  37. class packetc2w_req_last_rechargelist;
  38. class packetw2c_req_last_rechargelist_result;
  39. // ===================================================================
  40. class packetc2w_update_nickname : public ::google::protobuf::Message {
  41. public:
  42. packetc2w_update_nickname();
  43. virtual ~packetc2w_update_nickname();
  44. packetc2w_update_nickname(const packetc2w_update_nickname& from);
  45. inline packetc2w_update_nickname& operator=(const packetc2w_update_nickname& from) {
  46. CopyFrom(from);
  47. return *this;
  48. }
  49. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  50. return _unknown_fields_;
  51. }
  52. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  53. return &_unknown_fields_;
  54. }
  55. static const ::google::protobuf::Descriptor* descriptor();
  56. static const packetc2w_update_nickname& default_instance();
  57. void Swap(packetc2w_update_nickname* other);
  58. // implements Message ----------------------------------------------
  59. packetc2w_update_nickname* New() const;
  60. void CopyFrom(const ::google::protobuf::Message& from);
  61. void MergeFrom(const ::google::protobuf::Message& from);
  62. void CopyFrom(const packetc2w_update_nickname& from);
  63. void MergeFrom(const packetc2w_update_nickname& from);
  64. void Clear();
  65. bool IsInitialized() const;
  66. int ByteSize() const;
  67. bool MergePartialFromCodedStream(
  68. ::google::protobuf::io::CodedInputStream* input);
  69. void SerializeWithCachedSizes(
  70. ::google::protobuf::io::CodedOutputStream* output) const;
  71. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  72. int GetCachedSize() const { return _cached_size_; }
  73. private:
  74. void SharedCtor();
  75. void SharedDtor();
  76. void SetCachedSize(int size) const;
  77. public:
  78. ::google::protobuf::Metadata GetMetadata() const;
  79. // nested types ----------------------------------------------------
  80. // accessors -------------------------------------------------------
  81. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  82. inline bool has_packet_id() const;
  83. inline void clear_packet_id();
  84. static const int kPacketIdFieldNumber = 1;
  85. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  86. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  87. // optional string nickName = 2;
  88. inline bool has_nickname() const;
  89. inline void clear_nickname();
  90. static const int kNickNameFieldNumber = 2;
  91. inline const ::std::string& nickname() const;
  92. inline void set_nickname(const ::std::string& value);
  93. inline void set_nickname(const char* value);
  94. inline void set_nickname(const char* value, size_t size);
  95. inline ::std::string* mutable_nickname();
  96. inline ::std::string* release_nickname();
  97. inline void set_allocated_nickname(::std::string* nickname);
  98. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_update_nickname)
  99. private:
  100. inline void set_has_packet_id();
  101. inline void clear_has_packet_id();
  102. inline void set_has_nickname();
  103. inline void clear_has_nickname();
  104. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  105. ::std::string* nickname_;
  106. int packet_id_;
  107. mutable int _cached_size_;
  108. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  109. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  110. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  111. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  112. void InitAsDefaultInstance();
  113. static packetc2w_update_nickname* default_instance_;
  114. };
  115. // -------------------------------------------------------------------
  116. class packetw2c_update_nickname_result : public ::google::protobuf::Message {
  117. public:
  118. packetw2c_update_nickname_result();
  119. virtual ~packetw2c_update_nickname_result();
  120. packetw2c_update_nickname_result(const packetw2c_update_nickname_result& from);
  121. inline packetw2c_update_nickname_result& operator=(const packetw2c_update_nickname_result& from) {
  122. CopyFrom(from);
  123. return *this;
  124. }
  125. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  126. return _unknown_fields_;
  127. }
  128. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  129. return &_unknown_fields_;
  130. }
  131. static const ::google::protobuf::Descriptor* descriptor();
  132. static const packetw2c_update_nickname_result& default_instance();
  133. void Swap(packetw2c_update_nickname_result* other);
  134. // implements Message ----------------------------------------------
  135. packetw2c_update_nickname_result* New() const;
  136. void CopyFrom(const ::google::protobuf::Message& from);
  137. void MergeFrom(const ::google::protobuf::Message& from);
  138. void CopyFrom(const packetw2c_update_nickname_result& from);
  139. void MergeFrom(const packetw2c_update_nickname_result& from);
  140. void Clear();
  141. bool IsInitialized() const;
  142. int ByteSize() const;
  143. bool MergePartialFromCodedStream(
  144. ::google::protobuf::io::CodedInputStream* input);
  145. void SerializeWithCachedSizes(
  146. ::google::protobuf::io::CodedOutputStream* output) const;
  147. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  148. int GetCachedSize() const { return _cached_size_; }
  149. private:
  150. void SharedCtor();
  151. void SharedDtor();
  152. void SetCachedSize(int size) const;
  153. public:
  154. ::google::protobuf::Metadata GetMetadata() const;
  155. // nested types ----------------------------------------------------
  156. // accessors -------------------------------------------------------
  157. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  158. inline bool has_packet_id() const;
  159. inline void clear_packet_id();
  160. static const int kPacketIdFieldNumber = 1;
  161. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  162. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  163. // optional string nickName = 2;
  164. inline bool has_nickname() const;
  165. inline void clear_nickname();
  166. static const int kNickNameFieldNumber = 2;
  167. inline const ::std::string& nickname() const;
  168. inline void set_nickname(const ::std::string& value);
  169. inline void set_nickname(const char* value);
  170. inline void set_nickname(const char* value, size_t size);
  171. inline ::std::string* mutable_nickname();
  172. inline ::std::string* release_nickname();
  173. inline void set_allocated_nickname(::std::string* nickname);
  174. // optional int32 result = 3;
  175. inline bool has_result() const;
  176. inline void clear_result();
  177. static const int kResultFieldNumber = 3;
  178. inline ::google::protobuf::int32 result() const;
  179. inline void set_result(::google::protobuf::int32 value);
  180. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_update_nickname_result)
  181. private:
  182. inline void set_has_packet_id();
  183. inline void clear_has_packet_id();
  184. inline void set_has_nickname();
  185. inline void clear_has_nickname();
  186. inline void set_has_result();
  187. inline void clear_has_result();
  188. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  189. ::std::string* nickname_;
  190. int packet_id_;
  191. ::google::protobuf::int32 result_;
  192. mutable int _cached_size_;
  193. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  194. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  195. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  196. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  197. void InitAsDefaultInstance();
  198. static packetw2c_update_nickname_result* default_instance_;
  199. };
  200. // -------------------------------------------------------------------
  201. class packetc2w_req_self_record : public ::google::protobuf::Message {
  202. public:
  203. packetc2w_req_self_record();
  204. virtual ~packetc2w_req_self_record();
  205. packetc2w_req_self_record(const packetc2w_req_self_record& from);
  206. inline packetc2w_req_self_record& operator=(const packetc2w_req_self_record& 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_self_record& default_instance();
  218. void Swap(packetc2w_req_self_record* other);
  219. // implements Message ----------------------------------------------
  220. packetc2w_req_self_record* New() const;
  221. void CopyFrom(const ::google::protobuf::Message& from);
  222. void MergeFrom(const ::google::protobuf::Message& from);
  223. void CopyFrom(const packetc2w_req_self_record& from);
  224. void MergeFrom(const packetc2w_req_self_record& 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_self_record];
  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. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_self_record)
  249. private:
  250. inline void set_has_packet_id();
  251. inline void clear_has_packet_id();
  252. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  253. int packet_id_;
  254. mutable int _cached_size_;
  255. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  256. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  257. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  258. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  259. void InitAsDefaultInstance();
  260. static packetc2w_req_self_record* default_instance_;
  261. };
  262. // -------------------------------------------------------------------
  263. class packetw2c_req_self_record_result : public ::google::protobuf::Message {
  264. public:
  265. packetw2c_req_self_record_result();
  266. virtual ~packetw2c_req_self_record_result();
  267. packetw2c_req_self_record_result(const packetw2c_req_self_record_result& from);
  268. inline packetw2c_req_self_record_result& operator=(const packetw2c_req_self_record_result& from) {
  269. CopyFrom(from);
  270. return *this;
  271. }
  272. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  273. return _unknown_fields_;
  274. }
  275. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  276. return &_unknown_fields_;
  277. }
  278. static const ::google::protobuf::Descriptor* descriptor();
  279. static const packetw2c_req_self_record_result& default_instance();
  280. void Swap(packetw2c_req_self_record_result* other);
  281. // implements Message ----------------------------------------------
  282. packetw2c_req_self_record_result* New() const;
  283. void CopyFrom(const ::google::protobuf::Message& from);
  284. void MergeFrom(const ::google::protobuf::Message& from);
  285. void CopyFrom(const packetw2c_req_self_record_result& from);
  286. void MergeFrom(const packetw2c_req_self_record_result& from);
  287. void Clear();
  288. bool IsInitialized() const;
  289. int ByteSize() const;
  290. bool MergePartialFromCodedStream(
  291. ::google::protobuf::io::CodedInputStream* input);
  292. void SerializeWithCachedSizes(
  293. ::google::protobuf::io::CodedOutputStream* output) const;
  294. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  295. int GetCachedSize() const { return _cached_size_; }
  296. private:
  297. void SharedCtor();
  298. void SharedDtor();
  299. void SetCachedSize(int size) const;
  300. public:
  301. ::google::protobuf::Metadata GetMetadata() const;
  302. // nested types ----------------------------------------------------
  303. // accessors -------------------------------------------------------
  304. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  305. inline bool has_packet_id() const;
  306. inline void clear_packet_id();
  307. static const int kPacketIdFieldNumber = 1;
  308. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  309. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  310. // optional int32 maxCoin = 2;
  311. inline bool has_maxcoin() const;
  312. inline void clear_maxcoin();
  313. static const int kMaxCoinFieldNumber = 2;
  314. inline ::google::protobuf::int32 maxcoin() const;
  315. inline void set_maxcoin(::google::protobuf::int32 value);
  316. // optional int32 maxDiamond = 3;
  317. inline bool has_maxdiamond() const;
  318. inline void clear_maxdiamond();
  319. static const int kMaxDiamondFieldNumber = 3;
  320. inline ::google::protobuf::int32 maxdiamond() const;
  321. inline void set_maxdiamond(::google::protobuf::int32 value);
  322. // optional int32 maxTicket = 4;
  323. inline bool has_maxticket() const;
  324. inline void clear_maxticket();
  325. static const int kMaxTicketFieldNumber = 4;
  326. inline ::google::protobuf::int32 maxticket() const;
  327. inline void set_maxticket(::google::protobuf::int32 value);
  328. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_self_record_result)
  329. private:
  330. inline void set_has_packet_id();
  331. inline void clear_has_packet_id();
  332. inline void set_has_maxcoin();
  333. inline void clear_has_maxcoin();
  334. inline void set_has_maxdiamond();
  335. inline void clear_has_maxdiamond();
  336. inline void set_has_maxticket();
  337. inline void clear_has_maxticket();
  338. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  339. int packet_id_;
  340. ::google::protobuf::int32 maxcoin_;
  341. ::google::protobuf::int32 maxdiamond_;
  342. ::google::protobuf::int32 maxticket_;
  343. mutable int _cached_size_;
  344. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  345. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  346. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  347. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  348. void InitAsDefaultInstance();
  349. static packetw2c_req_self_record_result* default_instance_;
  350. };
  351. // -------------------------------------------------------------------
  352. class packetc2w_finish_one_new_guild : public ::google::protobuf::Message {
  353. public:
  354. packetc2w_finish_one_new_guild();
  355. virtual ~packetc2w_finish_one_new_guild();
  356. packetc2w_finish_one_new_guild(const packetc2w_finish_one_new_guild& from);
  357. inline packetc2w_finish_one_new_guild& operator=(const packetc2w_finish_one_new_guild& from) {
  358. CopyFrom(from);
  359. return *this;
  360. }
  361. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  362. return _unknown_fields_;
  363. }
  364. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  365. return &_unknown_fields_;
  366. }
  367. static const ::google::protobuf::Descriptor* descriptor();
  368. static const packetc2w_finish_one_new_guild& default_instance();
  369. void Swap(packetc2w_finish_one_new_guild* other);
  370. // implements Message ----------------------------------------------
  371. packetc2w_finish_one_new_guild* New() const;
  372. void CopyFrom(const ::google::protobuf::Message& from);
  373. void MergeFrom(const ::google::protobuf::Message& from);
  374. void CopyFrom(const packetc2w_finish_one_new_guild& from);
  375. void MergeFrom(const packetc2w_finish_one_new_guild& from);
  376. void Clear();
  377. bool IsInitialized() const;
  378. int ByteSize() const;
  379. bool MergePartialFromCodedStream(
  380. ::google::protobuf::io::CodedInputStream* input);
  381. void SerializeWithCachedSizes(
  382. ::google::protobuf::io::CodedOutputStream* output) const;
  383. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  384. int GetCachedSize() const { return _cached_size_; }
  385. private:
  386. void SharedCtor();
  387. void SharedDtor();
  388. void SetCachedSize(int size) const;
  389. public:
  390. ::google::protobuf::Metadata GetMetadata() const;
  391. // nested types ----------------------------------------------------
  392. // accessors -------------------------------------------------------
  393. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  394. inline bool has_packet_id() const;
  395. inline void clear_packet_id();
  396. static const int kPacketIdFieldNumber = 1;
  397. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  398. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  399. // optional int32 type = 2;
  400. inline bool has_type() const;
  401. inline void clear_type();
  402. static const int kTypeFieldNumber = 2;
  403. inline ::google::protobuf::int32 type() const;
  404. inline void set_type(::google::protobuf::int32 value);
  405. // optional int32 stepId = 3;
  406. inline bool has_stepid() const;
  407. inline void clear_stepid();
  408. static const int kStepIdFieldNumber = 3;
  409. inline ::google::protobuf::int32 stepid() const;
  410. inline void set_stepid(::google::protobuf::int32 value);
  411. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_finish_one_new_guild)
  412. private:
  413. inline void set_has_packet_id();
  414. inline void clear_has_packet_id();
  415. inline void set_has_type();
  416. inline void clear_has_type();
  417. inline void set_has_stepid();
  418. inline void clear_has_stepid();
  419. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  420. int packet_id_;
  421. ::google::protobuf::int32 type_;
  422. ::google::protobuf::int32 stepid_;
  423. mutable int _cached_size_;
  424. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  425. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  426. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  427. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  428. void InitAsDefaultInstance();
  429. static packetc2w_finish_one_new_guild* default_instance_;
  430. };
  431. // -------------------------------------------------------------------
  432. class packetw2c_finish_one_new_guild_result : public ::google::protobuf::Message {
  433. public:
  434. packetw2c_finish_one_new_guild_result();
  435. virtual ~packetw2c_finish_one_new_guild_result();
  436. packetw2c_finish_one_new_guild_result(const packetw2c_finish_one_new_guild_result& from);
  437. inline packetw2c_finish_one_new_guild_result& operator=(const packetw2c_finish_one_new_guild_result& from) {
  438. CopyFrom(from);
  439. return *this;
  440. }
  441. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  442. return _unknown_fields_;
  443. }
  444. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  445. return &_unknown_fields_;
  446. }
  447. static const ::google::protobuf::Descriptor* descriptor();
  448. static const packetw2c_finish_one_new_guild_result& default_instance();
  449. void Swap(packetw2c_finish_one_new_guild_result* other);
  450. // implements Message ----------------------------------------------
  451. packetw2c_finish_one_new_guild_result* New() const;
  452. void CopyFrom(const ::google::protobuf::Message& from);
  453. void MergeFrom(const ::google::protobuf::Message& from);
  454. void CopyFrom(const packetw2c_finish_one_new_guild_result& from);
  455. void MergeFrom(const packetw2c_finish_one_new_guild_result& from);
  456. void Clear();
  457. bool IsInitialized() const;
  458. int ByteSize() const;
  459. bool MergePartialFromCodedStream(
  460. ::google::protobuf::io::CodedInputStream* input);
  461. void SerializeWithCachedSizes(
  462. ::google::protobuf::io::CodedOutputStream* output) const;
  463. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  464. int GetCachedSize() const { return _cached_size_; }
  465. private:
  466. void SharedCtor();
  467. void SharedDtor();
  468. void SetCachedSize(int size) const;
  469. public:
  470. ::google::protobuf::Metadata GetMetadata() const;
  471. // nested types ----------------------------------------------------
  472. // accessors -------------------------------------------------------
  473. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  474. inline bool has_packet_id() const;
  475. inline void clear_packet_id();
  476. static const int kPacketIdFieldNumber = 1;
  477. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  478. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  479. // optional int32 type = 2;
  480. inline bool has_type() const;
  481. inline void clear_type();
  482. static const int kTypeFieldNumber = 2;
  483. inline ::google::protobuf::int32 type() const;
  484. inline void set_type(::google::protobuf::int32 value);
  485. // optional int32 stepId = 3;
  486. inline bool has_stepid() const;
  487. inline void clear_stepid();
  488. static const int kStepIdFieldNumber = 3;
  489. inline ::google::protobuf::int32 stepid() const;
  490. inline void set_stepid(::google::protobuf::int32 value);
  491. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_finish_one_new_guild_result)
  492. private:
  493. inline void set_has_packet_id();
  494. inline void clear_has_packet_id();
  495. inline void set_has_type();
  496. inline void clear_has_type();
  497. inline void set_has_stepid();
  498. inline void clear_has_stepid();
  499. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  500. int packet_id_;
  501. ::google::protobuf::int32 type_;
  502. ::google::protobuf::int32 stepid_;
  503. mutable int _cached_size_;
  504. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  505. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  506. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  507. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  508. void InitAsDefaultInstance();
  509. static packetw2c_finish_one_new_guild_result* default_instance_;
  510. };
  511. // -------------------------------------------------------------------
  512. class packetc2w_req_last_rechargelist : public ::google::protobuf::Message {
  513. public:
  514. packetc2w_req_last_rechargelist();
  515. virtual ~packetc2w_req_last_rechargelist();
  516. packetc2w_req_last_rechargelist(const packetc2w_req_last_rechargelist& from);
  517. inline packetc2w_req_last_rechargelist& operator=(const packetc2w_req_last_rechargelist& from) {
  518. CopyFrom(from);
  519. return *this;
  520. }
  521. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  522. return _unknown_fields_;
  523. }
  524. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  525. return &_unknown_fields_;
  526. }
  527. static const ::google::protobuf::Descriptor* descriptor();
  528. static const packetc2w_req_last_rechargelist& default_instance();
  529. void Swap(packetc2w_req_last_rechargelist* other);
  530. // implements Message ----------------------------------------------
  531. packetc2w_req_last_rechargelist* New() const;
  532. void CopyFrom(const ::google::protobuf::Message& from);
  533. void MergeFrom(const ::google::protobuf::Message& from);
  534. void CopyFrom(const packetc2w_req_last_rechargelist& from);
  535. void MergeFrom(const packetc2w_req_last_rechargelist& from);
  536. void Clear();
  537. bool IsInitialized() const;
  538. int ByteSize() const;
  539. bool MergePartialFromCodedStream(
  540. ::google::protobuf::io::CodedInputStream* input);
  541. void SerializeWithCachedSizes(
  542. ::google::protobuf::io::CodedOutputStream* output) const;
  543. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  544. int GetCachedSize() const { return _cached_size_; }
  545. private:
  546. void SharedCtor();
  547. void SharedDtor();
  548. void SetCachedSize(int size) const;
  549. public:
  550. ::google::protobuf::Metadata GetMetadata() const;
  551. // nested types ----------------------------------------------------
  552. // accessors -------------------------------------------------------
  553. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  554. inline bool has_packet_id() const;
  555. inline void clear_packet_id();
  556. static const int kPacketIdFieldNumber = 1;
  557. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  558. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  559. // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_last_rechargelist)
  560. private:
  561. inline void set_has_packet_id();
  562. inline void clear_has_packet_id();
  563. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  564. int packet_id_;
  565. mutable int _cached_size_;
  566. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  567. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  568. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  569. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  570. void InitAsDefaultInstance();
  571. static packetc2w_req_last_rechargelist* default_instance_;
  572. };
  573. // -------------------------------------------------------------------
  574. class packetw2c_req_last_rechargelist_result : public ::google::protobuf::Message {
  575. public:
  576. packetw2c_req_last_rechargelist_result();
  577. virtual ~packetw2c_req_last_rechargelist_result();
  578. packetw2c_req_last_rechargelist_result(const packetw2c_req_last_rechargelist_result& from);
  579. inline packetw2c_req_last_rechargelist_result& operator=(const packetw2c_req_last_rechargelist_result& from) {
  580. CopyFrom(from);
  581. return *this;
  582. }
  583. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  584. return _unknown_fields_;
  585. }
  586. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  587. return &_unknown_fields_;
  588. }
  589. static const ::google::protobuf::Descriptor* descriptor();
  590. static const packetw2c_req_last_rechargelist_result& default_instance();
  591. void Swap(packetw2c_req_last_rechargelist_result* other);
  592. // implements Message ----------------------------------------------
  593. packetw2c_req_last_rechargelist_result* New() const;
  594. void CopyFrom(const ::google::protobuf::Message& from);
  595. void MergeFrom(const ::google::protobuf::Message& from);
  596. void CopyFrom(const packetw2c_req_last_rechargelist_result& from);
  597. void MergeFrom(const packetw2c_req_last_rechargelist_result& from);
  598. void Clear();
  599. bool IsInitialized() const;
  600. int ByteSize() const;
  601. bool MergePartialFromCodedStream(
  602. ::google::protobuf::io::CodedInputStream* input);
  603. void SerializeWithCachedSizes(
  604. ::google::protobuf::io::CodedOutputStream* output) const;
  605. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  606. int GetCachedSize() const { return _cached_size_; }
  607. private:
  608. void SharedCtor();
  609. void SharedDtor();
  610. void SetCachedSize(int size) const;
  611. public:
  612. ::google::protobuf::Metadata GetMetadata() const;
  613. // nested types ----------------------------------------------------
  614. // accessors -------------------------------------------------------
  615. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  616. inline bool has_packet_id() const;
  617. inline void clear_packet_id();
  618. static const int kPacketIdFieldNumber = 1;
  619. inline ::client2world_protocols::e_server_msg_type packet_id() const;
  620. inline void set_packet_id(::client2world_protocols::e_server_msg_type value);
  621. // repeated int32 goldPayIdList = 2;
  622. inline int goldpayidlist_size() const;
  623. inline void clear_goldpayidlist();
  624. static const int kGoldPayIdListFieldNumber = 2;
  625. inline ::google::protobuf::int32 goldpayidlist(int index) const;
  626. inline void set_goldpayidlist(int index, ::google::protobuf::int32 value);
  627. inline void add_goldpayidlist(::google::protobuf::int32 value);
  628. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  629. goldpayidlist() const;
  630. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  631. mutable_goldpayidlist();
  632. // repeated int32 gemPayIdList = 3;
  633. inline int gempayidlist_size() const;
  634. inline void clear_gempayidlist();
  635. static const int kGemPayIdListFieldNumber = 3;
  636. inline ::google::protobuf::int32 gempayidlist(int index) const;
  637. inline void set_gempayidlist(int index, ::google::protobuf::int32 value);
  638. inline void add_gempayidlist(::google::protobuf::int32 value);
  639. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  640. gempayidlist() const;
  641. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  642. mutable_gempayidlist();
  643. // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_last_rechargelist_result)
  644. private:
  645. inline void set_has_packet_id();
  646. inline void clear_has_packet_id();
  647. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  648. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > goldpayidlist_;
  649. ::google::protobuf::RepeatedField< ::google::protobuf::int32 > gempayidlist_;
  650. int packet_id_;
  651. mutable int _cached_size_;
  652. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  653. friend void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  654. friend void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto();
  655. friend void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto();
  656. void InitAsDefaultInstance();
  657. static packetw2c_req_last_rechargelist_result* default_instance_;
  658. };
  659. // ===================================================================
  660. // ===================================================================
  661. // packetc2w_update_nickname
  662. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  663. inline bool packetc2w_update_nickname::has_packet_id() const {
  664. return (_has_bits_[0] & 0x00000001u) != 0;
  665. }
  666. inline void packetc2w_update_nickname::set_has_packet_id() {
  667. _has_bits_[0] |= 0x00000001u;
  668. }
  669. inline void packetc2w_update_nickname::clear_has_packet_id() {
  670. _has_bits_[0] &= ~0x00000001u;
  671. }
  672. inline void packetc2w_update_nickname::clear_packet_id() {
  673. packet_id_ = 5011;
  674. clear_has_packet_id();
  675. }
  676. inline ::client2world_protocols::e_server_msg_type packetc2w_update_nickname::packet_id() const {
  677. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  678. }
  679. inline void packetc2w_update_nickname::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  680. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  681. set_has_packet_id();
  682. packet_id_ = value;
  683. }
  684. // optional string nickName = 2;
  685. inline bool packetc2w_update_nickname::has_nickname() const {
  686. return (_has_bits_[0] & 0x00000002u) != 0;
  687. }
  688. inline void packetc2w_update_nickname::set_has_nickname() {
  689. _has_bits_[0] |= 0x00000002u;
  690. }
  691. inline void packetc2w_update_nickname::clear_has_nickname() {
  692. _has_bits_[0] &= ~0x00000002u;
  693. }
  694. inline void packetc2w_update_nickname::clear_nickname() {
  695. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  696. nickname_->clear();
  697. }
  698. clear_has_nickname();
  699. }
  700. inline const ::std::string& packetc2w_update_nickname::nickname() const {
  701. return *nickname_;
  702. }
  703. inline void packetc2w_update_nickname::set_nickname(const ::std::string& value) {
  704. set_has_nickname();
  705. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  706. nickname_ = new ::std::string;
  707. }
  708. nickname_->assign(value);
  709. }
  710. inline void packetc2w_update_nickname::set_nickname(const char* value) {
  711. set_has_nickname();
  712. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  713. nickname_ = new ::std::string;
  714. }
  715. nickname_->assign(value);
  716. }
  717. inline void packetc2w_update_nickname::set_nickname(const char* value, size_t size) {
  718. set_has_nickname();
  719. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  720. nickname_ = new ::std::string;
  721. }
  722. nickname_->assign(reinterpret_cast<const char*>(value), size);
  723. }
  724. inline ::std::string* packetc2w_update_nickname::mutable_nickname() {
  725. set_has_nickname();
  726. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  727. nickname_ = new ::std::string;
  728. }
  729. return nickname_;
  730. }
  731. inline ::std::string* packetc2w_update_nickname::release_nickname() {
  732. clear_has_nickname();
  733. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  734. return NULL;
  735. } else {
  736. ::std::string* temp = nickname_;
  737. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  738. return temp;
  739. }
  740. }
  741. inline void packetc2w_update_nickname::set_allocated_nickname(::std::string* nickname) {
  742. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  743. delete nickname_;
  744. }
  745. if (nickname) {
  746. set_has_nickname();
  747. nickname_ = nickname;
  748. } else {
  749. clear_has_nickname();
  750. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  751. }
  752. }
  753. // -------------------------------------------------------------------
  754. // packetw2c_update_nickname_result
  755. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  756. inline bool packetw2c_update_nickname_result::has_packet_id() const {
  757. return (_has_bits_[0] & 0x00000001u) != 0;
  758. }
  759. inline void packetw2c_update_nickname_result::set_has_packet_id() {
  760. _has_bits_[0] |= 0x00000001u;
  761. }
  762. inline void packetw2c_update_nickname_result::clear_has_packet_id() {
  763. _has_bits_[0] &= ~0x00000001u;
  764. }
  765. inline void packetw2c_update_nickname_result::clear_packet_id() {
  766. packet_id_ = 7510;
  767. clear_has_packet_id();
  768. }
  769. inline ::client2world_protocols::e_server_msg_type packetw2c_update_nickname_result::packet_id() const {
  770. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  771. }
  772. inline void packetw2c_update_nickname_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  773. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  774. set_has_packet_id();
  775. packet_id_ = value;
  776. }
  777. // optional string nickName = 2;
  778. inline bool packetw2c_update_nickname_result::has_nickname() const {
  779. return (_has_bits_[0] & 0x00000002u) != 0;
  780. }
  781. inline void packetw2c_update_nickname_result::set_has_nickname() {
  782. _has_bits_[0] |= 0x00000002u;
  783. }
  784. inline void packetw2c_update_nickname_result::clear_has_nickname() {
  785. _has_bits_[0] &= ~0x00000002u;
  786. }
  787. inline void packetw2c_update_nickname_result::clear_nickname() {
  788. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  789. nickname_->clear();
  790. }
  791. clear_has_nickname();
  792. }
  793. inline const ::std::string& packetw2c_update_nickname_result::nickname() const {
  794. return *nickname_;
  795. }
  796. inline void packetw2c_update_nickname_result::set_nickname(const ::std::string& value) {
  797. set_has_nickname();
  798. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  799. nickname_ = new ::std::string;
  800. }
  801. nickname_->assign(value);
  802. }
  803. inline void packetw2c_update_nickname_result::set_nickname(const char* value) {
  804. set_has_nickname();
  805. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  806. nickname_ = new ::std::string;
  807. }
  808. nickname_->assign(value);
  809. }
  810. inline void packetw2c_update_nickname_result::set_nickname(const char* value, size_t size) {
  811. set_has_nickname();
  812. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  813. nickname_ = new ::std::string;
  814. }
  815. nickname_->assign(reinterpret_cast<const char*>(value), size);
  816. }
  817. inline ::std::string* packetw2c_update_nickname_result::mutable_nickname() {
  818. set_has_nickname();
  819. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  820. nickname_ = new ::std::string;
  821. }
  822. return nickname_;
  823. }
  824. inline ::std::string* packetw2c_update_nickname_result::release_nickname() {
  825. clear_has_nickname();
  826. if (nickname_ == &::google::protobuf::internal::kEmptyString) {
  827. return NULL;
  828. } else {
  829. ::std::string* temp = nickname_;
  830. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  831. return temp;
  832. }
  833. }
  834. inline void packetw2c_update_nickname_result::set_allocated_nickname(::std::string* nickname) {
  835. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  836. delete nickname_;
  837. }
  838. if (nickname) {
  839. set_has_nickname();
  840. nickname_ = nickname;
  841. } else {
  842. clear_has_nickname();
  843. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  844. }
  845. }
  846. // optional int32 result = 3;
  847. inline bool packetw2c_update_nickname_result::has_result() const {
  848. return (_has_bits_[0] & 0x00000004u) != 0;
  849. }
  850. inline void packetw2c_update_nickname_result::set_has_result() {
  851. _has_bits_[0] |= 0x00000004u;
  852. }
  853. inline void packetw2c_update_nickname_result::clear_has_result() {
  854. _has_bits_[0] &= ~0x00000004u;
  855. }
  856. inline void packetw2c_update_nickname_result::clear_result() {
  857. result_ = 0;
  858. clear_has_result();
  859. }
  860. inline ::google::protobuf::int32 packetw2c_update_nickname_result::result() const {
  861. return result_;
  862. }
  863. inline void packetw2c_update_nickname_result::set_result(::google::protobuf::int32 value) {
  864. set_has_result();
  865. result_ = value;
  866. }
  867. // -------------------------------------------------------------------
  868. // packetc2w_req_self_record
  869. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  870. inline bool packetc2w_req_self_record::has_packet_id() const {
  871. return (_has_bits_[0] & 0x00000001u) != 0;
  872. }
  873. inline void packetc2w_req_self_record::set_has_packet_id() {
  874. _has_bits_[0] |= 0x00000001u;
  875. }
  876. inline void packetc2w_req_self_record::clear_has_packet_id() {
  877. _has_bits_[0] &= ~0x00000001u;
  878. }
  879. inline void packetc2w_req_self_record::clear_packet_id() {
  880. packet_id_ = 5033;
  881. clear_has_packet_id();
  882. }
  883. inline ::client2world_protocols::e_server_msg_type packetc2w_req_self_record::packet_id() const {
  884. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  885. }
  886. inline void packetc2w_req_self_record::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  887. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  888. set_has_packet_id();
  889. packet_id_ = value;
  890. }
  891. // -------------------------------------------------------------------
  892. // packetw2c_req_self_record_result
  893. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  894. inline bool packetw2c_req_self_record_result::has_packet_id() const {
  895. return (_has_bits_[0] & 0x00000001u) != 0;
  896. }
  897. inline void packetw2c_req_self_record_result::set_has_packet_id() {
  898. _has_bits_[0] |= 0x00000001u;
  899. }
  900. inline void packetw2c_req_self_record_result::clear_has_packet_id() {
  901. _has_bits_[0] &= ~0x00000001u;
  902. }
  903. inline void packetw2c_req_self_record_result::clear_packet_id() {
  904. packet_id_ = 7535;
  905. clear_has_packet_id();
  906. }
  907. inline ::client2world_protocols::e_server_msg_type packetw2c_req_self_record_result::packet_id() const {
  908. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  909. }
  910. inline void packetw2c_req_self_record_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  911. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  912. set_has_packet_id();
  913. packet_id_ = value;
  914. }
  915. // optional int32 maxCoin = 2;
  916. inline bool packetw2c_req_self_record_result::has_maxcoin() const {
  917. return (_has_bits_[0] & 0x00000002u) != 0;
  918. }
  919. inline void packetw2c_req_self_record_result::set_has_maxcoin() {
  920. _has_bits_[0] |= 0x00000002u;
  921. }
  922. inline void packetw2c_req_self_record_result::clear_has_maxcoin() {
  923. _has_bits_[0] &= ~0x00000002u;
  924. }
  925. inline void packetw2c_req_self_record_result::clear_maxcoin() {
  926. maxcoin_ = 0;
  927. clear_has_maxcoin();
  928. }
  929. inline ::google::protobuf::int32 packetw2c_req_self_record_result::maxcoin() const {
  930. return maxcoin_;
  931. }
  932. inline void packetw2c_req_self_record_result::set_maxcoin(::google::protobuf::int32 value) {
  933. set_has_maxcoin();
  934. maxcoin_ = value;
  935. }
  936. // optional int32 maxDiamond = 3;
  937. inline bool packetw2c_req_self_record_result::has_maxdiamond() const {
  938. return (_has_bits_[0] & 0x00000004u) != 0;
  939. }
  940. inline void packetw2c_req_self_record_result::set_has_maxdiamond() {
  941. _has_bits_[0] |= 0x00000004u;
  942. }
  943. inline void packetw2c_req_self_record_result::clear_has_maxdiamond() {
  944. _has_bits_[0] &= ~0x00000004u;
  945. }
  946. inline void packetw2c_req_self_record_result::clear_maxdiamond() {
  947. maxdiamond_ = 0;
  948. clear_has_maxdiamond();
  949. }
  950. inline ::google::protobuf::int32 packetw2c_req_self_record_result::maxdiamond() const {
  951. return maxdiamond_;
  952. }
  953. inline void packetw2c_req_self_record_result::set_maxdiamond(::google::protobuf::int32 value) {
  954. set_has_maxdiamond();
  955. maxdiamond_ = value;
  956. }
  957. // optional int32 maxTicket = 4;
  958. inline bool packetw2c_req_self_record_result::has_maxticket() const {
  959. return (_has_bits_[0] & 0x00000008u) != 0;
  960. }
  961. inline void packetw2c_req_self_record_result::set_has_maxticket() {
  962. _has_bits_[0] |= 0x00000008u;
  963. }
  964. inline void packetw2c_req_self_record_result::clear_has_maxticket() {
  965. _has_bits_[0] &= ~0x00000008u;
  966. }
  967. inline void packetw2c_req_self_record_result::clear_maxticket() {
  968. maxticket_ = 0;
  969. clear_has_maxticket();
  970. }
  971. inline ::google::protobuf::int32 packetw2c_req_self_record_result::maxticket() const {
  972. return maxticket_;
  973. }
  974. inline void packetw2c_req_self_record_result::set_maxticket(::google::protobuf::int32 value) {
  975. set_has_maxticket();
  976. maxticket_ = value;
  977. }
  978. // -------------------------------------------------------------------
  979. // packetc2w_finish_one_new_guild
  980. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  981. inline bool packetc2w_finish_one_new_guild::has_packet_id() const {
  982. return (_has_bits_[0] & 0x00000001u) != 0;
  983. }
  984. inline void packetc2w_finish_one_new_guild::set_has_packet_id() {
  985. _has_bits_[0] |= 0x00000001u;
  986. }
  987. inline void packetc2w_finish_one_new_guild::clear_has_packet_id() {
  988. _has_bits_[0] &= ~0x00000001u;
  989. }
  990. inline void packetc2w_finish_one_new_guild::clear_packet_id() {
  991. packet_id_ = 5042;
  992. clear_has_packet_id();
  993. }
  994. inline ::client2world_protocols::e_server_msg_type packetc2w_finish_one_new_guild::packet_id() const {
  995. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  996. }
  997. inline void packetc2w_finish_one_new_guild::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  998. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  999. set_has_packet_id();
  1000. packet_id_ = value;
  1001. }
  1002. // optional int32 type = 2;
  1003. inline bool packetc2w_finish_one_new_guild::has_type() const {
  1004. return (_has_bits_[0] & 0x00000002u) != 0;
  1005. }
  1006. inline void packetc2w_finish_one_new_guild::set_has_type() {
  1007. _has_bits_[0] |= 0x00000002u;
  1008. }
  1009. inline void packetc2w_finish_one_new_guild::clear_has_type() {
  1010. _has_bits_[0] &= ~0x00000002u;
  1011. }
  1012. inline void packetc2w_finish_one_new_guild::clear_type() {
  1013. type_ = 0;
  1014. clear_has_type();
  1015. }
  1016. inline ::google::protobuf::int32 packetc2w_finish_one_new_guild::type() const {
  1017. return type_;
  1018. }
  1019. inline void packetc2w_finish_one_new_guild::set_type(::google::protobuf::int32 value) {
  1020. set_has_type();
  1021. type_ = value;
  1022. }
  1023. // optional int32 stepId = 3;
  1024. inline bool packetc2w_finish_one_new_guild::has_stepid() const {
  1025. return (_has_bits_[0] & 0x00000004u) != 0;
  1026. }
  1027. inline void packetc2w_finish_one_new_guild::set_has_stepid() {
  1028. _has_bits_[0] |= 0x00000004u;
  1029. }
  1030. inline void packetc2w_finish_one_new_guild::clear_has_stepid() {
  1031. _has_bits_[0] &= ~0x00000004u;
  1032. }
  1033. inline void packetc2w_finish_one_new_guild::clear_stepid() {
  1034. stepid_ = 0;
  1035. clear_has_stepid();
  1036. }
  1037. inline ::google::protobuf::int32 packetc2w_finish_one_new_guild::stepid() const {
  1038. return stepid_;
  1039. }
  1040. inline void packetc2w_finish_one_new_guild::set_stepid(::google::protobuf::int32 value) {
  1041. set_has_stepid();
  1042. stepid_ = value;
  1043. }
  1044. // -------------------------------------------------------------------
  1045. // packetw2c_finish_one_new_guild_result
  1046. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  1047. inline bool packetw2c_finish_one_new_guild_result::has_packet_id() const {
  1048. return (_has_bits_[0] & 0x00000001u) != 0;
  1049. }
  1050. inline void packetw2c_finish_one_new_guild_result::set_has_packet_id() {
  1051. _has_bits_[0] |= 0x00000001u;
  1052. }
  1053. inline void packetw2c_finish_one_new_guild_result::clear_has_packet_id() {
  1054. _has_bits_[0] &= ~0x00000001u;
  1055. }
  1056. inline void packetw2c_finish_one_new_guild_result::clear_packet_id() {
  1057. packet_id_ = 7545;
  1058. clear_has_packet_id();
  1059. }
  1060. inline ::client2world_protocols::e_server_msg_type packetw2c_finish_one_new_guild_result::packet_id() const {
  1061. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1062. }
  1063. inline void packetw2c_finish_one_new_guild_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1064. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1065. set_has_packet_id();
  1066. packet_id_ = value;
  1067. }
  1068. // optional int32 type = 2;
  1069. inline bool packetw2c_finish_one_new_guild_result::has_type() const {
  1070. return (_has_bits_[0] & 0x00000002u) != 0;
  1071. }
  1072. inline void packetw2c_finish_one_new_guild_result::set_has_type() {
  1073. _has_bits_[0] |= 0x00000002u;
  1074. }
  1075. inline void packetw2c_finish_one_new_guild_result::clear_has_type() {
  1076. _has_bits_[0] &= ~0x00000002u;
  1077. }
  1078. inline void packetw2c_finish_one_new_guild_result::clear_type() {
  1079. type_ = 0;
  1080. clear_has_type();
  1081. }
  1082. inline ::google::protobuf::int32 packetw2c_finish_one_new_guild_result::type() const {
  1083. return type_;
  1084. }
  1085. inline void packetw2c_finish_one_new_guild_result::set_type(::google::protobuf::int32 value) {
  1086. set_has_type();
  1087. type_ = value;
  1088. }
  1089. // optional int32 stepId = 3;
  1090. inline bool packetw2c_finish_one_new_guild_result::has_stepid() const {
  1091. return (_has_bits_[0] & 0x00000004u) != 0;
  1092. }
  1093. inline void packetw2c_finish_one_new_guild_result::set_has_stepid() {
  1094. _has_bits_[0] |= 0x00000004u;
  1095. }
  1096. inline void packetw2c_finish_one_new_guild_result::clear_has_stepid() {
  1097. _has_bits_[0] &= ~0x00000004u;
  1098. }
  1099. inline void packetw2c_finish_one_new_guild_result::clear_stepid() {
  1100. stepid_ = 0;
  1101. clear_has_stepid();
  1102. }
  1103. inline ::google::protobuf::int32 packetw2c_finish_one_new_guild_result::stepid() const {
  1104. return stepid_;
  1105. }
  1106. inline void packetw2c_finish_one_new_guild_result::set_stepid(::google::protobuf::int32 value) {
  1107. set_has_stepid();
  1108. stepid_ = value;
  1109. }
  1110. // -------------------------------------------------------------------
  1111. // packetc2w_req_last_rechargelist
  1112. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  1113. inline bool packetc2w_req_last_rechargelist::has_packet_id() const {
  1114. return (_has_bits_[0] & 0x00000001u) != 0;
  1115. }
  1116. inline void packetc2w_req_last_rechargelist::set_has_packet_id() {
  1117. _has_bits_[0] |= 0x00000001u;
  1118. }
  1119. inline void packetc2w_req_last_rechargelist::clear_has_packet_id() {
  1120. _has_bits_[0] &= ~0x00000001u;
  1121. }
  1122. inline void packetc2w_req_last_rechargelist::clear_packet_id() {
  1123. packet_id_ = 5091;
  1124. clear_has_packet_id();
  1125. }
  1126. inline ::client2world_protocols::e_server_msg_type packetc2w_req_last_rechargelist::packet_id() const {
  1127. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1128. }
  1129. inline void packetc2w_req_last_rechargelist::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1130. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1131. set_has_packet_id();
  1132. packet_id_ = value;
  1133. }
  1134. // -------------------------------------------------------------------
  1135. // packetw2c_req_last_rechargelist_result
  1136. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  1137. inline bool packetw2c_req_last_rechargelist_result::has_packet_id() const {
  1138. return (_has_bits_[0] & 0x00000001u) != 0;
  1139. }
  1140. inline void packetw2c_req_last_rechargelist_result::set_has_packet_id() {
  1141. _has_bits_[0] |= 0x00000001u;
  1142. }
  1143. inline void packetw2c_req_last_rechargelist_result::clear_has_packet_id() {
  1144. _has_bits_[0] &= ~0x00000001u;
  1145. }
  1146. inline void packetw2c_req_last_rechargelist_result::clear_packet_id() {
  1147. packet_id_ = 7598;
  1148. clear_has_packet_id();
  1149. }
  1150. inline ::client2world_protocols::e_server_msg_type packetw2c_req_last_rechargelist_result::packet_id() const {
  1151. return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
  1152. }
  1153. inline void packetw2c_req_last_rechargelist_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  1154. assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  1155. set_has_packet_id();
  1156. packet_id_ = value;
  1157. }
  1158. // repeated int32 goldPayIdList = 2;
  1159. inline int packetw2c_req_last_rechargelist_result::goldpayidlist_size() const {
  1160. return goldpayidlist_.size();
  1161. }
  1162. inline void packetw2c_req_last_rechargelist_result::clear_goldpayidlist() {
  1163. goldpayidlist_.Clear();
  1164. }
  1165. inline ::google::protobuf::int32 packetw2c_req_last_rechargelist_result::goldpayidlist(int index) const {
  1166. return goldpayidlist_.Get(index);
  1167. }
  1168. inline void packetw2c_req_last_rechargelist_result::set_goldpayidlist(int index, ::google::protobuf::int32 value) {
  1169. goldpayidlist_.Set(index, value);
  1170. }
  1171. inline void packetw2c_req_last_rechargelist_result::add_goldpayidlist(::google::protobuf::int32 value) {
  1172. goldpayidlist_.Add(value);
  1173. }
  1174. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1175. packetw2c_req_last_rechargelist_result::goldpayidlist() const {
  1176. return goldpayidlist_;
  1177. }
  1178. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1179. packetw2c_req_last_rechargelist_result::mutable_goldpayidlist() {
  1180. return &goldpayidlist_;
  1181. }
  1182. // repeated int32 gemPayIdList = 3;
  1183. inline int packetw2c_req_last_rechargelist_result::gempayidlist_size() const {
  1184. return gempayidlist_.size();
  1185. }
  1186. inline void packetw2c_req_last_rechargelist_result::clear_gempayidlist() {
  1187. gempayidlist_.Clear();
  1188. }
  1189. inline ::google::protobuf::int32 packetw2c_req_last_rechargelist_result::gempayidlist(int index) const {
  1190. return gempayidlist_.Get(index);
  1191. }
  1192. inline void packetw2c_req_last_rechargelist_result::set_gempayidlist(int index, ::google::protobuf::int32 value) {
  1193. gempayidlist_.Set(index, value);
  1194. }
  1195. inline void packetw2c_req_last_rechargelist_result::add_gempayidlist(::google::protobuf::int32 value) {
  1196. gempayidlist_.Add(value);
  1197. }
  1198. inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
  1199. packetw2c_req_last_rechargelist_result::gempayidlist() const {
  1200. return gempayidlist_;
  1201. }
  1202. inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
  1203. packetw2c_req_last_rechargelist_result::mutable_gempayidlist() {
  1204. return &gempayidlist_;
  1205. }
  1206. // @@protoc_insertion_point(namespace_scope)
  1207. } // namespace client2world_protocols
  1208. #ifndef SWIG
  1209. namespace google {
  1210. namespace protobuf {
  1211. } // namespace google
  1212. } // namespace protobuf
  1213. #endif // SWIG
  1214. // @@protoc_insertion_point(global_scope)
  1215. #endif // PROTOBUF_client2world_5fplayer_5fproperty_2eproto__INCLUDED