// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_ticket_palace.proto #ifndef PROTOBUF_fish_5fticket_5fpalace_2eproto__INCLUDED #define PROTOBUF_fish_5fticket_5fpalace_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 "fish_def.pb.h" #include "msg_type_def.pb.h" #include "fish_type_def.pb.h" // @@protoc_insertion_point(includes) namespace fish_protocols { // Internal implementation detail -- do not call these. void protobuf_AddDesc_fish_5fticket_5fpalace_2eproto(); void protobuf_AssignDesc_fish_5fticket_5fpalace_2eproto(); void protobuf_ShutdownFile_fish_5fticket_5fpalace_2eproto(); class packetc2l_get_ticket_palace_info; class packetl2c_get_ticket_palace_info_result; class packetc2l_recv_ticket_palace_reward; class packetl2c_recv_ticket_palace_reward_result; // =================================================================== class packetc2l_get_ticket_palace_info : public ::google::protobuf::Message { public: packetc2l_get_ticket_palace_info(); virtual ~packetc2l_get_ticket_palace_info(); packetc2l_get_ticket_palace_info(const packetc2l_get_ticket_palace_info& from); inline packetc2l_get_ticket_palace_info& operator=(const packetc2l_get_ticket_palace_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 packetc2l_get_ticket_palace_info& default_instance(); void Swap(packetc2l_get_ticket_palace_info* other); // implements Message ---------------------------------------------- packetc2l_get_ticket_palace_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_get_ticket_palace_info& from); void MergeFrom(const packetc2l_get_ticket_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_ticket_palace_info]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::fish_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::fish_protocols::e_server_msg_type value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_ticket_palace_info) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_AssignDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_ShutdownFile_fish_5fticket_5fpalace_2eproto(); void InitAsDefaultInstance(); static packetc2l_get_ticket_palace_info* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_ticket_palace_info_result : public ::google::protobuf::Message { public: packetl2c_get_ticket_palace_info_result(); virtual ~packetl2c_get_ticket_palace_info_result(); packetl2c_get_ticket_palace_info_result(const packetl2c_get_ticket_palace_info_result& from); inline packetl2c_get_ticket_palace_info_result& operator=(const packetl2c_get_ticket_palace_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 packetl2c_get_ticket_palace_info_result& default_instance(); void Swap(packetl2c_get_ticket_palace_info_result* other); // implements Message ---------------------------------------------- packetl2c_get_ticket_palace_info_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_ticket_palace_info_result& from); void MergeFrom(const packetl2c_get_ticket_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_ticket_palace_info_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::fish_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::fish_protocols::e_server_msg_type value); // optional int32 dailyTicket = 2; inline bool has_dailyticket() const; inline void clear_dailyticket(); static const int kDailyTicketFieldNumber = 2; inline ::google::protobuf::int32 dailyticket() const; inline void set_dailyticket(::google::protobuf::int32 value); // optional int32 leftSecond = 3; inline bool has_leftsecond() const; inline void clear_leftsecond(); static const int kLeftSecondFieldNumber = 3; inline ::google::protobuf::int32 leftsecond() const; inline void set_leftsecond(::google::protobuf::int32 value); // repeated bool received = 4; inline int received_size() const; inline void clear_received(); static const int kReceivedFieldNumber = 4; inline bool received(int index) const; inline void set_received(int index, bool value); inline void add_received(bool value); inline const ::google::protobuf::RepeatedField< bool >& received() const; inline ::google::protobuf::RepeatedField< bool >* mutable_received(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_ticket_palace_info_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_dailyticket(); inline void clear_has_dailyticket(); inline void set_has_leftsecond(); inline void clear_has_leftsecond(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 dailyticket_; ::google::protobuf::RepeatedField< bool > received_; ::google::protobuf::int32 leftsecond_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_AssignDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_ShutdownFile_fish_5fticket_5fpalace_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_ticket_palace_info_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_recv_ticket_palace_reward : public ::google::protobuf::Message { public: packetc2l_recv_ticket_palace_reward(); virtual ~packetc2l_recv_ticket_palace_reward(); packetc2l_recv_ticket_palace_reward(const packetc2l_recv_ticket_palace_reward& from); inline packetc2l_recv_ticket_palace_reward& operator=(const packetc2l_recv_ticket_palace_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 packetc2l_recv_ticket_palace_reward& default_instance(); void Swap(packetc2l_recv_ticket_palace_reward* other); // implements Message ---------------------------------------------- packetc2l_recv_ticket_palace_reward* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_recv_ticket_palace_reward& from); void MergeFrom(const packetc2l_recv_ticket_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_recv_ticket_palace_reward]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::fish_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::fish_protocols::e_server_msg_type value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_recv_ticket_palace_reward) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_AssignDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_ShutdownFile_fish_5fticket_5fpalace_2eproto(); void InitAsDefaultInstance(); static packetc2l_recv_ticket_palace_reward* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_recv_ticket_palace_reward_result : public ::google::protobuf::Message { public: packetl2c_recv_ticket_palace_reward_result(); virtual ~packetl2c_recv_ticket_palace_reward_result(); packetl2c_recv_ticket_palace_reward_result(const packetl2c_recv_ticket_palace_reward_result& from); inline packetl2c_recv_ticket_palace_reward_result& operator=(const packetl2c_recv_ticket_palace_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 packetl2c_recv_ticket_palace_reward_result& default_instance(); void Swap(packetl2c_recv_ticket_palace_reward_result* other); // implements Message ---------------------------------------------- packetl2c_recv_ticket_palace_reward_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_recv_ticket_palace_reward_result& from); void MergeFrom(const packetl2c_recv_ticket_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_recv_ticket_palace_reward_result]; inline bool has_packet_id() const; inline void clear_packet_id(); static const int kPacketIdFieldNumber = 1; inline ::fish_protocols::e_server_msg_type packet_id() const; inline void set_packet_id(::fish_protocols::e_server_msg_type value); // repeated int32 index = 3; inline int index_size() const; inline void clear_index(); static const int kIndexFieldNumber = 3; inline ::google::protobuf::int32 index(int index) const; inline void set_index(int index, ::google::protobuf::int32 value); inline void add_index(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& index() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_index(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_recv_ticket_palace_reward_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > index_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_AssignDesc_fish_5fticket_5fpalace_2eproto(); friend void protobuf_ShutdownFile_fish_5fticket_5fpalace_2eproto(); void InitAsDefaultInstance(); static packetl2c_recv_ticket_palace_reward_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2l_get_ticket_palace_info // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_ticket_palace_info]; inline bool packetc2l_get_ticket_palace_info::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_get_ticket_palace_info::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_get_ticket_palace_info::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_get_ticket_palace_info::clear_packet_id() { packet_id_ = 10153; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_get_ticket_palace_info::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_get_ticket_palace_info::set_packet_id(::fish_protocols::e_server_msg_type value) { assert(::fish_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // ------------------------------------------------------------------- // packetl2c_get_ticket_palace_info_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_ticket_palace_info_result]; inline bool packetl2c_get_ticket_palace_info_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_ticket_palace_info_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_ticket_palace_info_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_ticket_palace_info_result::clear_packet_id() { packet_id_ = 16142; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_ticket_palace_info_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_ticket_palace_info_result::set_packet_id(::fish_protocols::e_server_msg_type value) { assert(::fish_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // optional int32 dailyTicket = 2; inline bool packetl2c_get_ticket_palace_info_result::has_dailyticket() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_get_ticket_palace_info_result::set_has_dailyticket() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_get_ticket_palace_info_result::clear_has_dailyticket() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_get_ticket_palace_info_result::clear_dailyticket() { dailyticket_ = 0; clear_has_dailyticket(); } inline ::google::protobuf::int32 packetl2c_get_ticket_palace_info_result::dailyticket() const { return dailyticket_; } inline void packetl2c_get_ticket_palace_info_result::set_dailyticket(::google::protobuf::int32 value) { set_has_dailyticket(); dailyticket_ = value; } // optional int32 leftSecond = 3; inline bool packetl2c_get_ticket_palace_info_result::has_leftsecond() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_get_ticket_palace_info_result::set_has_leftsecond() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_get_ticket_palace_info_result::clear_has_leftsecond() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_get_ticket_palace_info_result::clear_leftsecond() { leftsecond_ = 0; clear_has_leftsecond(); } inline ::google::protobuf::int32 packetl2c_get_ticket_palace_info_result::leftsecond() const { return leftsecond_; } inline void packetl2c_get_ticket_palace_info_result::set_leftsecond(::google::protobuf::int32 value) { set_has_leftsecond(); leftsecond_ = value; } // repeated bool received = 4; inline int packetl2c_get_ticket_palace_info_result::received_size() const { return received_.size(); } inline void packetl2c_get_ticket_palace_info_result::clear_received() { received_.Clear(); } inline bool packetl2c_get_ticket_palace_info_result::received(int index) const { return received_.Get(index); } inline void packetl2c_get_ticket_palace_info_result::set_received(int index, bool value) { received_.Set(index, value); } inline void packetl2c_get_ticket_palace_info_result::add_received(bool value) { received_.Add(value); } inline const ::google::protobuf::RepeatedField< bool >& packetl2c_get_ticket_palace_info_result::received() const { return received_; } inline ::google::protobuf::RepeatedField< bool >* packetl2c_get_ticket_palace_info_result::mutable_received() { return &received_; } // ------------------------------------------------------------------- // packetc2l_recv_ticket_palace_reward // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_recv_ticket_palace_reward]; inline bool packetc2l_recv_ticket_palace_reward::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_recv_ticket_palace_reward::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_recv_ticket_palace_reward::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_recv_ticket_palace_reward::clear_packet_id() { packet_id_ = 10154; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_recv_ticket_palace_reward::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_recv_ticket_palace_reward::set_packet_id(::fish_protocols::e_server_msg_type value) { assert(::fish_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // ------------------------------------------------------------------- // packetl2c_recv_ticket_palace_reward_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_recv_ticket_palace_reward_result]; inline bool packetl2c_recv_ticket_palace_reward_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_recv_ticket_palace_reward_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_recv_ticket_palace_reward_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_recv_ticket_palace_reward_result::clear_packet_id() { packet_id_ = 16143; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_recv_ticket_palace_reward_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_recv_ticket_palace_reward_result::set_packet_id(::fish_protocols::e_server_msg_type value) { assert(::fish_protocols::e_server_msg_type_IsValid(value)); set_has_packet_id(); packet_id_ = value; } // repeated int32 index = 3; inline int packetl2c_recv_ticket_palace_reward_result::index_size() const { return index_.size(); } inline void packetl2c_recv_ticket_palace_reward_result::clear_index() { index_.Clear(); } inline ::google::protobuf::int32 packetl2c_recv_ticket_palace_reward_result::index(int index) const { return index_.Get(index); } inline void packetl2c_recv_ticket_palace_reward_result::set_index(int index, ::google::protobuf::int32 value) { index_.Set(index, value); } inline void packetl2c_recv_ticket_palace_reward_result::add_index(::google::protobuf::int32 value) { index_.Add(value); } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& packetl2c_recv_ticket_palace_reward_result::index() const { return index_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* packetl2c_recv_ticket_palace_reward_result::mutable_index() { return &index_; } // @@protoc_insertion_point(namespace_scope) } // namespace fish_protocols #ifndef SWIG namespace google { namespace protobuf { } // namespace google } // namespace protobuf #endif // SWIG // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_fish_5fticket_5fpalace_2eproto__INCLUDED