// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_bombfairyland.proto #ifndef PROTOBUF_fish_5fbombfairyland_2eproto__INCLUDED #define PROTOBUF_fish_5fbombfairyland_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 "fish_type_def.pb.h" #include "msg_type_def.pb.h" // @@protoc_insertion_point(includes) namespace fish_protocols { // Internal implementation detail -- do not call these. void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); class packetc2l_enter_southsea_treasurehunt; class packetl2c_enter_southsea_treasurehunt_result; class packetc2l_southsea_treasurehunt_get_info; class STRoomstate; class packetl2c_southsea_treasurehunt_get_info_result; class packetc2l_southsea_treasurehunt_enter; class packetl2c_southsea_treasurehunt_enter_result; class packetc2l_southsea_treasurehunt_lottery; class packetl2c_southsea_treasurehunt_lottery_result; class packetc2l_get_southsea_treasurehunt_notice; class MTreasureHuntNoticeInfo; class packetl2c_get_southsea_treasurehunt_notice_result; // =================================================================== class packetc2l_enter_southsea_treasurehunt : public ::google::protobuf::Message { public: packetc2l_enter_southsea_treasurehunt(); virtual ~packetc2l_enter_southsea_treasurehunt(); packetc2l_enter_southsea_treasurehunt(const packetc2l_enter_southsea_treasurehunt& from); inline packetc2l_enter_southsea_treasurehunt& operator=(const packetc2l_enter_southsea_treasurehunt& 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_enter_southsea_treasurehunt& default_instance(); void Swap(packetc2l_enter_southsea_treasurehunt* other); // implements Message ---------------------------------------------- packetc2l_enter_southsea_treasurehunt* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_enter_southsea_treasurehunt& from); void MergeFrom(const packetc2l_enter_southsea_treasurehunt& 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_enter_southsea_treasurehunt]; 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_enter_southsea_treasurehunt) 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_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetc2l_enter_southsea_treasurehunt* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_enter_southsea_treasurehunt_result : public ::google::protobuf::Message { public: packetl2c_enter_southsea_treasurehunt_result(); virtual ~packetl2c_enter_southsea_treasurehunt_result(); packetl2c_enter_southsea_treasurehunt_result(const packetl2c_enter_southsea_treasurehunt_result& from); inline packetl2c_enter_southsea_treasurehunt_result& operator=(const packetl2c_enter_southsea_treasurehunt_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_enter_southsea_treasurehunt_result& default_instance(); void Swap(packetl2c_enter_southsea_treasurehunt_result* other); // implements Message ---------------------------------------------- packetl2c_enter_southsea_treasurehunt_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_enter_southsea_treasurehunt_result& from); void MergeFrom(const packetl2c_enter_southsea_treasurehunt_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_enter_southsea_treasurehunt_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 sendCopperCount = 2; inline bool has_sendcoppercount() const; inline void clear_sendcoppercount(); static const int kSendCopperCountFieldNumber = 2; inline ::google::protobuf::int32 sendcoppercount() const; inline void set_sendcoppercount(::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); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_enter_southsea_treasurehunt_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_sendcoppercount(); inline void clear_has_sendcoppercount(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 sendcoppercount_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetl2c_enter_southsea_treasurehunt_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_southsea_treasurehunt_get_info : public ::google::protobuf::Message { public: packetc2l_southsea_treasurehunt_get_info(); virtual ~packetc2l_southsea_treasurehunt_get_info(); packetc2l_southsea_treasurehunt_get_info(const packetc2l_southsea_treasurehunt_get_info& from); inline packetc2l_southsea_treasurehunt_get_info& operator=(const packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info& default_instance(); void Swap(packetc2l_southsea_treasurehunt_get_info* other); // implements Message ---------------------------------------------- packetc2l_southsea_treasurehunt_get_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_southsea_treasurehunt_get_info& from); void MergeFrom(const packetc2l_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetc2l_southsea_treasurehunt_get_info* default_instance_; }; // ------------------------------------------------------------------- class STRoomstate : public ::google::protobuf::Message { public: STRoomstate(); virtual ~STRoomstate(); STRoomstate(const STRoomstate& from); inline STRoomstate& operator=(const STRoomstate& 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 STRoomstate& default_instance(); void Swap(STRoomstate* other); // implements Message ---------------------------------------------- STRoomstate* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const STRoomstate& from); void MergeFrom(const STRoomstate& 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 int32 roomId = 1; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 1; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 state = 2; inline bool has_state() const; inline void clear_state(); static const int kStateFieldNumber = 2; inline ::google::protobuf::int32 state() const; inline void set_state(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.STRoomstate) private: inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_state(); inline void clear_has_state(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 state_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static STRoomstate* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_southsea_treasurehunt_get_info_result : public ::google::protobuf::Message { public: packetl2c_southsea_treasurehunt_get_info_result(); virtual ~packetl2c_southsea_treasurehunt_get_info_result(); packetl2c_southsea_treasurehunt_get_info_result(const packetl2c_southsea_treasurehunt_get_info_result& from); inline packetl2c_southsea_treasurehunt_get_info_result& operator=(const packetl2c_southsea_treasurehunt_get_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_southsea_treasurehunt_get_info_result& default_instance(); void Swap(packetl2c_southsea_treasurehunt_get_info_result* other); // implements Message ---------------------------------------------- packetl2c_southsea_treasurehunt_get_info_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_southsea_treasurehunt_get_info_result& from); void MergeFrom(const packetl2c_southsea_treasurehunt_get_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_southsea_treasurehunt_get_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); // repeated .fish_protocols.STRoomstate roomList = 2; inline int roomlist_size() const; inline void clear_roomlist(); static const int kRoomListFieldNumber = 2; inline const ::fish_protocols::STRoomstate& roomlist(int index) const; inline ::fish_protocols::STRoomstate* mutable_roomlist(int index); inline ::fish_protocols::STRoomstate* add_roomlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >& roomlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >* mutable_roomlist(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_get_info_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate > roomlist_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetl2c_southsea_treasurehunt_get_info_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_southsea_treasurehunt_enter : public ::google::protobuf::Message { public: packetc2l_southsea_treasurehunt_enter(); virtual ~packetc2l_southsea_treasurehunt_enter(); packetc2l_southsea_treasurehunt_enter(const packetc2l_southsea_treasurehunt_enter& from); inline packetc2l_southsea_treasurehunt_enter& operator=(const packetc2l_southsea_treasurehunt_enter& 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_southsea_treasurehunt_enter& default_instance(); void Swap(packetc2l_southsea_treasurehunt_enter* other); // implements Message ---------------------------------------------- packetc2l_southsea_treasurehunt_enter* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_southsea_treasurehunt_enter& from); void MergeFrom(const packetc2l_southsea_treasurehunt_enter& 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_southsea_treasurehunt_enter]; 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 roomId = 2; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 2; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 enterWay = 3; inline bool has_enterway() const; inline void clear_enterway(); static const int kEnterWayFieldNumber = 3; inline ::google::protobuf::int32 enterway() const; inline void set_enterway(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_southsea_treasurehunt_enter) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_enterway(); inline void clear_has_enterway(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 enterway_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetc2l_southsea_treasurehunt_enter* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_southsea_treasurehunt_enter_result : public ::google::protobuf::Message { public: packetl2c_southsea_treasurehunt_enter_result(); virtual ~packetl2c_southsea_treasurehunt_enter_result(); packetl2c_southsea_treasurehunt_enter_result(const packetl2c_southsea_treasurehunt_enter_result& from); inline packetl2c_southsea_treasurehunt_enter_result& operator=(const packetl2c_southsea_treasurehunt_enter_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_southsea_treasurehunt_enter_result& default_instance(); void Swap(packetl2c_southsea_treasurehunt_enter_result* other); // implements Message ---------------------------------------------- packetl2c_southsea_treasurehunt_enter_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_southsea_treasurehunt_enter_result& from); void MergeFrom(const packetl2c_southsea_treasurehunt_enter_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_southsea_treasurehunt_enter_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 result = 2; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional int32 roomId = 3; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 3; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 enterWay = 4; inline bool has_enterway() const; inline void clear_enterway(); static const int kEnterWayFieldNumber = 4; inline ::google::protobuf::int32 enterway() const; inline void set_enterway(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_enter_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_enterway(); inline void clear_has_enterway(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 result_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 enterway_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetl2c_southsea_treasurehunt_enter_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_southsea_treasurehunt_lottery : public ::google::protobuf::Message { public: packetc2l_southsea_treasurehunt_lottery(); virtual ~packetc2l_southsea_treasurehunt_lottery(); packetc2l_southsea_treasurehunt_lottery(const packetc2l_southsea_treasurehunt_lottery& from); inline packetc2l_southsea_treasurehunt_lottery& operator=(const packetc2l_southsea_treasurehunt_lottery& 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_southsea_treasurehunt_lottery& default_instance(); void Swap(packetc2l_southsea_treasurehunt_lottery* other); // implements Message ---------------------------------------------- packetc2l_southsea_treasurehunt_lottery* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_southsea_treasurehunt_lottery& from); void MergeFrom(const packetc2l_southsea_treasurehunt_lottery& 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_southsea_treasurehunt_lottery]; 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 roomId = 2; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 2; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 enterWay = 3; inline bool has_enterway() const; inline void clear_enterway(); static const int kEnterWayFieldNumber = 3; inline ::google::protobuf::int32 enterway() const; inline void set_enterway(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_southsea_treasurehunt_lottery) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_enterway(); inline void clear_has_enterway(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 enterway_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetc2l_southsea_treasurehunt_lottery* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_southsea_treasurehunt_lottery_result : public ::google::protobuf::Message { public: packetl2c_southsea_treasurehunt_lottery_result(); virtual ~packetl2c_southsea_treasurehunt_lottery_result(); packetl2c_southsea_treasurehunt_lottery_result(const packetl2c_southsea_treasurehunt_lottery_result& from); inline packetl2c_southsea_treasurehunt_lottery_result& operator=(const packetl2c_southsea_treasurehunt_lottery_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_southsea_treasurehunt_lottery_result& default_instance(); void Swap(packetl2c_southsea_treasurehunt_lottery_result* other); // implements Message ---------------------------------------------- packetl2c_southsea_treasurehunt_lottery_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_southsea_treasurehunt_lottery_result& from); void MergeFrom(const packetl2c_southsea_treasurehunt_lottery_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_southsea_treasurehunt_lottery_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 result = 2; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional int32 roomId = 3; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 3; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 enterWay = 4; inline bool has_enterway() const; inline void clear_enterway(); static const int kEnterWayFieldNumber = 4; inline ::google::protobuf::int32 enterway() const; inline void set_enterway(::google::protobuf::int32 value); // optional int32 rewardId = 5; inline bool has_rewardid() const; inline void clear_rewardid(); static const int kRewardIdFieldNumber = 5; inline ::google::protobuf::int32 rewardid() const; inline void set_rewardid(::google::protobuf::int32 value); // repeated .fish_protocols.msg_item rewardList = 6; inline int rewardlist_size() const; inline void clear_rewardlist(); static const int kRewardListFieldNumber = 6; inline const ::fish_protocols::msg_item& rewardlist(int index) const; inline ::fish_protocols::msg_item* mutable_rewardlist(int index); inline ::fish_protocols::msg_item* add_rewardlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& rewardlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* mutable_rewardlist(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_southsea_treasurehunt_lottery_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_enterway(); inline void clear_has_enterway(); inline void set_has_rewardid(); inline void clear_has_rewardid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 result_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 enterway_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > rewardlist_; ::google::protobuf::int32 rewardid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetl2c_southsea_treasurehunt_lottery_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_get_southsea_treasurehunt_notice : public ::google::protobuf::Message { public: packetc2l_get_southsea_treasurehunt_notice(); virtual ~packetc2l_get_southsea_treasurehunt_notice(); packetc2l_get_southsea_treasurehunt_notice(const packetc2l_get_southsea_treasurehunt_notice& from); inline packetc2l_get_southsea_treasurehunt_notice& operator=(const packetc2l_get_southsea_treasurehunt_notice& 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_southsea_treasurehunt_notice& default_instance(); void Swap(packetc2l_get_southsea_treasurehunt_notice* other); // implements Message ---------------------------------------------- packetc2l_get_southsea_treasurehunt_notice* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_get_southsea_treasurehunt_notice& from); void MergeFrom(const packetc2l_get_southsea_treasurehunt_notice& 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_southsea_treasurehunt_notice]; 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 lastId = 2; inline bool has_lastid() const; inline void clear_lastid(); static const int kLastIdFieldNumber = 2; inline ::google::protobuf::int32 lastid() const; inline void set_lastid(::google::protobuf::int32 value); // optional int32 roomId = 3; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 3; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_get_southsea_treasurehunt_notice) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_lastid(); inline void clear_has_lastid(); inline void set_has_roomid(); inline void clear_has_roomid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 lastid_; ::google::protobuf::int32 roomid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetc2l_get_southsea_treasurehunt_notice* default_instance_; }; // ------------------------------------------------------------------- class MTreasureHuntNoticeInfo : public ::google::protobuf::Message { public: MTreasureHuntNoticeInfo(); virtual ~MTreasureHuntNoticeInfo(); MTreasureHuntNoticeInfo(const MTreasureHuntNoticeInfo& from); inline MTreasureHuntNoticeInfo& operator=(const MTreasureHuntNoticeInfo& 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 MTreasureHuntNoticeInfo& default_instance(); void Swap(MTreasureHuntNoticeInfo* other); // implements Message ---------------------------------------------- MTreasureHuntNoticeInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const MTreasureHuntNoticeInfo& from); void MergeFrom(const MTreasureHuntNoticeInfo& 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 string nickName = 1; inline bool has_nickname() const; inline void clear_nickname(); static const int kNickNameFieldNumber = 1; inline const ::std::string& nickname() const; inline void set_nickname(const ::std::string& value); inline void set_nickname(const char* value); inline void set_nickname(const char* value, size_t size); inline ::std::string* mutable_nickname(); inline ::std::string* release_nickname(); inline void set_allocated_nickname(::std::string* nickname); // optional int32 itemId = 2; inline bool has_itemid() const; inline void clear_itemid(); static const int kItemIdFieldNumber = 2; inline ::google::protobuf::int32 itemid() const; inline void set_itemid(::google::protobuf::int32 value); // optional int32 count = 3; inline bool has_count() const; inline void clear_count(); static const int kCountFieldNumber = 3; inline ::google::protobuf::int32 count() const; inline void set_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.MTreasureHuntNoticeInfo) private: inline void set_has_nickname(); inline void clear_has_nickname(); inline void set_has_itemid(); inline void clear_has_itemid(); inline void set_has_count(); inline void clear_has_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::std::string* nickname_; ::google::protobuf::int32 itemid_; ::google::protobuf::int32 count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static MTreasureHuntNoticeInfo* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_southsea_treasurehunt_notice_result : public ::google::protobuf::Message { public: packetl2c_get_southsea_treasurehunt_notice_result(); virtual ~packetl2c_get_southsea_treasurehunt_notice_result(); packetl2c_get_southsea_treasurehunt_notice_result(const packetl2c_get_southsea_treasurehunt_notice_result& from); inline packetl2c_get_southsea_treasurehunt_notice_result& operator=(const packetl2c_get_southsea_treasurehunt_notice_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_southsea_treasurehunt_notice_result& default_instance(); void Swap(packetl2c_get_southsea_treasurehunt_notice_result* other); // implements Message ---------------------------------------------- packetl2c_get_southsea_treasurehunt_notice_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from); void MergeFrom(const packetl2c_get_southsea_treasurehunt_notice_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_southsea_treasurehunt_notice_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 lastId = 2; inline bool has_lastid() const; inline void clear_lastid(); static const int kLastIdFieldNumber = 2; inline ::google::protobuf::int32 lastid() const; inline void set_lastid(::google::protobuf::int32 value); // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; inline int noticelist_size() const; inline void clear_noticelist(); static const int kNoticeListFieldNumber = 3; inline const ::fish_protocols::MTreasureHuntNoticeInfo& noticelist(int index) const; inline ::fish_protocols::MTreasureHuntNoticeInfo* mutable_noticelist(int index); inline ::fish_protocols::MTreasureHuntNoticeInfo* add_noticelist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >& noticelist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >* mutable_noticelist(); // optional int32 roomId = 4; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 4; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_southsea_treasurehunt_notice_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_lastid(); inline void clear_has_lastid(); inline void set_has_roomid(); inline void clear_has_roomid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 lastid_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo > noticelist_; ::google::protobuf::int32 roomid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_AssignDesc_fish_5fbombfairyland_2eproto(); friend void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_southsea_treasurehunt_notice_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2l_enter_southsea_treasurehunt // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt]; inline bool packetc2l_enter_southsea_treasurehunt::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_enter_southsea_treasurehunt::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_enter_southsea_treasurehunt::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_enter_southsea_treasurehunt::clear_packet_id() { packet_id_ = 10176; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_enter_southsea_treasurehunt::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_enter_southsea_treasurehunt::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_enter_southsea_treasurehunt_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result]; inline bool packetl2c_enter_southsea_treasurehunt_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_enter_southsea_treasurehunt_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_packet_id() { packet_id_ = 16169; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_enter_southsea_treasurehunt_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_enter_southsea_treasurehunt_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 sendCopperCount = 2; inline bool packetl2c_enter_southsea_treasurehunt_result::has_sendcoppercount() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_enter_southsea_treasurehunt_result::set_has_sendcoppercount() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_sendcoppercount() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_sendcoppercount() { sendcoppercount_ = 0; clear_has_sendcoppercount(); } inline ::google::protobuf::int32 packetl2c_enter_southsea_treasurehunt_result::sendcoppercount() const { return sendcoppercount_; } inline void packetl2c_enter_southsea_treasurehunt_result::set_sendcoppercount(::google::protobuf::int32 value) { set_has_sendcoppercount(); sendcoppercount_ = value; } // optional int32 result = 3; inline bool packetl2c_enter_southsea_treasurehunt_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_enter_southsea_treasurehunt_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_enter_southsea_treasurehunt_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_enter_southsea_treasurehunt_result::result() const { return result_; } inline void packetl2c_enter_southsea_treasurehunt_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // ------------------------------------------------------------------- // packetc2l_southsea_treasurehunt_get_info // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info]; inline bool packetc2l_southsea_treasurehunt_get_info::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_southsea_treasurehunt_get_info::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_southsea_treasurehunt_get_info::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_southsea_treasurehunt_get_info::clear_packet_id() { packet_id_ = 10173; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_get_info::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_southsea_treasurehunt_get_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; } // ------------------------------------------------------------------- // STRoomstate // optional int32 roomId = 1; inline bool STRoomstate::has_roomid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void STRoomstate::set_has_roomid() { _has_bits_[0] |= 0x00000001u; } inline void STRoomstate::clear_has_roomid() { _has_bits_[0] &= ~0x00000001u; } inline void STRoomstate::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 STRoomstate::roomid() const { return roomid_; } inline void STRoomstate::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 state = 2; inline bool STRoomstate::has_state() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void STRoomstate::set_has_state() { _has_bits_[0] |= 0x00000002u; } inline void STRoomstate::clear_has_state() { _has_bits_[0] &= ~0x00000002u; } inline void STRoomstate::clear_state() { state_ = 0; clear_has_state(); } inline ::google::protobuf::int32 STRoomstate::state() const { return state_; } inline void STRoomstate::set_state(::google::protobuf::int32 value) { set_has_state(); state_ = value; } // ------------------------------------------------------------------- // packetl2c_southsea_treasurehunt_get_info_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result]; inline bool packetl2c_southsea_treasurehunt_get_info_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_southsea_treasurehunt_get_info_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_southsea_treasurehunt_get_info_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_southsea_treasurehunt_get_info_result::clear_packet_id() { packet_id_ = 16166; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_get_info_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_southsea_treasurehunt_get_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; } // repeated .fish_protocols.STRoomstate roomList = 2; inline int packetl2c_southsea_treasurehunt_get_info_result::roomlist_size() const { return roomlist_.size(); } inline void packetl2c_southsea_treasurehunt_get_info_result::clear_roomlist() { roomlist_.Clear(); } inline const ::fish_protocols::STRoomstate& packetl2c_southsea_treasurehunt_get_info_result::roomlist(int index) const { return roomlist_.Get(index); } inline ::fish_protocols::STRoomstate* packetl2c_southsea_treasurehunt_get_info_result::mutable_roomlist(int index) { return roomlist_.Mutable(index); } inline ::fish_protocols::STRoomstate* packetl2c_southsea_treasurehunt_get_info_result::add_roomlist() { return roomlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >& packetl2c_southsea_treasurehunt_get_info_result::roomlist() const { return roomlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::STRoomstate >* packetl2c_southsea_treasurehunt_get_info_result::mutable_roomlist() { return &roomlist_; } // ------------------------------------------------------------------- // packetc2l_southsea_treasurehunt_enter // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter]; inline bool packetc2l_southsea_treasurehunt_enter::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_southsea_treasurehunt_enter::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_southsea_treasurehunt_enter::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_southsea_treasurehunt_enter::clear_packet_id() { packet_id_ = 10174; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_enter::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_southsea_treasurehunt_enter::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 roomId = 2; inline bool packetc2l_southsea_treasurehunt_enter::has_roomid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_southsea_treasurehunt_enter::set_has_roomid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_southsea_treasurehunt_enter::clear_has_roomid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_southsea_treasurehunt_enter::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_enter::roomid() const { return roomid_; } inline void packetc2l_southsea_treasurehunt_enter::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 enterWay = 3; inline bool packetc2l_southsea_treasurehunt_enter::has_enterway() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_southsea_treasurehunt_enter::set_has_enterway() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_southsea_treasurehunt_enter::clear_has_enterway() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_southsea_treasurehunt_enter::clear_enterway() { enterway_ = 0; clear_has_enterway(); } inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_enter::enterway() const { return enterway_; } inline void packetc2l_southsea_treasurehunt_enter::set_enterway(::google::protobuf::int32 value) { set_has_enterway(); enterway_ = value; } // ------------------------------------------------------------------- // packetl2c_southsea_treasurehunt_enter_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result]; inline bool packetl2c_southsea_treasurehunt_enter_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_southsea_treasurehunt_enter_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_packet_id() { packet_id_ = 16167; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_enter_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_southsea_treasurehunt_enter_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 result = 2; inline bool packetl2c_southsea_treasurehunt_enter_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_southsea_treasurehunt_enter_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::result() const { return result_; } inline void packetl2c_southsea_treasurehunt_enter_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional int32 roomId = 3; inline bool packetl2c_southsea_treasurehunt_enter_result::has_roomid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_southsea_treasurehunt_enter_result::set_has_roomid() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_roomid() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::roomid() const { return roomid_; } inline void packetl2c_southsea_treasurehunt_enter_result::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 enterWay = 4; inline bool packetl2c_southsea_treasurehunt_enter_result::has_enterway() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_southsea_treasurehunt_enter_result::set_has_enterway() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_has_enterway() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_southsea_treasurehunt_enter_result::clear_enterway() { enterway_ = 0; clear_has_enterway(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_enter_result::enterway() const { return enterway_; } inline void packetl2c_southsea_treasurehunt_enter_result::set_enterway(::google::protobuf::int32 value) { set_has_enterway(); enterway_ = value; } // ------------------------------------------------------------------- // packetc2l_southsea_treasurehunt_lottery // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery]; inline bool packetc2l_southsea_treasurehunt_lottery::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_southsea_treasurehunt_lottery::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_packet_id() { packet_id_ = 10172; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_southsea_treasurehunt_lottery::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_southsea_treasurehunt_lottery::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 roomId = 2; inline bool packetc2l_southsea_treasurehunt_lottery::has_roomid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_southsea_treasurehunt_lottery::set_has_roomid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_has_roomid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_lottery::roomid() const { return roomid_; } inline void packetc2l_southsea_treasurehunt_lottery::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 enterWay = 3; inline bool packetc2l_southsea_treasurehunt_lottery::has_enterway() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_southsea_treasurehunt_lottery::set_has_enterway() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_has_enterway() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_southsea_treasurehunt_lottery::clear_enterway() { enterway_ = 0; clear_has_enterway(); } inline ::google::protobuf::int32 packetc2l_southsea_treasurehunt_lottery::enterway() const { return enterway_; } inline void packetc2l_southsea_treasurehunt_lottery::set_enterway(::google::protobuf::int32 value) { set_has_enterway(); enterway_ = value; } // ------------------------------------------------------------------- // packetl2c_southsea_treasurehunt_lottery_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result]; inline bool packetl2c_southsea_treasurehunt_lottery_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_packet_id() { packet_id_ = 16165; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_southsea_treasurehunt_lottery_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_southsea_treasurehunt_lottery_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 result = 2; inline bool packetl2c_southsea_treasurehunt_lottery_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::result() const { return result_; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional int32 roomId = 3; inline bool packetl2c_southsea_treasurehunt_lottery_result::has_roomid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_roomid() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_roomid() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::roomid() const { return roomid_; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 enterWay = 4; inline bool packetl2c_southsea_treasurehunt_lottery_result::has_enterway() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_enterway() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_enterway() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_enterway() { enterway_ = 0; clear_has_enterway(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::enterway() const { return enterway_; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_enterway(::google::protobuf::int32 value) { set_has_enterway(); enterway_ = value; } // optional int32 rewardId = 5; inline bool packetl2c_southsea_treasurehunt_lottery_result::has_rewardid() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_has_rewardid() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_has_rewardid() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_rewardid() { rewardid_ = 0; clear_has_rewardid(); } inline ::google::protobuf::int32 packetl2c_southsea_treasurehunt_lottery_result::rewardid() const { return rewardid_; } inline void packetl2c_southsea_treasurehunt_lottery_result::set_rewardid(::google::protobuf::int32 value) { set_has_rewardid(); rewardid_ = value; } // repeated .fish_protocols.msg_item rewardList = 6; inline int packetl2c_southsea_treasurehunt_lottery_result::rewardlist_size() const { return rewardlist_.size(); } inline void packetl2c_southsea_treasurehunt_lottery_result::clear_rewardlist() { rewardlist_.Clear(); } inline const ::fish_protocols::msg_item& packetl2c_southsea_treasurehunt_lottery_result::rewardlist(int index) const { return rewardlist_.Get(index); } inline ::fish_protocols::msg_item* packetl2c_southsea_treasurehunt_lottery_result::mutable_rewardlist(int index) { return rewardlist_.Mutable(index); } inline ::fish_protocols::msg_item* packetl2c_southsea_treasurehunt_lottery_result::add_rewardlist() { return rewardlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& packetl2c_southsea_treasurehunt_lottery_result::rewardlist() const { return rewardlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* packetl2c_southsea_treasurehunt_lottery_result::mutable_rewardlist() { return &rewardlist_; } // ------------------------------------------------------------------- // packetc2l_get_southsea_treasurehunt_notice // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice]; inline bool packetc2l_get_southsea_treasurehunt_notice::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_get_southsea_treasurehunt_notice::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_packet_id() { packet_id_ = 10175; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_get_southsea_treasurehunt_notice::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_get_southsea_treasurehunt_notice::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 lastId = 2; inline bool packetc2l_get_southsea_treasurehunt_notice::has_lastid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_get_southsea_treasurehunt_notice::set_has_lastid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_lastid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_lastid() { lastid_ = 0; clear_has_lastid(); } inline ::google::protobuf::int32 packetc2l_get_southsea_treasurehunt_notice::lastid() const { return lastid_; } inline void packetc2l_get_southsea_treasurehunt_notice::set_lastid(::google::protobuf::int32 value) { set_has_lastid(); lastid_ = value; } // optional int32 roomId = 3; inline bool packetc2l_get_southsea_treasurehunt_notice::has_roomid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_get_southsea_treasurehunt_notice::set_has_roomid() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_has_roomid() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_get_southsea_treasurehunt_notice::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetc2l_get_southsea_treasurehunt_notice::roomid() const { return roomid_; } inline void packetc2l_get_southsea_treasurehunt_notice::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // ------------------------------------------------------------------- // MTreasureHuntNoticeInfo // optional string nickName = 1; inline bool MTreasureHuntNoticeInfo::has_nickname() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void MTreasureHuntNoticeInfo::set_has_nickname() { _has_bits_[0] |= 0x00000001u; } inline void MTreasureHuntNoticeInfo::clear_has_nickname() { _has_bits_[0] &= ~0x00000001u; } inline void MTreasureHuntNoticeInfo::clear_nickname() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } clear_has_nickname(); } inline const ::std::string& MTreasureHuntNoticeInfo::nickname() const { return *nickname_; } inline void MTreasureHuntNoticeInfo::set_nickname(const ::std::string& value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void MTreasureHuntNoticeInfo::set_nickname(const char* value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void MTreasureHuntNoticeInfo::set_nickname(const char* value, size_t size) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(reinterpret_cast(value), size); } inline ::std::string* MTreasureHuntNoticeInfo::mutable_nickname() { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } return nickname_; } inline ::std::string* MTreasureHuntNoticeInfo::release_nickname() { clear_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { ::std::string* temp = nickname_; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } inline void MTreasureHuntNoticeInfo::set_allocated_nickname(::std::string* nickname) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (nickname) { set_has_nickname(); nickname_ = nickname; } else { clear_has_nickname(); nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } // optional int32 itemId = 2; inline bool MTreasureHuntNoticeInfo::has_itemid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void MTreasureHuntNoticeInfo::set_has_itemid() { _has_bits_[0] |= 0x00000002u; } inline void MTreasureHuntNoticeInfo::clear_has_itemid() { _has_bits_[0] &= ~0x00000002u; } inline void MTreasureHuntNoticeInfo::clear_itemid() { itemid_ = 0; clear_has_itemid(); } inline ::google::protobuf::int32 MTreasureHuntNoticeInfo::itemid() const { return itemid_; } inline void MTreasureHuntNoticeInfo::set_itemid(::google::protobuf::int32 value) { set_has_itemid(); itemid_ = value; } // optional int32 count = 3; inline bool MTreasureHuntNoticeInfo::has_count() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void MTreasureHuntNoticeInfo::set_has_count() { _has_bits_[0] |= 0x00000004u; } inline void MTreasureHuntNoticeInfo::clear_has_count() { _has_bits_[0] &= ~0x00000004u; } inline void MTreasureHuntNoticeInfo::clear_count() { count_ = 0; clear_has_count(); } inline ::google::protobuf::int32 MTreasureHuntNoticeInfo::count() const { return count_; } inline void MTreasureHuntNoticeInfo::set_count(::google::protobuf::int32 value) { set_has_count(); count_ = value; } // ------------------------------------------------------------------- // packetl2c_get_southsea_treasurehunt_notice_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result]; inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_packet_id() { packet_id_ = 16168; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_southsea_treasurehunt_notice_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_southsea_treasurehunt_notice_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 lastId = 2; inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_lastid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_lastid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_lastid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_lastid() { lastid_ = 0; clear_has_lastid(); } inline ::google::protobuf::int32 packetl2c_get_southsea_treasurehunt_notice_result::lastid() const { return lastid_; } inline void packetl2c_get_southsea_treasurehunt_notice_result::set_lastid(::google::protobuf::int32 value) { set_has_lastid(); lastid_ = value; } // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3; inline int packetl2c_get_southsea_treasurehunt_notice_result::noticelist_size() const { return noticelist_.size(); } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_noticelist() { noticelist_.Clear(); } inline const ::fish_protocols::MTreasureHuntNoticeInfo& packetl2c_get_southsea_treasurehunt_notice_result::noticelist(int index) const { return noticelist_.Get(index); } inline ::fish_protocols::MTreasureHuntNoticeInfo* packetl2c_get_southsea_treasurehunt_notice_result::mutable_noticelist(int index) { return noticelist_.Mutable(index); } inline ::fish_protocols::MTreasureHuntNoticeInfo* packetl2c_get_southsea_treasurehunt_notice_result::add_noticelist() { return noticelist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >& packetl2c_get_southsea_treasurehunt_notice_result::noticelist() const { return noticelist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::MTreasureHuntNoticeInfo >* packetl2c_get_southsea_treasurehunt_notice_result::mutable_noticelist() { return ¬icelist_; } // optional int32 roomId = 4; inline bool packetl2c_get_southsea_treasurehunt_notice_result::has_roomid() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_get_southsea_treasurehunt_notice_result::set_has_roomid() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_has_roomid() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_get_southsea_treasurehunt_notice_result::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetl2c_get_southsea_treasurehunt_notice_result::roomid() const { return roomid_; } inline void packetl2c_get_southsea_treasurehunt_notice_result::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // @@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_5fbombfairyland_2eproto__INCLUDED