// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client2world_daily_box_lottery.proto #ifndef PROTOBUF_client2world_5fdaily_5fbox_5flottery_2eproto__INCLUDED #define PROTOBUF_client2world_5fdaily_5fbox_5flottery_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include "client2world_msg_type.pb.h" #include "msg_type_def.pb.h" #include "msg_info_def.pb.h" // @@protoc_insertion_point(includes) namespace client2world_protocols { // Internal implementation detail -- do not call these. void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); class packetc2w_req_sign; class packetw2c_req_sign_result; class packetc2w_req_sign_info; class packetw2c_req_sign_info_result; class packetc2w_req_recv_sevenday_reward; class packetc2w_req_recv_sevenday_reward_result; // =================================================================== class packetc2w_req_sign : public ::google::protobuf::Message { public: packetc2w_req_sign(); virtual ~packetc2w_req_sign(); packetc2w_req_sign(const packetc2w_req_sign& from); inline packetc2w_req_sign& operator=(const packetc2w_req_sign& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_req_sign& default_instance(); void Swap(packetc2w_req_sign* other); // implements Message ---------------------------------------------- packetc2w_req_sign* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_req_sign& from); void MergeFrom(const packetc2w_req_sign& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional bool double = 2; inline bool has_double_() const; inline void clear_double_(); static const int kDoubleFieldNumber = 2; inline bool double_() const; inline void set_double_(bool value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_sign) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_double_(); inline void clear_has_double_(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool double__; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetc2w_req_sign* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_req_sign_result : public ::google::protobuf::Message { public: packetw2c_req_sign_result(); virtual ~packetw2c_req_sign_result(); packetw2c_req_sign_result(const packetw2c_req_sign_result& from); inline packetw2c_req_sign_result& operator=(const packetw2c_req_sign_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_req_sign_result& default_instance(); void Swap(packetw2c_req_sign_result* other); // implements Message ---------------------------------------------- packetw2c_req_sign_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_req_sign_result& from); void MergeFrom(const packetw2c_req_sign_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional bool double = 2; inline bool has_double_() const; inline void clear_double_(); static const int kDoubleFieldNumber = 2; inline bool double_() const; inline void set_double_(bool value); // optional int32 result = 3; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // repeated .msg_info_def.ItemInfo itemList = 4; inline int itemlist_size() const; inline void clear_itemlist(); static const int kItemListFieldNumber = 4; inline const ::msg_info_def::ItemInfo& itemlist(int index) const; inline ::msg_info_def::ItemInfo* mutable_itemlist(int index); inline ::msg_info_def::ItemInfo* add_itemlist(); inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >& itemlist() const; inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >* mutable_itemlist(); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_sign_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_double_(); inline void clear_has_double_(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool double__; ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > itemlist_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetw2c_req_sign_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2w_req_sign_info : public ::google::protobuf::Message { public: packetc2w_req_sign_info(); virtual ~packetc2w_req_sign_info(); packetc2w_req_sign_info(const packetc2w_req_sign_info& from); inline packetc2w_req_sign_info& operator=(const packetc2w_req_sign_info& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_req_sign_info& default_instance(); void Swap(packetc2w_req_sign_info* other); // implements Message ---------------------------------------------- packetc2w_req_sign_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_req_sign_info& from); void MergeFrom(const packetc2w_req_sign_info& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign_info]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 signtype = 2; inline bool has_signtype() const; inline void clear_signtype(); static const int kSigntypeFieldNumber = 2; inline ::google::protobuf::int32 signtype() const; inline void set_signtype(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_sign_info) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_signtype(); inline void clear_has_signtype(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 signtype_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetc2w_req_sign_info* default_instance_; }; // ------------------------------------------------------------------- class packetw2c_req_sign_info_result : public ::google::protobuf::Message { public: packetw2c_req_sign_info_result(); virtual ~packetw2c_req_sign_info_result(); packetw2c_req_sign_info_result(const packetw2c_req_sign_info_result& from); inline packetw2c_req_sign_info_result& operator=(const packetw2c_req_sign_info_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetw2c_req_sign_info_result& default_instance(); void Swap(packetw2c_req_sign_info_result* other); // implements Message ---------------------------------------------- packetw2c_req_sign_info_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetw2c_req_sign_info_result& from); void MergeFrom(const packetw2c_req_sign_info_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_info_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 signtype = 2; inline bool has_signtype() const; inline void clear_signtype(); static const int kSigntypeFieldNumber = 2; inline ::google::protobuf::int32 signtype() const; inline void set_signtype(::google::protobuf::int32 value); // optional int32 signCount = 3; inline bool has_signcount() const; inline void clear_signcount(); static const int kSignCountFieldNumber = 3; inline ::google::protobuf::int32 signcount() const; inline void set_signcount(::google::protobuf::int32 value); // optional int32 keepSignCount = 4; inline bool has_keepsigncount() const; inline void clear_keepsigncount(); static const int kKeepSignCountFieldNumber = 4; inline ::google::protobuf::int32 keepsigncount() const; inline void set_keepsigncount(::google::protobuf::int32 value); // optional bool signUpLevel = 5; inline bool has_signuplevel() const; inline void clear_signuplevel(); static const int kSignUpLevelFieldNumber = 5; inline bool signuplevel() const; inline void set_signuplevel(bool value); // optional bool canSign = 6; inline bool has_cansign() const; inline void clear_cansign(); static const int kCanSignFieldNumber = 6; inline bool cansign() const; inline void set_cansign(bool value); // optional int32 hasSignCount = 7; inline bool has_hassigncount() const; inline void clear_hassigncount(); static const int kHasSignCountFieldNumber = 7; inline ::google::protobuf::int32 hassigncount() const; inline void set_hassigncount(::google::protobuf::int32 value); // optional bool sevenDayCanSign = 8; inline bool has_sevendaycansign() const; inline void clear_sevendaycansign(); static const int kSevenDayCanSignFieldNumber = 8; inline bool sevendaycansign() const; inline void set_sevendaycansign(bool value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_req_sign_info_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_signtype(); inline void clear_has_signtype(); inline void set_has_signcount(); inline void clear_has_signcount(); inline void set_has_keepsigncount(); inline void clear_has_keepsigncount(); inline void set_has_signuplevel(); inline void clear_has_signuplevel(); inline void set_has_cansign(); inline void clear_has_cansign(); inline void set_has_hassigncount(); inline void clear_has_hassigncount(); inline void set_has_sevendaycansign(); inline void clear_has_sevendaycansign(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 signtype_; ::google::protobuf::int32 signcount_; ::google::protobuf::int32 keepsigncount_; bool signuplevel_; bool cansign_; bool sevendaycansign_; ::google::protobuf::int32 hassigncount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetw2c_req_sign_info_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2w_req_recv_sevenday_reward : public ::google::protobuf::Message { public: packetc2w_req_recv_sevenday_reward(); virtual ~packetc2w_req_recv_sevenday_reward(); packetc2w_req_recv_sevenday_reward(const packetc2w_req_recv_sevenday_reward& from); inline packetc2w_req_recv_sevenday_reward& operator=(const packetc2w_req_recv_sevenday_reward& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_req_recv_sevenday_reward& default_instance(); void Swap(packetc2w_req_recv_sevenday_reward* other); // implements Message ---------------------------------------------- packetc2w_req_recv_sevenday_reward* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_req_recv_sevenday_reward& from); void MergeFrom(const packetc2w_req_recv_sevenday_reward& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_sevenday_reward]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 day = 2; inline bool has_day() const; inline void clear_day(); static const int kDayFieldNumber = 2; inline ::google::protobuf::int32 day() const; inline void set_day(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_recv_sevenday_reward) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_day(); inline void clear_has_day(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 day_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetc2w_req_recv_sevenday_reward* default_instance_; }; // ------------------------------------------------------------------- class packetc2w_req_recv_sevenday_reward_result : public ::google::protobuf::Message { public: packetc2w_req_recv_sevenday_reward_result(); virtual ~packetc2w_req_recv_sevenday_reward_result(); packetc2w_req_recv_sevenday_reward_result(const packetc2w_req_recv_sevenday_reward_result& from); inline packetc2w_req_recv_sevenday_reward_result& operator=(const packetc2w_req_recv_sevenday_reward_result& from) { CopyFrom(from); return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _unknown_fields_; } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return &_unknown_fields_; } static const ::google::protobuf::Descriptor* descriptor(); static const packetc2w_req_recv_sevenday_reward_result& default_instance(); void Swap(packetc2w_req_recv_sevenday_reward_result* other); // implements Message ---------------------------------------------- packetc2w_req_recv_sevenday_reward_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2w_req_recv_sevenday_reward_result& from); void MergeFrom(const packetc2w_req_recv_sevenday_reward_result& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_sevenday_reward_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::client2world_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::client2world_protocols::e_server_msg_type value); // optional int32 day = 2; inline bool has_day() const; inline void clear_day(); static const int kDayFieldNumber = 2; inline ::google::protobuf::int32 day() const; inline void set_day(::google::protobuf::int32 value); // optional int32 result = 3; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // repeated .msg_info_def.ItemInfo itemList = 4; inline int itemlist_size() const; inline void clear_itemlist(); static const int kItemListFieldNumber = 4; inline const ::msg_info_def::ItemInfo& itemlist(int index) const; inline ::msg_info_def::ItemInfo* mutable_itemlist(int index); inline ::msg_info_def::ItemInfo* add_itemlist(); inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >& itemlist() const; inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >* mutable_itemlist(); // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_req_recv_sevenday_reward_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_day(); inline void clear_has_day(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 day_; ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > itemlist_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_AssignDesc_client2world_5fdaily_5fbox_5flottery_2eproto(); friend void protobuf_ShutdownFile_client2world_5fdaily_5fbox_5flottery_2eproto(); void InitAsDefaultInstance(); static packetc2w_req_recv_sevenday_reward_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2w_req_sign // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign]; inline bool packetc2w_req_sign::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_req_sign::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_req_sign::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_req_sign::clear_packet_id() { packet_id_ = 5098; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_req_sign::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_req_sign::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional bool double = 2; inline bool packetc2w_req_sign::has_double_() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_req_sign::set_has_double_() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_req_sign::clear_has_double_() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_req_sign::clear_double_() { double__ = false; clear_has_double_(); } inline bool packetc2w_req_sign::double_() const { return double__; } inline void packetc2w_req_sign::set_double_(bool value) { set_has_double_(); double__ = value; } // ------------------------------------------------------------------- // packetw2c_req_sign_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_result]; inline bool packetw2c_req_sign_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_req_sign_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_req_sign_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_req_sign_result::clear_packet_id() { packet_id_ = 7605; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_req_sign_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_req_sign_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional bool double = 2; inline bool packetw2c_req_sign_result::has_double_() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetw2c_req_sign_result::set_has_double_() { _has_bits_[0] |= 0x00000002u; } inline void packetw2c_req_sign_result::clear_has_double_() { _has_bits_[0] &= ~0x00000002u; } inline void packetw2c_req_sign_result::clear_double_() { double__ = false; clear_has_double_(); } inline bool packetw2c_req_sign_result::double_() const { return double__; } inline void packetw2c_req_sign_result::set_double_(bool value) { set_has_double_(); double__ = value; } // optional int32 result = 3; inline bool packetw2c_req_sign_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetw2c_req_sign_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetw2c_req_sign_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetw2c_req_sign_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetw2c_req_sign_result::result() const { return result_; } inline void packetw2c_req_sign_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // repeated .msg_info_def.ItemInfo itemList = 4; inline int packetw2c_req_sign_result::itemlist_size() const { return itemlist_.size(); } inline void packetw2c_req_sign_result::clear_itemlist() { itemlist_.Clear(); } inline const ::msg_info_def::ItemInfo& packetw2c_req_sign_result::itemlist(int index) const { return itemlist_.Get(index); } inline ::msg_info_def::ItemInfo* packetw2c_req_sign_result::mutable_itemlist(int index) { return itemlist_.Mutable(index); } inline ::msg_info_def::ItemInfo* packetw2c_req_sign_result::add_itemlist() { return itemlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >& packetw2c_req_sign_result::itemlist() const { return itemlist_; } inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >* packetw2c_req_sign_result::mutable_itemlist() { return &itemlist_; } // ------------------------------------------------------------------- // packetc2w_req_sign_info // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_sign_info]; inline bool packetc2w_req_sign_info::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_req_sign_info::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_req_sign_info::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_req_sign_info::clear_packet_id() { packet_id_ = 5099; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_req_sign_info::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_req_sign_info::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 signtype = 2; inline bool packetc2w_req_sign_info::has_signtype() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_req_sign_info::set_has_signtype() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_req_sign_info::clear_has_signtype() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_req_sign_info::clear_signtype() { signtype_ = 0; clear_has_signtype(); } inline ::google::protobuf::int32 packetc2w_req_sign_info::signtype() const { return signtype_; } inline void packetc2w_req_sign_info::set_signtype(::google::protobuf::int32 value) { set_has_signtype(); signtype_ = value; } // ------------------------------------------------------------------- // packetw2c_req_sign_info_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_sign_info_result]; inline bool packetw2c_req_sign_info_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetw2c_req_sign_info_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetw2c_req_sign_info_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetw2c_req_sign_info_result::clear_packet_id() { packet_id_ = 7606; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetw2c_req_sign_info_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetw2c_req_sign_info_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 signtype = 2; inline bool packetw2c_req_sign_info_result::has_signtype() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetw2c_req_sign_info_result::set_has_signtype() { _has_bits_[0] |= 0x00000002u; } inline void packetw2c_req_sign_info_result::clear_has_signtype() { _has_bits_[0] &= ~0x00000002u; } inline void packetw2c_req_sign_info_result::clear_signtype() { signtype_ = 0; clear_has_signtype(); } inline ::google::protobuf::int32 packetw2c_req_sign_info_result::signtype() const { return signtype_; } inline void packetw2c_req_sign_info_result::set_signtype(::google::protobuf::int32 value) { set_has_signtype(); signtype_ = value; } // optional int32 signCount = 3; inline bool packetw2c_req_sign_info_result::has_signcount() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetw2c_req_sign_info_result::set_has_signcount() { _has_bits_[0] |= 0x00000004u; } inline void packetw2c_req_sign_info_result::clear_has_signcount() { _has_bits_[0] &= ~0x00000004u; } inline void packetw2c_req_sign_info_result::clear_signcount() { signcount_ = 0; clear_has_signcount(); } inline ::google::protobuf::int32 packetw2c_req_sign_info_result::signcount() const { return signcount_; } inline void packetw2c_req_sign_info_result::set_signcount(::google::protobuf::int32 value) { set_has_signcount(); signcount_ = value; } // optional int32 keepSignCount = 4; inline bool packetw2c_req_sign_info_result::has_keepsigncount() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetw2c_req_sign_info_result::set_has_keepsigncount() { _has_bits_[0] |= 0x00000008u; } inline void packetw2c_req_sign_info_result::clear_has_keepsigncount() { _has_bits_[0] &= ~0x00000008u; } inline void packetw2c_req_sign_info_result::clear_keepsigncount() { keepsigncount_ = 0; clear_has_keepsigncount(); } inline ::google::protobuf::int32 packetw2c_req_sign_info_result::keepsigncount() const { return keepsigncount_; } inline void packetw2c_req_sign_info_result::set_keepsigncount(::google::protobuf::int32 value) { set_has_keepsigncount(); keepsigncount_ = value; } // optional bool signUpLevel = 5; inline bool packetw2c_req_sign_info_result::has_signuplevel() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetw2c_req_sign_info_result::set_has_signuplevel() { _has_bits_[0] |= 0x00000010u; } inline void packetw2c_req_sign_info_result::clear_has_signuplevel() { _has_bits_[0] &= ~0x00000010u; } inline void packetw2c_req_sign_info_result::clear_signuplevel() { signuplevel_ = false; clear_has_signuplevel(); } inline bool packetw2c_req_sign_info_result::signuplevel() const { return signuplevel_; } inline void packetw2c_req_sign_info_result::set_signuplevel(bool value) { set_has_signuplevel(); signuplevel_ = value; } // optional bool canSign = 6; inline bool packetw2c_req_sign_info_result::has_cansign() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetw2c_req_sign_info_result::set_has_cansign() { _has_bits_[0] |= 0x00000020u; } inline void packetw2c_req_sign_info_result::clear_has_cansign() { _has_bits_[0] &= ~0x00000020u; } inline void packetw2c_req_sign_info_result::clear_cansign() { cansign_ = false; clear_has_cansign(); } inline bool packetw2c_req_sign_info_result::cansign() const { return cansign_; } inline void packetw2c_req_sign_info_result::set_cansign(bool value) { set_has_cansign(); cansign_ = value; } // optional int32 hasSignCount = 7; inline bool packetw2c_req_sign_info_result::has_hassigncount() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void packetw2c_req_sign_info_result::set_has_hassigncount() { _has_bits_[0] |= 0x00000040u; } inline void packetw2c_req_sign_info_result::clear_has_hassigncount() { _has_bits_[0] &= ~0x00000040u; } inline void packetw2c_req_sign_info_result::clear_hassigncount() { hassigncount_ = 0; clear_has_hassigncount(); } inline ::google::protobuf::int32 packetw2c_req_sign_info_result::hassigncount() const { return hassigncount_; } inline void packetw2c_req_sign_info_result::set_hassigncount(::google::protobuf::int32 value) { set_has_hassigncount(); hassigncount_ = value; } // optional bool sevenDayCanSign = 8; inline bool packetw2c_req_sign_info_result::has_sevendaycansign() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void packetw2c_req_sign_info_result::set_has_sevendaycansign() { _has_bits_[0] |= 0x00000080u; } inline void packetw2c_req_sign_info_result::clear_has_sevendaycansign() { _has_bits_[0] &= ~0x00000080u; } inline void packetw2c_req_sign_info_result::clear_sevendaycansign() { sevendaycansign_ = false; clear_has_sevendaycansign(); } inline bool packetw2c_req_sign_info_result::sevendaycansign() const { return sevendaycansign_; } inline void packetw2c_req_sign_info_result::set_sevendaycansign(bool value) { set_has_sevendaycansign(); sevendaycansign_ = value; } // ------------------------------------------------------------------- // packetc2w_req_recv_sevenday_reward // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_sevenday_reward]; inline bool packetc2w_req_recv_sevenday_reward::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_req_recv_sevenday_reward::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_req_recv_sevenday_reward::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_req_recv_sevenday_reward::clear_packet_id() { packet_id_ = 5147; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_req_recv_sevenday_reward::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_req_recv_sevenday_reward::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 day = 2; inline bool packetc2w_req_recv_sevenday_reward::has_day() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_req_recv_sevenday_reward::set_has_day() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_req_recv_sevenday_reward::clear_has_day() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_req_recv_sevenday_reward::clear_day() { day_ = 0; clear_has_day(); } inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward::day() const { return day_; } inline void packetc2w_req_recv_sevenday_reward::set_day(::google::protobuf::int32 value) { set_has_day(); day_ = value; } // ------------------------------------------------------------------- // packetc2w_req_recv_sevenday_reward_result // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_sevenday_reward_result]; inline bool packetc2w_req_recv_sevenday_reward_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2w_req_recv_sevenday_reward_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_packet_id() { packet_id_ = 7659; clear_has_packet_id(); } inline ::client2world_protocols::e_server_msg_type packetc2w_req_recv_sevenday_reward_result::packet_id() const { return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_); } inline void packetc2w_req_recv_sevenday_reward_result::set_packet_id(::client2world_protocols::e_server_msg_type value) { assert(::client2world_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 day = 2; inline bool packetc2w_req_recv_sevenday_reward_result::has_day() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2w_req_recv_sevenday_reward_result::set_has_day() { _has_bits_[0] |= 0x00000002u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_has_day() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_day() { day_ = 0; clear_has_day(); } inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward_result::day() const { return day_; } inline void packetc2w_req_recv_sevenday_reward_result::set_day(::google::protobuf::int32 value) { set_has_day(); day_ = value; } // optional int32 result = 3; inline bool packetc2w_req_recv_sevenday_reward_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2w_req_recv_sevenday_reward_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2w_req_recv_sevenday_reward_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetc2w_req_recv_sevenday_reward_result::result() const { return result_; } inline void packetc2w_req_recv_sevenday_reward_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // repeated .msg_info_def.ItemInfo itemList = 4; inline int packetc2w_req_recv_sevenday_reward_result::itemlist_size() const { return itemlist_.size(); } inline void packetc2w_req_recv_sevenday_reward_result::clear_itemlist() { itemlist_.Clear(); } inline const ::msg_info_def::ItemInfo& packetc2w_req_recv_sevenday_reward_result::itemlist(int index) const { return itemlist_.Get(index); } inline ::msg_info_def::ItemInfo* packetc2w_req_recv_sevenday_reward_result::mutable_itemlist(int index) { return itemlist_.Mutable(index); } inline ::msg_info_def::ItemInfo* packetc2w_req_recv_sevenday_reward_result::add_itemlist() { return itemlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >& packetc2w_req_recv_sevenday_reward_result::itemlist() const { return itemlist_; } inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >* packetc2w_req_recv_sevenday_reward_result::mutable_itemlist() { return &itemlist_; } // @@protoc_insertion_point(namespace_scope) } // namespace client2world_protocols #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_client2world_5fdaily_5fbox_5flottery_2eproto__INCLUDED