// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_protocol.proto #ifndef PROTOBUF_fish_5fprotocol_2eproto__INCLUDED #define PROTOBUF_fish_5fprotocol_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_5fprotocol_2eproto(); void protobuf_AssignDesc_fish_5fprotocol_2eproto(); void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); class packetc2l_get_room_info; class msg_room_info; class packetl2c_get_room_info_result; class packetc2l_enter_table; class packetl2c_enter_table_result; class packetc2l_change_table; class packetl2c_change_table_result; class packetc2l_leave_table; class packetl2c_leave_table_result; class packetc2l_check_state; class skill_unit; class turret_unit; class wing_unit; class packetl2c_check_state_result; class packetc2l_buy_item; class packetl2c_buy_item_result; class packetc2l_use_item; class getItemsInfo; class ItemInfo; class packetl2c_use_item_result; class packetc2l_change_turret; class packetl2c_change_turret_result; class PointsRankInfo; class packetc2l_get_points_rank; class packetl2c_get_points_rank_result; class exItemInfo; class packetc2l_medium_grade_exchange; class pointsInfo; class packetl2c_medium_grade_exchange_result; class packetc2l_get_shoplist; class msg_shopitem; class packetl2c_get_shoplist_result; class packetc2l_turret_levelup; class packetl2c_turret_levelup_result; class packetl2c_player_auto_levelup; class packetl2c_give_item_result; class packetc2l_buy_func_item; class packetl2c_buy_func_item_result; class packetc2l_torpedo_exchange; class packetl2c_torpedo_exchange_result; class packetc2l_torpedo_compose; class packetl2c_torpedo_compose_result; class msg_airdropitem; class packetl2c_get_airdrop_list_result; class packetc2l_goldfish_lottery; class packetl2c_goldfish_lottery_result; class packetl2c_bc_table_finish_turntablefish_balance; class packetc2l_exchange_dimensity; class packetl2c_exchange_dimensity_result; class packetc2l_lucky_lottery; class packetl2c_lucky_lottery_result; class recordInfo; class packetc2l_syn_record_info; class packetc2l_auto_fire; class packetc2l_change_headid; class packetl2c_change_headid_result; class packetc2l_rand_turret_addition; class packetl2c_rand_turret_addition_result; class packetc2l_turret_addition_confirm; class packetl2c_turret_addition_confirm_result; class packetc2l_turret_addition_reset; class packetl2c_turret_addition_reset_result; // =================================================================== class packetc2l_get_room_info : public ::google::protobuf::Message { public: packetc2l_get_room_info(); virtual ~packetc2l_get_room_info(); packetc2l_get_room_info(const packetc2l_get_room_info& from); inline packetc2l_get_room_info& operator=(const packetc2l_get_room_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_room_info& default_instance(); void Swap(packetc2l_get_room_info* other); // implements Message ---------------------------------------------- packetc2l_get_room_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_get_room_info& from); void MergeFrom(const packetc2l_get_room_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_room_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_room_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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_get_room_info* default_instance_; }; // ------------------------------------------------------------------- class msg_room_info : public ::google::protobuf::Message { public: msg_room_info(); virtual ~msg_room_info(); msg_room_info(const msg_room_info& from); inline msg_room_info& operator=(const msg_room_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 msg_room_info& default_instance(); void Swap(msg_room_info* other); // implements Message ---------------------------------------------- msg_room_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const msg_room_info& from); void MergeFrom(const msg_room_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 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 player_count = 2; inline bool has_player_count() const; inline void clear_player_count(); static const int kPlayerCountFieldNumber = 2; inline ::google::protobuf::int32 player_count() const; inline void set_player_count(::google::protobuf::int32 value); // optional int64 jackpot = 3; inline bool has_jackpot() const; inline void clear_jackpot(); static const int kJackpotFieldNumber = 3; inline ::google::protobuf::int64 jackpot() const; inline void set_jackpot(::google::protobuf::int64 value); // optional int32 leftSecond = 4; inline bool has_leftsecond() const; inline void clear_leftsecond(); static const int kLeftSecondFieldNumber = 4; inline ::google::protobuf::int32 leftsecond() const; inline void set_leftsecond(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.msg_room_info) private: inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_player_count(); inline void clear_has_player_count(); inline void set_has_jackpot(); inline void clear_has_jackpot(); inline void set_has_leftsecond(); inline void clear_has_leftsecond(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 player_count_; ::google::protobuf::int64 jackpot_; ::google::protobuf::int32 leftsecond_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static msg_room_info* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_room_info_result : public ::google::protobuf::Message { public: packetl2c_get_room_info_result(); virtual ~packetl2c_get_room_info_result(); packetl2c_get_room_info_result(const packetl2c_get_room_info_result& from); inline packetl2c_get_room_info_result& operator=(const packetl2c_get_room_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_room_info_result& default_instance(); void Swap(packetl2c_get_room_info_result* other); // implements Message ---------------------------------------------- packetl2c_get_room_info_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_room_info_result& from); void MergeFrom(const packetl2c_get_room_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_room_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.msg_room_info rooms = 2; inline int rooms_size() const; inline void clear_rooms(); static const int kRoomsFieldNumber = 2; inline const ::fish_protocols::msg_room_info& rooms(int index) const; inline ::fish_protocols::msg_room_info* mutable_rooms(int index); inline ::fish_protocols::msg_room_info* add_rooms(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >& rooms() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >* mutable_rooms(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_room_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::msg_room_info > rooms_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_room_info_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_enter_table : public ::google::protobuf::Message { public: packetc2l_enter_table(); virtual ~packetc2l_enter_table(); packetc2l_enter_table(const packetc2l_enter_table& from); inline packetc2l_enter_table& operator=(const packetc2l_enter_table& 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_table& default_instance(); void Swap(packetc2l_enter_table* other); // implements Message ---------------------------------------------- packetc2l_enter_table* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_enter_table& from); void MergeFrom(const packetc2l_enter_table& 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_table]; 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 [default = 0]; 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); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_enter_table) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_roomid(); inline void clear_has_roomid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 roomid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_enter_table* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_enter_table_result : public ::google::protobuf::Message { public: packetl2c_enter_table_result(); virtual ~packetl2c_enter_table_result(); packetl2c_enter_table_result(const packetl2c_enter_table_result& from); inline packetl2c_enter_table_result& operator=(const packetl2c_enter_table_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_table_result& default_instance(); void Swap(packetl2c_enter_table_result* other); // implements Message ---------------------------------------------- packetl2c_enter_table_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_enter_table_result& from); void MergeFrom(const packetl2c_enter_table_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_table_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def 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 bool isRecvGemReward = 4; inline bool has_isrecvgemreward() const; inline void clear_isrecvgemreward(); static const int kIsRecvGemRewardFieldNumber = 4; inline bool isrecvgemreward() const; inline void set_isrecvgemreward(bool value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_enter_table_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_isrecvgemreward(); inline void clear_has_isrecvgemreward(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::int32 roomid_; bool isrecvgemreward_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_enter_table_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_change_table : public ::google::protobuf::Message { public: packetc2l_change_table(); virtual ~packetc2l_change_table(); packetc2l_change_table(const packetc2l_change_table& from); inline packetc2l_change_table& operator=(const packetc2l_change_table& 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_change_table& default_instance(); void Swap(packetc2l_change_table* other); // implements Message ---------------------------------------------- packetc2l_change_table* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_change_table& from); void MergeFrom(const packetc2l_change_table& 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_change_table]; 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_change_table) 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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_change_table* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_change_table_result : public ::google::protobuf::Message { public: packetl2c_change_table_result(); virtual ~packetl2c_change_table_result(); packetl2c_change_table_result(const packetl2c_change_table_result& from); inline packetl2c_change_table_result& operator=(const packetl2c_change_table_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_change_table_result& default_instance(); void Swap(packetl2c_change_table_result* other); // implements Message ---------------------------------------------- packetl2c_change_table_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_change_table_result& from); void MergeFrom(const packetl2c_change_table_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_change_table_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_table_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_change_table_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_leave_table : public ::google::protobuf::Message { public: packetc2l_leave_table(); virtual ~packetc2l_leave_table(); packetc2l_leave_table(const packetc2l_leave_table& from); inline packetc2l_leave_table& operator=(const packetc2l_leave_table& 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_leave_table& default_instance(); void Swap(packetc2l_leave_table* other); // implements Message ---------------------------------------------- packetc2l_leave_table* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_leave_table& from); void MergeFrom(const packetc2l_leave_table& 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_leave_table]; 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_leave_table) 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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_leave_table* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_leave_table_result : public ::google::protobuf::Message { public: packetl2c_leave_table_result(); virtual ~packetl2c_leave_table_result(); packetl2c_leave_table_result(const packetl2c_leave_table_result& from); inline packetl2c_leave_table_result& operator=(const packetl2c_leave_table_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_leave_table_result& default_instance(); void Swap(packetl2c_leave_table_result* other); // implements Message ---------------------------------------------- packetl2c_leave_table_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_leave_table_result& from); void MergeFrom(const packetl2c_leave_table_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_leave_table_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 int64 sync_gold = 2; inline bool has_sync_gold() const; inline void clear_sync_gold(); static const int kSyncGoldFieldNumber = 2; inline ::google::protobuf::int64 sync_gold() const; inline void set_sync_gold(::google::protobuf::int64 value); // optional int32 syncDbChip = 3; inline bool has_syncdbchip() const; inline void clear_syncdbchip(); static const int kSyncDbChipFieldNumber = 3; inline ::google::protobuf::int32 syncdbchip() const; inline void set_syncdbchip(::google::protobuf::int32 value); // optional int64 playerExp = 4; inline bool has_playerexp() const; inline void clear_playerexp(); static const int kPlayerExpFieldNumber = 4; inline ::google::protobuf::int64 playerexp() const; inline void set_playerexp(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_leave_table_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_sync_gold(); inline void clear_has_sync_gold(); inline void set_has_syncdbchip(); inline void clear_has_syncdbchip(); inline void set_has_playerexp(); inline void clear_has_playerexp(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int64 sync_gold_; int packet_id_; ::google::protobuf::int32 syncdbchip_; ::google::protobuf::int64 playerexp_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_leave_table_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_check_state : public ::google::protobuf::Message { public: packetc2l_check_state(); virtual ~packetc2l_check_state(); packetc2l_check_state(const packetc2l_check_state& from); inline packetc2l_check_state& operator=(const packetc2l_check_state& 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_check_state& default_instance(); void Swap(packetc2l_check_state* other); // implements Message ---------------------------------------------- packetc2l_check_state* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_check_state& from); void MergeFrom(const packetc2l_check_state& 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_check_state]; 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_check_state) 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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_check_state* default_instance_; }; // ------------------------------------------------------------------- class skill_unit : public ::google::protobuf::Message { public: skill_unit(); virtual ~skill_unit(); skill_unit(const skill_unit& from); inline skill_unit& operator=(const skill_unit& 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 skill_unit& default_instance(); void Swap(skill_unit* other); // implements Message ---------------------------------------------- skill_unit* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const skill_unit& from); void MergeFrom(const skill_unit& 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 skillId = 1; inline bool has_skillid() const; inline void clear_skillid(); static const int kSkillIdFieldNumber = 1; inline ::google::protobuf::int32 skillid() const; inline void set_skillid(::google::protobuf::int32 value); // optional int32 addTimes = 2; inline bool has_addtimes() const; inline void clear_addtimes(); static const int kAddTimesFieldNumber = 2; inline ::google::protobuf::int32 addtimes() const; inline void set_addtimes(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.skill_unit) private: inline void set_has_skillid(); inline void clear_has_skillid(); inline void set_has_addtimes(); inline void clear_has_addtimes(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 skillid_; ::google::protobuf::int32 addtimes_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static skill_unit* default_instance_; }; // ------------------------------------------------------------------- class turret_unit : public ::google::protobuf::Message { public: turret_unit(); virtual ~turret_unit(); turret_unit(const turret_unit& from); inline turret_unit& operator=(const turret_unit& 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 turret_unit& default_instance(); void Swap(turret_unit* other); // implements Message ---------------------------------------------- turret_unit* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const turret_unit& from); void MergeFrom(const turret_unit& 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 turretId = 1; inline bool has_turretid() const; inline void clear_turretid(); static const int kTurretIdFieldNumber = 1; inline ::google::protobuf::int32 turretid() const; inline void set_turretid(::google::protobuf::int32 value); // optional int32 additionLv = 2; inline bool has_additionlv() const; inline void clear_additionlv(); static const int kAdditionLvFieldNumber = 2; inline ::google::protobuf::int32 additionlv() const; inline void set_additionlv(::google::protobuf::int32 value); // optional int32 endTime = 3; inline bool has_endtime() const; inline void clear_endtime(); static const int kEndTimeFieldNumber = 3; inline ::google::protobuf::int32 endtime() const; inline void set_endtime(::google::protobuf::int32 value); // repeated .fish_protocols.skill_unit addtionList = 4; inline int addtionlist_size() const; inline void clear_addtionlist(); static const int kAddtionListFieldNumber = 4; inline const ::fish_protocols::skill_unit& addtionlist(int index) const; inline ::fish_protocols::skill_unit* mutable_addtionlist(int index); inline ::fish_protocols::skill_unit* add_addtionlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >& addtionlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >* mutable_addtionlist(); // @@protoc_insertion_point(class_scope:fish_protocols.turret_unit) private: inline void set_has_turretid(); inline void clear_has_turretid(); inline void set_has_additionlv(); inline void clear_has_additionlv(); inline void set_has_endtime(); inline void clear_has_endtime(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 turretid_; ::google::protobuf::int32 additionlv_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit > addtionlist_; ::google::protobuf::int32 endtime_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static turret_unit* default_instance_; }; // ------------------------------------------------------------------- class wing_unit : public ::google::protobuf::Message { public: wing_unit(); virtual ~wing_unit(); wing_unit(const wing_unit& from); inline wing_unit& operator=(const wing_unit& 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 wing_unit& default_instance(); void Swap(wing_unit* other); // implements Message ---------------------------------------------- wing_unit* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const wing_unit& from); void MergeFrom(const wing_unit& 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 wingId = 1; inline bool has_wingid() const; inline void clear_wingid(); static const int kWingIdFieldNumber = 1; inline ::google::protobuf::int32 wingid() const; inline void set_wingid(::google::protobuf::int32 value); // optional int32 additionLv = 2; inline bool has_additionlv() const; inline void clear_additionlv(); static const int kAdditionLvFieldNumber = 2; inline ::google::protobuf::int32 additionlv() const; inline void set_additionlv(::google::protobuf::int32 value); // optional int32 endTime = 3; inline bool has_endtime() const; inline void clear_endtime(); static const int kEndTimeFieldNumber = 3; inline ::google::protobuf::int32 endtime() const; inline void set_endtime(::google::protobuf::int32 value); // optional int32 randTimes = 4; inline bool has_randtimes() const; inline void clear_randtimes(); static const int kRandTimesFieldNumber = 4; inline ::google::protobuf::int32 randtimes() const; inline void set_randtimes(::google::protobuf::int32 value); // optional int32 randId = 5; inline bool has_randid() const; inline void clear_randid(); static const int kRandIdFieldNumber = 5; inline ::google::protobuf::int32 randid() const; inline void set_randid(::google::protobuf::int32 value); // repeated .fish_protocols.skill_unit addtionList = 6; inline int addtionlist_size() const; inline void clear_addtionlist(); static const int kAddtionListFieldNumber = 6; inline const ::fish_protocols::skill_unit& addtionlist(int index) const; inline ::fish_protocols::skill_unit* mutable_addtionlist(int index); inline ::fish_protocols::skill_unit* add_addtionlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >& addtionlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >* mutable_addtionlist(); // @@protoc_insertion_point(class_scope:fish_protocols.wing_unit) private: inline void set_has_wingid(); inline void clear_has_wingid(); inline void set_has_additionlv(); inline void clear_has_additionlv(); inline void set_has_endtime(); inline void clear_has_endtime(); inline void set_has_randtimes(); inline void clear_has_randtimes(); inline void set_has_randid(); inline void clear_has_randid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 wingid_; ::google::protobuf::int32 additionlv_; ::google::protobuf::int32 endtime_; ::google::protobuf::int32 randtimes_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit > addtionlist_; ::google::protobuf::int32 randid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static wing_unit* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_check_state_result : public ::google::protobuf::Message { public: packetl2c_check_state_result(); virtual ~packetl2c_check_state_result(); packetl2c_check_state_result(const packetl2c_check_state_result& from); inline packetl2c_check_state_result& operator=(const packetl2c_check_state_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_check_state_result& default_instance(); void Swap(packetl2c_check_state_result* other); // implements Message ---------------------------------------------- packetl2c_check_state_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_check_state_result& from); void MergeFrom(const packetl2c_check_state_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_check_state_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 bool is_intable = 2 [default = false]; inline bool has_is_intable() const; inline void clear_is_intable(); static const int kIsIntableFieldNumber = 2; inline bool is_intable() const; inline void set_is_intable(bool value); // repeated .fish_protocols.msg_item itemlist = 3; inline int itemlist_size() const; inline void clear_itemlist(); static const int kItemlistFieldNumber = 3; inline const ::fish_protocols::msg_item& itemlist(int index) const; inline ::fish_protocols::msg_item* mutable_itemlist(int index); inline ::fish_protocols::msg_item* add_itemlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& itemlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* mutable_itemlist(); // repeated .fish_protocols.turret_unit turretlist = 4; inline int turretlist_size() const; inline void clear_turretlist(); static const int kTurretlistFieldNumber = 4; inline const ::fish_protocols::turret_unit& turretlist(int index) const; inline ::fish_protocols::turret_unit* mutable_turretlist(int index); inline ::fish_protocols::turret_unit* add_turretlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >& turretlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >* mutable_turretlist(); // repeated .fish_protocols.wing_unit winglist = 5; inline int winglist_size() const; inline void clear_winglist(); static const int kWinglistFieldNumber = 5; inline const ::fish_protocols::wing_unit& winglist(int index) const; inline ::fish_protocols::wing_unit* mutable_winglist(int index); inline ::fish_protocols::wing_unit* add_winglist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >& winglist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >* mutable_winglist(); // optional int32 turret_id = 6; inline bool has_turret_id() const; inline void clear_turret_id(); static const int kTurretIdFieldNumber = 6; inline ::google::protobuf::int32 turret_id() const; inline void set_turret_id(::google::protobuf::int32 value); // optional int32 wing_id = 7; inline bool has_wing_id() const; inline void clear_wing_id(); static const int kWingIdFieldNumber = 7; inline ::google::protobuf::int32 wing_id() const; inline void set_wing_id(::google::protobuf::int32 value); // optional int32 headId = 8; inline bool has_headid() const; inline void clear_headid(); static const int kHeadIdFieldNumber = 8; inline ::google::protobuf::int32 headid() const; inline void set_headid(::google::protobuf::int32 value); // optional int32 frameId = 9; inline bool has_frameid() const; inline void clear_frameid(); static const int kFrameIdFieldNumber = 9; inline ::google::protobuf::int32 frameid() const; inline void set_frameid(::google::protobuf::int32 value); // optional int32 playerlvl = 10; inline bool has_playerlvl() const; inline void clear_playerlvl(); static const int kPlayerlvlFieldNumber = 10; inline ::google::protobuf::int32 playerlvl() const; inline void set_playerlvl(::google::protobuf::int32 value); // optional int32 turretlvl = 11; inline bool has_turretlvl() const; inline void clear_turretlvl(); static const int kTurretlvlFieldNumber = 11; inline ::google::protobuf::int32 turretlvl() const; inline void set_turretlvl(::google::protobuf::int32 value); // optional int64 gameexp = 12; inline bool has_gameexp() const; inline void clear_gameexp(); static const int kGameexpFieldNumber = 12; inline ::google::protobuf::int64 gameexp() const; inline void set_gameexp(::google::protobuf::int64 value); // optional int32 dimensity = 13; inline bool has_dimensity() const; inline void clear_dimensity(); static const int kDimensityFieldNumber = 13; inline ::google::protobuf::int32 dimensity() const; inline void set_dimensity(::google::protobuf::int32 value); // optional int32 roomId = 14; inline bool has_roomid() const; inline void clear_roomid(); static const int kRoomIdFieldNumber = 14; inline ::google::protobuf::int32 roomid() const; inline void set_roomid(::google::protobuf::int32 value); // optional int32 kill_goldfish_count = 15; inline bool has_kill_goldfish_count() const; inline void clear_kill_goldfish_count(); static const int kKillGoldfishCountFieldNumber = 15; inline ::google::protobuf::int32 kill_goldfish_count() const; inline void set_kill_goldfish_count(::google::protobuf::int32 value); // optional int32 goldfish_pool = 16; inline bool has_goldfish_pool() const; inline void clear_goldfish_pool(); static const int kGoldfishPoolFieldNumber = 16; inline ::google::protobuf::int32 goldfish_pool() const; inline void set_goldfish_pool(::google::protobuf::int32 value); // optional int32 goldfish_lottery_count = 17; inline bool has_goldfish_lottery_count() const; inline void clear_goldfish_lottery_count(); static const int kGoldfishLotteryCountFieldNumber = 17; inline ::google::protobuf::int32 goldfish_lottery_count() const; inline void set_goldfish_lottery_count(::google::protobuf::int32 value); // optional int32 dailyAdTimes = 18; inline bool has_dailyadtimes() const; inline void clear_dailyadtimes(); static const int kDailyAdTimesFieldNumber = 18; inline ::google::protobuf::int32 dailyadtimes() const; inline void set_dailyadtimes(::google::protobuf::int32 value); // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 19; inline int redenvlopeinfos_size() const; inline void clear_redenvlopeinfos(); static const int kRedEnvlopeInfosFieldNumber = 19; inline const ::fish_protocols::redEnvlopeInfo& redenvlopeinfos(int index) const; inline ::fish_protocols::redEnvlopeInfo* mutable_redenvlopeinfos(int index); inline ::fish_protocols::redEnvlopeInfo* add_redenvlopeinfos(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >& redenvlopeinfos() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >* mutable_redenvlopeinfos(); // optional int32 autofirelefttime = 20; inline bool has_autofirelefttime() const; inline void clear_autofirelefttime(); static const int kAutofirelefttimeFieldNumber = 20; inline ::google::protobuf::int32 autofirelefttime() const; inline void set_autofirelefttime(::google::protobuf::int32 value); // optional int32 canReceiveTommorrowBuffCount = 21; inline bool has_canreceivetommorrowbuffcount() const; inline void clear_canreceivetommorrowbuffcount(); static const int kCanReceiveTommorrowBuffCountFieldNumber = 21; inline ::google::protobuf::int32 canreceivetommorrowbuffcount() const; inline void set_canreceivetommorrowbuffcount(::google::protobuf::int32 value); // optional bool canReceiveTommorrowBuffToday = 22; inline bool has_canreceivetommorrowbufftoday() const; inline void clear_canreceivetommorrowbufftoday(); static const int kCanReceiveTommorrowBuffTodayFieldNumber = 22; inline bool canreceivetommorrowbufftoday() const; inline void set_canreceivetommorrowbufftoday(bool value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_check_state_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_is_intable(); inline void clear_has_is_intable(); inline void set_has_turret_id(); inline void clear_has_turret_id(); inline void set_has_wing_id(); inline void clear_has_wing_id(); inline void set_has_headid(); inline void clear_has_headid(); inline void set_has_frameid(); inline void clear_has_frameid(); inline void set_has_playerlvl(); inline void clear_has_playerlvl(); inline void set_has_turretlvl(); inline void clear_has_turretlvl(); inline void set_has_gameexp(); inline void clear_has_gameexp(); inline void set_has_dimensity(); inline void clear_has_dimensity(); inline void set_has_roomid(); inline void clear_has_roomid(); inline void set_has_kill_goldfish_count(); inline void clear_has_kill_goldfish_count(); inline void set_has_goldfish_pool(); inline void clear_has_goldfish_pool(); inline void set_has_goldfish_lottery_count(); inline void clear_has_goldfish_lottery_count(); inline void set_has_dailyadtimes(); inline void clear_has_dailyadtimes(); inline void set_has_autofirelefttime(); inline void clear_has_autofirelefttime(); inline void set_has_canreceivetommorrowbuffcount(); inline void clear_has_canreceivetommorrowbuffcount(); inline void set_has_canreceivetommorrowbufftoday(); inline void clear_has_canreceivetommorrowbufftoday(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > itemlist_; int packet_id_; ::google::protobuf::int32 turret_id_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit > turretlist_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit > winglist_; ::google::protobuf::int32 wing_id_; ::google::protobuf::int32 headid_; ::google::protobuf::int32 frameid_; ::google::protobuf::int32 playerlvl_; ::google::protobuf::int32 turretlvl_; bool is_intable_; bool canreceivetommorrowbufftoday_; ::google::protobuf::int64 gameexp_; ::google::protobuf::int32 dimensity_; ::google::protobuf::int32 roomid_; ::google::protobuf::int32 kill_goldfish_count_; ::google::protobuf::int32 goldfish_pool_; ::google::protobuf::int32 goldfish_lottery_count_; ::google::protobuf::int32 dailyadtimes_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo > redenvlopeinfos_; ::google::protobuf::int32 autofirelefttime_; ::google::protobuf::int32 canreceivetommorrowbuffcount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(22 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_check_state_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_buy_item : public ::google::protobuf::Message { public: packetc2l_buy_item(); virtual ~packetc2l_buy_item(); packetc2l_buy_item(const packetc2l_buy_item& from); inline packetc2l_buy_item& operator=(const packetc2l_buy_item& 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_buy_item& default_instance(); void Swap(packetc2l_buy_item* other); // implements Message ---------------------------------------------- packetc2l_buy_item* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_buy_item& from); void MergeFrom(const packetc2l_buy_item& 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_buy_item]; 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 bool isshop = 2; inline bool has_isshop() const; inline void clear_isshop(); static const int kIsshopFieldNumber = 2; inline bool isshop() const; inline void set_isshop(bool value); // optional int32 shop_id = 3; inline bool has_shop_id() const; inline void clear_shop_id(); static const int kShopIdFieldNumber = 3; inline ::google::protobuf::int32 shop_id() const; inline void set_shop_id(::google::protobuf::int32 value); // optional int32 shop_count = 4 [default = 1]; inline bool has_shop_count() const; inline void clear_shop_count(); static const int kShopCountFieldNumber = 4; inline ::google::protobuf::int32 shop_count() const; inline void set_shop_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_buy_item) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_isshop(); inline void clear_has_isshop(); inline void set_has_shop_id(); inline void clear_has_shop_id(); inline void set_has_shop_count(); inline void clear_has_shop_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool isshop_; ::google::protobuf::int32 shop_id_; ::google::protobuf::int32 shop_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_buy_item* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_buy_item_result : public ::google::protobuf::Message { public: packetl2c_buy_item_result(); virtual ~packetl2c_buy_item_result(); packetl2c_buy_item_result(const packetl2c_buy_item_result& from); inline packetl2c_buy_item_result& operator=(const packetl2c_buy_item_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_buy_item_result& default_instance(); void Swap(packetl2c_buy_item_result* other); // implements Message ---------------------------------------------- packetl2c_buy_item_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_buy_item_result& from); void MergeFrom(const packetl2c_buy_item_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_buy_item_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 shop_id = 2; inline bool has_shop_id() const; inline void clear_shop_id(); static const int kShopIdFieldNumber = 2; inline ::google::protobuf::int32 shop_id() const; inline void set_shop_id(::google::protobuf::int32 value); // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 shop_count = 4 [default = 1]; inline bool has_shop_count() const; inline void clear_shop_count(); static const int kShopCountFieldNumber = 4; inline ::google::protobuf::int32 shop_count() const; inline void set_shop_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_buy_item_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_shop_id(); inline void clear_has_shop_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_shop_count(); inline void clear_has_shop_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 shop_id_; int result_; ::google::protobuf::int32 shop_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_buy_item_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_use_item : public ::google::protobuf::Message { public: packetc2l_use_item(); virtual ~packetc2l_use_item(); packetc2l_use_item(const packetc2l_use_item& from); inline packetc2l_use_item& operator=(const packetc2l_use_item& 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_use_item& default_instance(); void Swap(packetc2l_use_item* other); // implements Message ---------------------------------------------- packetc2l_use_item* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_use_item& from); void MergeFrom(const packetc2l_use_item& 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_use_item]; 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 item_id = 2; inline bool has_item_id() const; inline void clear_item_id(); static const int kItemIdFieldNumber = 2; inline ::google::protobuf::int32 item_id() const; inline void set_item_id(::google::protobuf::int32 value); // optional int32 whereUse = 3; inline bool has_whereuse() const; inline void clear_whereuse(); static const int kWhereUseFieldNumber = 3; inline ::google::protobuf::int32 whereuse() const; inline void set_whereuse(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_use_item) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_item_id(); inline void clear_has_item_id(); inline void set_has_whereuse(); inline void clear_has_whereuse(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 item_id_; ::google::protobuf::int32 whereuse_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_use_item* default_instance_; }; // ------------------------------------------------------------------- class getItemsInfo : public ::google::protobuf::Message { public: getItemsInfo(); virtual ~getItemsInfo(); getItemsInfo(const getItemsInfo& from); inline getItemsInfo& operator=(const getItemsInfo& 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 getItemsInfo& default_instance(); void Swap(getItemsInfo* other); // implements Message ---------------------------------------------- getItemsInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const getItemsInfo& from); void MergeFrom(const getItemsInfo& 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 itemid = 8; inline bool has_itemid() const; inline void clear_itemid(); static const int kItemidFieldNumber = 8; inline ::google::protobuf::int32 itemid() const; inline void set_itemid(::google::protobuf::int32 value); // optional int32 itemcount = 9; inline bool has_itemcount() const; inline void clear_itemcount(); static const int kItemcountFieldNumber = 9; inline ::google::protobuf::int32 itemcount() const; inline void set_itemcount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.getItemsInfo) private: inline void set_has_itemid(); inline void clear_has_itemid(); inline void set_has_itemcount(); inline void clear_has_itemcount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 itemid_; ::google::protobuf::int32 itemcount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static getItemsInfo* default_instance_; }; // ------------------------------------------------------------------- class ItemInfo : public ::google::protobuf::Message { public: ItemInfo(); virtual ~ItemInfo(); ItemInfo(const ItemInfo& from); inline ItemInfo& operator=(const ItemInfo& 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 ItemInfo& default_instance(); void Swap(ItemInfo* other); // implements Message ---------------------------------------------- ItemInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const ItemInfo& from); void MergeFrom(const ItemInfo& 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 itemId = 1; inline bool has_itemid() const; inline void clear_itemid(); static const int kItemIdFieldNumber = 1; inline ::google::protobuf::int32 itemid() const; inline void set_itemid(::google::protobuf::int32 value); // optional int32 count = 2; inline bool has_count() const; inline void clear_count(); static const int kCountFieldNumber = 2; inline ::google::protobuf::int32 count() const; inline void set_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.ItemInfo) private: 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_; ::google::protobuf::int32 itemid_; ::google::protobuf::int32 count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static ItemInfo* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_use_item_result : public ::google::protobuf::Message { public: packetl2c_use_item_result(); virtual ~packetl2c_use_item_result(); packetl2c_use_item_result(const packetl2c_use_item_result& from); inline packetl2c_use_item_result& operator=(const packetl2c_use_item_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_use_item_result& default_instance(); void Swap(packetl2c_use_item_result* other); // implements Message ---------------------------------------------- packetl2c_use_item_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_use_item_result& from); void MergeFrom(const packetl2c_use_item_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_use_item_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 pid = 2; inline bool has_pid() const; inline void clear_pid(); static const int kPidFieldNumber = 2; inline ::google::protobuf::int32 pid() const; inline void set_pid(::google::protobuf::int32 value); // optional int32 item_id = 3; inline bool has_item_id() const; inline void clear_item_id(); static const int kItemIdFieldNumber = 3; inline ::google::protobuf::int32 item_id() const; inline void set_item_id(::google::protobuf::int32 value); // optional .msg_type_def.e_msg_result_def result = 4 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 4; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 item_count = 5 [default = 1]; inline bool has_item_count() const; inline void clear_item_count(); static const int kItemCountFieldNumber = 5; inline ::google::protobuf::int32 item_count() const; inline void set_item_count(::google::protobuf::int32 value); // optional int32 whereUse = 6; inline bool has_whereuse() const; inline void clear_whereuse(); static const int kWhereUseFieldNumber = 6; inline ::google::protobuf::int32 whereuse() const; inline void set_whereuse(::google::protobuf::int32 value); // optional int32 score = 7; inline bool has_score() const; inline void clear_score(); static const int kScoreFieldNumber = 7; inline ::google::protobuf::int32 score() const; inline void set_score(::google::protobuf::int32 value); // repeated .fish_protocols.ItemInfo items = 8; inline int items_size() const; inline void clear_items(); static const int kItemsFieldNumber = 8; inline const ::fish_protocols::ItemInfo& items(int index) const; inline ::fish_protocols::ItemInfo* mutable_items(int index); inline ::fish_protocols::ItemInfo* add_items(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >& items() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >* mutable_items(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_use_item_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_pid(); inline void clear_has_pid(); inline void set_has_item_id(); inline void clear_has_item_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_item_count(); inline void clear_has_item_count(); inline void set_has_whereuse(); inline void clear_has_whereuse(); inline void set_has_score(); inline void clear_has_score(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 pid_; ::google::protobuf::int32 item_id_; int result_; ::google::protobuf::int32 item_count_; ::google::protobuf::int32 whereuse_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo > items_; ::google::protobuf::int32 score_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_use_item_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_change_turret : public ::google::protobuf::Message { public: packetc2l_change_turret(); virtual ~packetc2l_change_turret(); packetc2l_change_turret(const packetc2l_change_turret& from); inline packetc2l_change_turret& operator=(const packetc2l_change_turret& 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_change_turret& default_instance(); void Swap(packetc2l_change_turret* other); // implements Message ---------------------------------------------- packetc2l_change_turret* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_change_turret& from); void MergeFrom(const packetc2l_change_turret& 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_change_turret]; 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 turret_id = 2; inline bool has_turret_id() const; inline void clear_turret_id(); static const int kTurretIdFieldNumber = 2; inline ::google::protobuf::int32 turret_id() const; inline void set_turret_id(::google::protobuf::int32 value); // optional int32 wing_id = 3; inline bool has_wing_id() const; inline void clear_wing_id(); static const int kWingIdFieldNumber = 3; inline ::google::protobuf::int32 wing_id() const; inline void set_wing_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_change_turret) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_turret_id(); inline void clear_has_turret_id(); inline void set_has_wing_id(); inline void clear_has_wing_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 turret_id_; ::google::protobuf::int32 wing_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_change_turret* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_change_turret_result : public ::google::protobuf::Message { public: packetl2c_change_turret_result(); virtual ~packetl2c_change_turret_result(); packetl2c_change_turret_result(const packetl2c_change_turret_result& from); inline packetl2c_change_turret_result& operator=(const packetl2c_change_turret_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_change_turret_result& default_instance(); void Swap(packetl2c_change_turret_result* other); // implements Message ---------------------------------------------- packetl2c_change_turret_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_change_turret_result& from); void MergeFrom(const packetl2c_change_turret_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_change_turret_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 player_id = 3; inline bool has_player_id() const; inline void clear_player_id(); static const int kPlayerIdFieldNumber = 3; inline ::google::protobuf::int32 player_id() const; inline void set_player_id(::google::protobuf::int32 value); // optional int32 turret_id = 4; inline bool has_turret_id() const; inline void clear_turret_id(); static const int kTurretIdFieldNumber = 4; inline ::google::protobuf::int32 turret_id() const; inline void set_turret_id(::google::protobuf::int32 value); // optional int32 turret_lv = 5; inline bool has_turret_lv() const; inline void clear_turret_lv(); static const int kTurretLvFieldNumber = 5; inline ::google::protobuf::int32 turret_lv() const; inline void set_turret_lv(::google::protobuf::int32 value); // optional int32 wing_id = 6; inline bool has_wing_id() const; inline void clear_wing_id(); static const int kWingIdFieldNumber = 6; inline ::google::protobuf::int32 wing_id() const; inline void set_wing_id(::google::protobuf::int32 value); // optional int32 wing_lv = 7; inline bool has_wing_lv() const; inline void clear_wing_lv(); static const int kWingLvFieldNumber = 7; inline ::google::protobuf::int32 wing_lv() const; inline void set_wing_lv(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_turret_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_player_id(); inline void clear_has_player_id(); inline void set_has_turret_id(); inline void clear_has_turret_id(); inline void set_has_turret_lv(); inline void clear_has_turret_lv(); inline void set_has_wing_id(); inline void clear_has_wing_id(); inline void set_has_wing_lv(); inline void clear_has_wing_lv(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::int32 player_id_; ::google::protobuf::int32 turret_id_; ::google::protobuf::int32 turret_lv_; ::google::protobuf::int32 wing_id_; ::google::protobuf::int32 wing_lv_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_change_turret_result* default_instance_; }; // ------------------------------------------------------------------- class PointsRankInfo : public ::google::protobuf::Message { public: PointsRankInfo(); virtual ~PointsRankInfo(); PointsRankInfo(const PointsRankInfo& from); inline PointsRankInfo& operator=(const PointsRankInfo& 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 PointsRankInfo& default_instance(); void Swap(PointsRankInfo* other); // implements Message ---------------------------------------------- PointsRankInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const PointsRankInfo& from); void MergeFrom(const PointsRankInfo& 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 rank = 1; inline bool has_rank() const; inline void clear_rank(); static const int kRankFieldNumber = 1; inline ::google::protobuf::int32 rank() const; inline void set_rank(::google::protobuf::int32 value); // optional int32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::int32 playerid() const; inline void set_playerid(::google::protobuf::int32 value); // optional string nickName = 3; inline bool has_nickname() const; inline void clear_nickname(); static const int kNickNameFieldNumber = 3; 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 int64 points = 4; inline bool has_points() const; inline void clear_points(); static const int kPointsFieldNumber = 4; inline ::google::protobuf::int64 points() const; inline void set_points(::google::protobuf::int64 value); // optional int32 singleMax = 5; inline bool has_singlemax() const; inline void clear_singlemax(); static const int kSingleMaxFieldNumber = 5; inline ::google::protobuf::int32 singlemax() const; inline void set_singlemax(::google::protobuf::int32 value); // optional int32 viplv = 6; inline bool has_viplv() const; inline void clear_viplv(); static const int kViplvFieldNumber = 6; inline ::google::protobuf::int32 viplv() const; inline void set_viplv(::google::protobuf::int32 value); // optional int32 headid = 7; inline bool has_headid() const; inline void clear_headid(); static const int kHeadidFieldNumber = 7; inline ::google::protobuf::int32 headid() const; inline void set_headid(::google::protobuf::int32 value); // optional int32 frameid = 8; inline bool has_frameid() const; inline void clear_frameid(); static const int kFrameidFieldNumber = 8; inline ::google::protobuf::int32 frameid() const; inline void set_frameid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.PointsRankInfo) private: inline void set_has_rank(); inline void clear_has_rank(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_nickname(); inline void clear_has_nickname(); inline void set_has_points(); inline void clear_has_points(); inline void set_has_singlemax(); inline void clear_has_singlemax(); inline void set_has_viplv(); inline void clear_has_viplv(); inline void set_has_headid(); inline void clear_has_headid(); inline void set_has_frameid(); inline void clear_has_frameid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 rank_; ::google::protobuf::int32 playerid_; ::std::string* nickname_; ::google::protobuf::int64 points_; ::google::protobuf::int32 singlemax_; ::google::protobuf::int32 viplv_; ::google::protobuf::int32 headid_; ::google::protobuf::int32 frameid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static PointsRankInfo* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_get_points_rank : public ::google::protobuf::Message { public: packetc2l_get_points_rank(); virtual ~packetc2l_get_points_rank(); packetc2l_get_points_rank(const packetc2l_get_points_rank& from); inline packetc2l_get_points_rank& operator=(const packetc2l_get_points_rank& 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_points_rank& default_instance(); void Swap(packetc2l_get_points_rank* other); // implements Message ---------------------------------------------- packetc2l_get_points_rank* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_get_points_rank& from); void MergeFrom(const packetc2l_get_points_rank& 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_points_rank]; 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_points_rank) 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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_get_points_rank* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_points_rank_result : public ::google::protobuf::Message { public: packetl2c_get_points_rank_result(); virtual ~packetl2c_get_points_rank_result(); packetl2c_get_points_rank_result(const packetl2c_get_points_rank_result& from); inline packetl2c_get_points_rank_result& operator=(const packetl2c_get_points_rank_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_points_rank_result& default_instance(); void Swap(packetl2c_get_points_rank_result* other); // implements Message ---------------------------------------------- packetl2c_get_points_rank_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_points_rank_result& from); void MergeFrom(const packetl2c_get_points_rank_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_points_rank_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 int64 mypoint = 2; inline bool has_mypoint() const; inline void clear_mypoint(); static const int kMypointFieldNumber = 2; inline ::google::protobuf::int64 mypoint() const; inline void set_mypoint(::google::protobuf::int64 value); // optional int32 mysinglepoint = 3; inline bool has_mysinglepoint() const; inline void clear_mysinglepoint(); static const int kMysinglepointFieldNumber = 3; inline ::google::protobuf::int32 mysinglepoint() const; inline void set_mysinglepoint(::google::protobuf::int32 value); // repeated .fish_protocols.PointsRankInfo PointRankList = 4; inline int pointranklist_size() const; inline void clear_pointranklist(); static const int kPointRankListFieldNumber = 4; inline const ::fish_protocols::PointsRankInfo& pointranklist(int index) const; inline ::fish_protocols::PointsRankInfo* mutable_pointranklist(int index); inline ::fish_protocols::PointsRankInfo* add_pointranklist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >& pointranklist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >* mutable_pointranklist(); // repeated .fish_protocols.PointsRankInfo LuckyRankList = 5; inline int luckyranklist_size() const; inline void clear_luckyranklist(); static const int kLuckyRankListFieldNumber = 5; inline const ::fish_protocols::PointsRankInfo& luckyranklist(int index) const; inline ::fish_protocols::PointsRankInfo* mutable_luckyranklist(int index); inline ::fish_protocols::PointsRankInfo* add_luckyranklist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >& luckyranklist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >* mutable_luckyranklist(); // repeated int32 PointThresholdvalue = 6; inline int pointthresholdvalue_size() const; inline void clear_pointthresholdvalue(); static const int kPointThresholdvalueFieldNumber = 6; inline ::google::protobuf::int32 pointthresholdvalue(int index) const; inline void set_pointthresholdvalue(int index, ::google::protobuf::int32 value); inline void add_pointthresholdvalue(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& pointthresholdvalue() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_pointthresholdvalue(); // repeated int32 luckyThresholdvalue = 7; inline int luckythresholdvalue_size() const; inline void clear_luckythresholdvalue(); static const int kLuckyThresholdvalueFieldNumber = 7; inline ::google::protobuf::int32 luckythresholdvalue(int index) const; inline void set_luckythresholdvalue(int index, ::google::protobuf::int32 value); inline void add_luckythresholdvalue(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& luckythresholdvalue() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_luckythresholdvalue(); // optional int64 myPointRank = 8; inline bool has_mypointrank() const; inline void clear_mypointrank(); static const int kMyPointRankFieldNumber = 8; inline ::google::protobuf::int64 mypointrank() const; inline void set_mypointrank(::google::protobuf::int64 value); // optional int64 myLuckyRank = 9; inline bool has_myluckyrank() const; inline void clear_myluckyrank(); static const int kMyLuckyRankFieldNumber = 9; inline ::google::protobuf::int64 myluckyrank() const; inline void set_myluckyrank(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_points_rank_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_mypoint(); inline void clear_has_mypoint(); inline void set_has_mysinglepoint(); inline void clear_has_mysinglepoint(); inline void set_has_mypointrank(); inline void clear_has_mypointrank(); inline void set_has_myluckyrank(); inline void clear_has_myluckyrank(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int64 mypoint_; int packet_id_; ::google::protobuf::int32 mysinglepoint_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo > pointranklist_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo > luckyranklist_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pointthresholdvalue_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > luckythresholdvalue_; ::google::protobuf::int64 mypointrank_; ::google::protobuf::int64 myluckyrank_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_points_rank_result* default_instance_; }; // ------------------------------------------------------------------- class exItemInfo : public ::google::protobuf::Message { public: exItemInfo(); virtual ~exItemInfo(); exItemInfo(const exItemInfo& from); inline exItemInfo& operator=(const exItemInfo& 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 exItemInfo& default_instance(); void Swap(exItemInfo* other); // implements Message ---------------------------------------------- exItemInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const exItemInfo& from); void MergeFrom(const exItemInfo& 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 ex_item_id = 1; inline bool has_ex_item_id() const; inline void clear_ex_item_id(); static const int kExItemIdFieldNumber = 1; inline ::google::protobuf::int32 ex_item_id() const; inline void set_ex_item_id(::google::protobuf::int32 value); // optional int32 ex_item_count = 2; inline bool has_ex_item_count() const; inline void clear_ex_item_count(); static const int kExItemCountFieldNumber = 2; inline ::google::protobuf::int32 ex_item_count() const; inline void set_ex_item_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.exItemInfo) private: inline void set_has_ex_item_id(); inline void clear_has_ex_item_id(); inline void set_has_ex_item_count(); inline void clear_has_ex_item_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 ex_item_id_; ::google::protobuf::int32 ex_item_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static exItemInfo* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_medium_grade_exchange : public ::google::protobuf::Message { public: packetc2l_medium_grade_exchange(); virtual ~packetc2l_medium_grade_exchange(); packetc2l_medium_grade_exchange(const packetc2l_medium_grade_exchange& from); inline packetc2l_medium_grade_exchange& operator=(const packetc2l_medium_grade_exchange& 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_medium_grade_exchange& default_instance(); void Swap(packetc2l_medium_grade_exchange* other); // implements Message ---------------------------------------------- packetc2l_medium_grade_exchange* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_medium_grade_exchange& from); void MergeFrom(const packetc2l_medium_grade_exchange& 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_medium_grade_exchange]; 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 exchange_id = 2; inline bool has_exchange_id() const; inline void clear_exchange_id(); static const int kExchangeIdFieldNumber = 2; inline ::google::protobuf::int32 exchange_id() const; inline void set_exchange_id(::google::protobuf::int32 value); // optional int32 ex_reward_id = 3; inline bool has_ex_reward_id() const; inline void clear_ex_reward_id(); static const int kExRewardIdFieldNumber = 3; inline ::google::protobuf::int32 ex_reward_id() const; inline void set_ex_reward_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_medium_grade_exchange) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_exchange_id(); inline void clear_has_exchange_id(); inline void set_has_ex_reward_id(); inline void clear_has_ex_reward_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 exchange_id_; ::google::protobuf::int32 ex_reward_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_medium_grade_exchange* default_instance_; }; // ------------------------------------------------------------------- class pointsInfo : public ::google::protobuf::Message { public: pointsInfo(); virtual ~pointsInfo(); pointsInfo(const pointsInfo& from); inline pointsInfo& operator=(const pointsInfo& 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 pointsInfo& default_instance(); void Swap(pointsInfo* other); // implements Message ---------------------------------------------- pointsInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const pointsInfo& from); void MergeFrom(const pointsInfo& 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 points = 1; inline bool has_points() const; inline void clear_points(); static const int kPointsFieldNumber = 1; inline ::google::protobuf::int32 points() const; inline void set_points(::google::protobuf::int32 value); // optional int32 pointsEx = 2; inline bool has_pointsex() const; inline void clear_pointsex(); static const int kPointsExFieldNumber = 2; inline ::google::protobuf::int32 pointsex() const; inline void set_pointsex(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.pointsInfo) private: inline void set_has_points(); inline void clear_has_points(); inline void set_has_pointsex(); inline void clear_has_pointsex(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 points_; ::google::protobuf::int32 pointsex_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static pointsInfo* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_medium_grade_exchange_result : public ::google::protobuf::Message { public: packetl2c_medium_grade_exchange_result(); virtual ~packetl2c_medium_grade_exchange_result(); packetl2c_medium_grade_exchange_result(const packetl2c_medium_grade_exchange_result& from); inline packetl2c_medium_grade_exchange_result& operator=(const packetl2c_medium_grade_exchange_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_medium_grade_exchange_result& default_instance(); void Swap(packetl2c_medium_grade_exchange_result* other); // implements Message ---------------------------------------------- packetl2c_medium_grade_exchange_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_medium_grade_exchange_result& from); void MergeFrom(const packetl2c_medium_grade_exchange_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_medium_grade_exchange_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // repeated int32 exchange_id = 3; inline int exchange_id_size() const; inline void clear_exchange_id(); static const int kExchangeIdFieldNumber = 3; inline ::google::protobuf::int32 exchange_id(int index) const; inline void set_exchange_id(int index, ::google::protobuf::int32 value); inline void add_exchange_id(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& exchange_id() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_exchange_id(); // repeated .fish_protocols.exItemInfo ex_item = 4; inline int ex_item_size() const; inline void clear_ex_item(); static const int kExItemFieldNumber = 4; inline const ::fish_protocols::exItemInfo& ex_item(int index) const; inline ::fish_protocols::exItemInfo* mutable_ex_item(int index); inline ::fish_protocols::exItemInfo* add_ex_item(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >& ex_item() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >* mutable_ex_item(); // repeated .fish_protocols.pointsInfo points = 5; inline int points_size() const; inline void clear_points(); static const int kPointsFieldNumber = 5; inline const ::fish_protocols::pointsInfo& points(int index) const; inline ::fish_protocols::pointsInfo* mutable_points(int index); inline ::fish_protocols::pointsInfo* add_points(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >& points() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >* mutable_points(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_medium_grade_exchange_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > exchange_id_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo > ex_item_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo > points_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_medium_grade_exchange_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_get_shoplist : public ::google::protobuf::Message { public: packetc2l_get_shoplist(); virtual ~packetc2l_get_shoplist(); packetc2l_get_shoplist(const packetc2l_get_shoplist& from); inline packetc2l_get_shoplist& operator=(const packetc2l_get_shoplist& 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_shoplist& default_instance(); void Swap(packetc2l_get_shoplist* other); // implements Message ---------------------------------------------- packetc2l_get_shoplist* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_get_shoplist& from); void MergeFrom(const packetc2l_get_shoplist& 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_shoplist]; 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_shoplist) 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_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_get_shoplist* default_instance_; }; // ------------------------------------------------------------------- class msg_shopitem : public ::google::protobuf::Message { public: msg_shopitem(); virtual ~msg_shopitem(); msg_shopitem(const msg_shopitem& from); inline msg_shopitem& operator=(const msg_shopitem& 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 msg_shopitem& default_instance(); void Swap(msg_shopitem* other); // implements Message ---------------------------------------------- msg_shopitem* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const msg_shopitem& from); void MergeFrom(const msg_shopitem& 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 shop_id = 1; inline bool has_shop_id() const; inline void clear_shop_id(); static const int kShopIdFieldNumber = 1; inline ::google::protobuf::int32 shop_id() const; inline void set_shop_id(::google::protobuf::int32 value); // optional int32 item_id = 2; inline bool has_item_id() const; inline void clear_item_id(); static const int kItemIdFieldNumber = 2; inline ::google::protobuf::int32 item_id() const; inline void set_item_id(::google::protobuf::int32 value); // optional int32 item_count = 3; inline bool has_item_count() const; inline void clear_item_count(); static const int kItemCountFieldNumber = 3; inline ::google::protobuf::int32 item_count() const; inline void set_item_count(::google::protobuf::int32 value); // optional int32 consume_type = 4; inline bool has_consume_type() const; inline void clear_consume_type(); static const int kConsumeTypeFieldNumber = 4; inline ::google::protobuf::int32 consume_type() const; inline void set_consume_type(::google::protobuf::int32 value); // optional int32 consume_count = 5; inline bool has_consume_count() const; inline void clear_consume_count(); static const int kConsumeCountFieldNumber = 5; inline ::google::protobuf::int32 consume_count() const; inline void set_consume_count(::google::protobuf::int32 value); // optional int32 show_type = 6; inline bool has_show_type() const; inline void clear_show_type(); static const int kShowTypeFieldNumber = 6; inline ::google::protobuf::int32 show_type() const; inline void set_show_type(::google::protobuf::int32 value); // optional int32 need_vip = 7; inline bool has_need_vip() const; inline void clear_need_vip(); static const int kNeedVipFieldNumber = 7; inline ::google::protobuf::int32 need_vip() const; inline void set_need_vip(::google::protobuf::int32 value); // optional int32 show_tab = 8; inline bool has_show_tab() const; inline void clear_show_tab(); static const int kShowTabFieldNumber = 8; inline ::google::protobuf::int32 show_tab() const; inline void set_show_tab(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.msg_shopitem) private: inline void set_has_shop_id(); inline void clear_has_shop_id(); inline void set_has_item_id(); inline void clear_has_item_id(); inline void set_has_item_count(); inline void clear_has_item_count(); inline void set_has_consume_type(); inline void clear_has_consume_type(); inline void set_has_consume_count(); inline void clear_has_consume_count(); inline void set_has_show_type(); inline void clear_has_show_type(); inline void set_has_need_vip(); inline void clear_has_need_vip(); inline void set_has_show_tab(); inline void clear_has_show_tab(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 shop_id_; ::google::protobuf::int32 item_id_; ::google::protobuf::int32 item_count_; ::google::protobuf::int32 consume_type_; ::google::protobuf::int32 consume_count_; ::google::protobuf::int32 show_type_; ::google::protobuf::int32 need_vip_; ::google::protobuf::int32 show_tab_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static msg_shopitem* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_shoplist_result : public ::google::protobuf::Message { public: packetl2c_get_shoplist_result(); virtual ~packetl2c_get_shoplist_result(); packetl2c_get_shoplist_result(const packetl2c_get_shoplist_result& from); inline packetl2c_get_shoplist_result& operator=(const packetl2c_get_shoplist_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_shoplist_result& default_instance(); void Swap(packetl2c_get_shoplist_result* other); // implements Message ---------------------------------------------- packetl2c_get_shoplist_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_shoplist_result& from); void MergeFrom(const packetl2c_get_shoplist_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_shoplist_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.msg_shopitem shoplist = 2; inline int shoplist_size() const; inline void clear_shoplist(); static const int kShoplistFieldNumber = 2; inline const ::fish_protocols::msg_shopitem& shoplist(int index) const; inline ::fish_protocols::msg_shopitem* mutable_shoplist(int index); inline ::fish_protocols::msg_shopitem* add_shoplist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >& shoplist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >* mutable_shoplist(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_shoplist_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem > shoplist_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_shoplist_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_turret_levelup : public ::google::protobuf::Message { public: packetc2l_turret_levelup(); virtual ~packetc2l_turret_levelup(); packetc2l_turret_levelup(const packetc2l_turret_levelup& from); inline packetc2l_turret_levelup& operator=(const packetc2l_turret_levelup& 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_turret_levelup& default_instance(); void Swap(packetc2l_turret_levelup* other); // implements Message ---------------------------------------------- packetc2l_turret_levelup* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_turret_levelup& from); void MergeFrom(const packetc2l_turret_levelup& 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_turret_levelup]; 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 bool uselucky = 2 [default = false]; inline bool has_uselucky() const; inline void clear_uselucky(); static const int kUseluckyFieldNumber = 2; inline bool uselucky() const; inline void set_uselucky(bool value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_levelup) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_uselucky(); inline void clear_has_uselucky(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool uselucky_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_turret_levelup* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_turret_levelup_result : public ::google::protobuf::Message { public: packetl2c_turret_levelup_result(); virtual ~packetl2c_turret_levelup_result(); packetl2c_turret_levelup_result(const packetl2c_turret_levelup_result& from); inline packetl2c_turret_levelup_result& operator=(const packetl2c_turret_levelup_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_turret_levelup_result& default_instance(); void Swap(packetl2c_turret_levelup_result* other); // implements Message ---------------------------------------------- packetl2c_turret_levelup_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_turret_levelup_result& from); void MergeFrom(const packetl2c_turret_levelup_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_turret_levelup_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional bool usediamond = 3; inline bool has_usediamond() const; inline void clear_usediamond(); static const int kUsediamondFieldNumber = 3; inline bool usediamond() const; inline void set_usediamond(bool value); // optional bool uselucky = 4; inline bool has_uselucky() const; inline void clear_uselucky(); static const int kUseluckyFieldNumber = 4; inline bool uselucky() const; inline void set_uselucky(bool value); // optional int32 cur_lv = 5 [default = 0]; inline bool has_cur_lv() const; inline void clear_cur_lv(); static const int kCurLvFieldNumber = 5; inline ::google::protobuf::int32 cur_lv() const; inline void set_cur_lv(::google::protobuf::int32 value); // optional int32 cur_lucky = 6 [default = 0]; inline bool has_cur_lucky() const; inline void clear_cur_lucky(); static const int kCurLuckyFieldNumber = 6; inline ::google::protobuf::int32 cur_lucky() const; inline void set_cur_lucky(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_levelup_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_usediamond(); inline void clear_has_usediamond(); inline void set_has_uselucky(); inline void clear_has_uselucky(); inline void set_has_cur_lv(); inline void clear_has_cur_lv(); inline void set_has_cur_lucky(); inline void clear_has_cur_lucky(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; bool usediamond_; bool uselucky_; ::google::protobuf::int32 cur_lv_; ::google::protobuf::int32 cur_lucky_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_turret_levelup_result* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_player_auto_levelup : public ::google::protobuf::Message { public: packetl2c_player_auto_levelup(); virtual ~packetl2c_player_auto_levelup(); packetl2c_player_auto_levelup(const packetl2c_player_auto_levelup& from); inline packetl2c_player_auto_levelup& operator=(const packetl2c_player_auto_levelup& 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_player_auto_levelup& default_instance(); void Swap(packetl2c_player_auto_levelup* other); // implements Message ---------------------------------------------- packetl2c_player_auto_levelup* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_player_auto_levelup& from); void MergeFrom(const packetl2c_player_auto_levelup& 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_player_auto_levelup]; 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 uplevel = 2; inline bool has_uplevel() const; inline void clear_uplevel(); static const int kUplevelFieldNumber = 2; inline ::google::protobuf::int32 uplevel() const; inline void set_uplevel(::google::protobuf::int32 value); // optional int32 award_gold = 3; inline bool has_award_gold() const; inline void clear_award_gold(); static const int kAwardGoldFieldNumber = 3; inline ::google::protobuf::int32 award_gold() const; inline void set_award_gold(::google::protobuf::int32 value); // optional int32 award_ticket = 4; inline bool has_award_ticket() const; inline void clear_award_ticket(); static const int kAwardTicketFieldNumber = 4; inline ::google::protobuf::int32 award_ticket() const; inline void set_award_ticket(::google::protobuf::int32 value); // optional int32 unlock_rate = 5 [default = 0]; inline bool has_unlock_rate() const; inline void clear_unlock_rate(); static const int kUnlockRateFieldNumber = 5; inline ::google::protobuf::int32 unlock_rate() const; inline void set_unlock_rate(::google::protobuf::int32 value); // repeated .fish_protocols.msg_item award_item = 6; inline int award_item_size() const; inline void clear_award_item(); static const int kAwardItemFieldNumber = 6; inline const ::fish_protocols::msg_item& award_item(int index) const; inline ::fish_protocols::msg_item* mutable_award_item(int index); inline ::fish_protocols::msg_item* add_award_item(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& award_item() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* mutable_award_item(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_player_auto_levelup) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_uplevel(); inline void clear_has_uplevel(); inline void set_has_award_gold(); inline void clear_has_award_gold(); inline void set_has_award_ticket(); inline void clear_has_award_ticket(); inline void set_has_unlock_rate(); inline void clear_has_unlock_rate(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 uplevel_; ::google::protobuf::int32 award_gold_; ::google::protobuf::int32 award_ticket_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item > award_item_; ::google::protobuf::int32 unlock_rate_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_player_auto_levelup* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_give_item_result : public ::google::protobuf::Message { public: packetl2c_give_item_result(); virtual ~packetl2c_give_item_result(); packetl2c_give_item_result(const packetl2c_give_item_result& from); inline packetl2c_give_item_result& operator=(const packetl2c_give_item_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_give_item_result& default_instance(); void Swap(packetl2c_give_item_result* other); // implements Message ---------------------------------------------- packetl2c_give_item_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_give_item_result& from); void MergeFrom(const packetl2c_give_item_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_give_item_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 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 itemcount = 3 [default = 1]; inline bool has_itemcount() const; inline void clear_itemcount(); static const int kItemcountFieldNumber = 3; inline ::google::protobuf::int32 itemcount() const; inline void set_itemcount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_give_item_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_itemid(); inline void clear_has_itemid(); inline void set_has_itemcount(); inline void clear_has_itemcount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 itemid_; ::google::protobuf::int32 itemcount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_give_item_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_buy_func_item : public ::google::protobuf::Message { public: packetc2l_buy_func_item(); virtual ~packetc2l_buy_func_item(); packetc2l_buy_func_item(const packetc2l_buy_func_item& from); inline packetc2l_buy_func_item& operator=(const packetc2l_buy_func_item& 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_buy_func_item& default_instance(); void Swap(packetc2l_buy_func_item* other); // implements Message ---------------------------------------------- packetc2l_buy_func_item* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_buy_func_item& from); void MergeFrom(const packetc2l_buy_func_item& 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_buy_func_item]; 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 item_id = 2; inline bool has_item_id() const; inline void clear_item_id(); static const int kItemIdFieldNumber = 2; inline ::google::protobuf::int32 item_id() const; inline void set_item_id(::google::protobuf::int32 value); // optional int32 item_count = 3 [default = 1]; inline bool has_item_count() const; inline void clear_item_count(); static const int kItemCountFieldNumber = 3; inline ::google::protobuf::int32 item_count() const; inline void set_item_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_buy_func_item) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_item_id(); inline void clear_has_item_id(); inline void set_has_item_count(); inline void clear_has_item_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 item_id_; ::google::protobuf::int32 item_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_buy_func_item* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_buy_func_item_result : public ::google::protobuf::Message { public: packetl2c_buy_func_item_result(); virtual ~packetl2c_buy_func_item_result(); packetl2c_buy_func_item_result(const packetl2c_buy_func_item_result& from); inline packetl2c_buy_func_item_result& operator=(const packetl2c_buy_func_item_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_buy_func_item_result& default_instance(); void Swap(packetl2c_buy_func_item_result* other); // implements Message ---------------------------------------------- packetl2c_buy_func_item_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_buy_func_item_result& from); void MergeFrom(const packetl2c_buy_func_item_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_buy_func_item_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 item_id = 2; inline bool has_item_id() const; inline void clear_item_id(); static const int kItemIdFieldNumber = 2; inline ::google::protobuf::int32 item_id() const; inline void set_item_id(::google::protobuf::int32 value); // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 item_count = 4 [default = 1]; inline bool has_item_count() const; inline void clear_item_count(); static const int kItemCountFieldNumber = 4; inline ::google::protobuf::int32 item_count() const; inline void set_item_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_buy_func_item_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_item_id(); inline void clear_has_item_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_item_count(); inline void clear_has_item_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 item_id_; int result_; ::google::protobuf::int32 item_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_buy_func_item_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_torpedo_exchange : public ::google::protobuf::Message { public: packetc2l_torpedo_exchange(); virtual ~packetc2l_torpedo_exchange(); packetc2l_torpedo_exchange(const packetc2l_torpedo_exchange& from); inline packetc2l_torpedo_exchange& operator=(const packetc2l_torpedo_exchange& 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_torpedo_exchange& default_instance(); void Swap(packetc2l_torpedo_exchange* other); // implements Message ---------------------------------------------- packetc2l_torpedo_exchange* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_torpedo_exchange& from); void MergeFrom(const packetc2l_torpedo_exchange& 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_torpedo_exchange]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 torpedo_id = 3; inline bool has_torpedo_id() const; inline void clear_torpedo_id(); static const int kTorpedoIdFieldNumber = 3; inline ::google::protobuf::int32 torpedo_id() const; inline void set_torpedo_id(::google::protobuf::int32 value); // optional int32 torpedo_count = 4; inline bool has_torpedo_count() const; inline void clear_torpedo_count(); static const int kTorpedoCountFieldNumber = 4; inline ::google::protobuf::int32 torpedo_count() const; inline void set_torpedo_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_torpedo_exchange) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_torpedo_id(); inline void clear_has_torpedo_id(); inline void set_has_torpedo_count(); inline void clear_has_torpedo_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 torpedo_id_; ::google::protobuf::int32 torpedo_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_torpedo_exchange* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_torpedo_exchange_result : public ::google::protobuf::Message { public: packetl2c_torpedo_exchange_result(); virtual ~packetl2c_torpedo_exchange_result(); packetl2c_torpedo_exchange_result(const packetl2c_torpedo_exchange_result& from); inline packetl2c_torpedo_exchange_result& operator=(const packetl2c_torpedo_exchange_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_torpedo_exchange_result& default_instance(); void Swap(packetl2c_torpedo_exchange_result* other); // implements Message ---------------------------------------------- packetl2c_torpedo_exchange_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_torpedo_exchange_result& from); void MergeFrom(const packetl2c_torpedo_exchange_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_torpedo_exchange_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 type = 3; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 3; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 torpedo_id = 4; inline bool has_torpedo_id() const; inline void clear_torpedo_id(); static const int kTorpedoIdFieldNumber = 4; inline ::google::protobuf::int32 torpedo_id() const; inline void set_torpedo_id(::google::protobuf::int32 value); // optional int32 torpedo_count = 5; inline bool has_torpedo_count() const; inline void clear_torpedo_count(); static const int kTorpedoCountFieldNumber = 5; inline ::google::protobuf::int32 torpedo_count() const; inline void set_torpedo_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_torpedo_exchange_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_type(); inline void clear_has_type(); inline void set_has_torpedo_id(); inline void clear_has_torpedo_id(); inline void set_has_torpedo_count(); inline void clear_has_torpedo_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::int32 type_; ::google::protobuf::int32 torpedo_id_; ::google::protobuf::int32 torpedo_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_torpedo_exchange_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_torpedo_compose : public ::google::protobuf::Message { public: packetc2l_torpedo_compose(); virtual ~packetc2l_torpedo_compose(); packetc2l_torpedo_compose(const packetc2l_torpedo_compose& from); inline packetc2l_torpedo_compose& operator=(const packetc2l_torpedo_compose& 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_torpedo_compose& default_instance(); void Swap(packetc2l_torpedo_compose* other); // implements Message ---------------------------------------------- packetc2l_torpedo_compose* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_torpedo_compose& from); void MergeFrom(const packetc2l_torpedo_compose& 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_torpedo_compose]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 compose_id = 3; inline bool has_compose_id() const; inline void clear_compose_id(); static const int kComposeIdFieldNumber = 3; inline ::google::protobuf::int32 compose_id() const; inline void set_compose_id(::google::protobuf::int32 value); // optional int32 compose_count = 4; inline bool has_compose_count() const; inline void clear_compose_count(); static const int kComposeCountFieldNumber = 4; inline ::google::protobuf::int32 compose_count() const; inline void set_compose_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_torpedo_compose) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_compose_id(); inline void clear_has_compose_id(); inline void set_has_compose_count(); inline void clear_has_compose_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 compose_id_; ::google::protobuf::int32 compose_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_torpedo_compose* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_torpedo_compose_result : public ::google::protobuf::Message { public: packetl2c_torpedo_compose_result(); virtual ~packetl2c_torpedo_compose_result(); packetl2c_torpedo_compose_result(const packetl2c_torpedo_compose_result& from); inline packetl2c_torpedo_compose_result& operator=(const packetl2c_torpedo_compose_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_torpedo_compose_result& default_instance(); void Swap(packetl2c_torpedo_compose_result* other); // implements Message ---------------------------------------------- packetl2c_torpedo_compose_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_torpedo_compose_result& from); void MergeFrom(const packetl2c_torpedo_compose_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_torpedo_compose_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 compose_id = 3; inline bool has_compose_id() const; inline void clear_compose_id(); static const int kComposeIdFieldNumber = 3; inline ::google::protobuf::int32 compose_id() const; inline void set_compose_id(::google::protobuf::int32 value); // optional int32 compose_count = 4; inline bool has_compose_count() const; inline void clear_compose_count(); static const int kComposeCountFieldNumber = 4; inline ::google::protobuf::int32 compose_count() const; inline void set_compose_count(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_torpedo_compose_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_compose_id(); inline void clear_has_compose_id(); inline void set_has_compose_count(); inline void clear_has_compose_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::int32 compose_id_; ::google::protobuf::int32 compose_count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_torpedo_compose_result* default_instance_; }; // ------------------------------------------------------------------- class msg_airdropitem : public ::google::protobuf::Message { public: msg_airdropitem(); virtual ~msg_airdropitem(); msg_airdropitem(const msg_airdropitem& from); inline msg_airdropitem& operator=(const msg_airdropitem& 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 msg_airdropitem& default_instance(); void Swap(msg_airdropitem* other); // implements Message ---------------------------------------------- msg_airdropitem* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const msg_airdropitem& from); void MergeFrom(const msg_airdropitem& 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 uuid = 1; inline bool has_uuid() const; inline void clear_uuid(); static const int kUuidFieldNumber = 1; inline ::google::protobuf::int32 uuid() const; inline void set_uuid(::google::protobuf::int32 value); // optional int32 playerid = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayeridFieldNumber = 2; inline ::google::protobuf::int32 playerid() const; inline void set_playerid(::google::protobuf::int32 value); // optional int32 itemid = 3; inline bool has_itemid() const; inline void clear_itemid(); static const int kItemidFieldNumber = 3; inline ::google::protobuf::int32 itemid() const; inline void set_itemid(::google::protobuf::int32 value); // optional int32 itemcount = 4; inline bool has_itemcount() const; inline void clear_itemcount(); static const int kItemcountFieldNumber = 4; inline ::google::protobuf::int32 itemcount() const; inline void set_itemcount(::google::protobuf::int32 value); // optional string nickname = 5; inline bool has_nickname() const; inline void clear_nickname(); static const int kNicknameFieldNumber = 5; 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 string headurl = 6; inline bool has_headurl() const; inline void clear_headurl(); static const int kHeadurlFieldNumber = 6; inline const ::std::string& headurl() const; inline void set_headurl(const ::std::string& value); inline void set_headurl(const char* value); inline void set_headurl(const char* value, size_t size); inline ::std::string* mutable_headurl(); inline ::std::string* release_headurl(); inline void set_allocated_headurl(::std::string* headurl); // optional string pwd = 7; inline bool has_pwd() const; inline void clear_pwd(); static const int kPwdFieldNumber = 7; inline const ::std::string& pwd() const; inline void set_pwd(const ::std::string& value); inline void set_pwd(const char* value); inline void set_pwd(const char* value, size_t size); inline ::std::string* mutable_pwd(); inline ::std::string* release_pwd(); inline void set_allocated_pwd(::std::string* pwd); // optional int32 leftsecond = 8; inline bool has_leftsecond() const; inline void clear_leftsecond(); static const int kLeftsecondFieldNumber = 8; inline ::google::protobuf::int32 leftsecond() const; inline void set_leftsecond(::google::protobuf::int32 value); // optional int32 receiveId = 9; inline bool has_receiveid() const; inline void clear_receiveid(); static const int kReceiveIdFieldNumber = 9; inline ::google::protobuf::int32 receiveid() const; inline void set_receiveid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.msg_airdropitem) private: inline void set_has_uuid(); inline void clear_has_uuid(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_itemid(); inline void clear_has_itemid(); inline void set_has_itemcount(); inline void clear_has_itemcount(); inline void set_has_nickname(); inline void clear_has_nickname(); inline void set_has_headurl(); inline void clear_has_headurl(); inline void set_has_pwd(); inline void clear_has_pwd(); inline void set_has_leftsecond(); inline void clear_has_leftsecond(); inline void set_has_receiveid(); inline void clear_has_receiveid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 uuid_; ::google::protobuf::int32 playerid_; ::google::protobuf::int32 itemid_; ::google::protobuf::int32 itemcount_; ::std::string* nickname_; ::std::string* headurl_; ::std::string* pwd_; ::google::protobuf::int32 leftsecond_; ::google::protobuf::int32 receiveid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static msg_airdropitem* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_get_airdrop_list_result : public ::google::protobuf::Message { public: packetl2c_get_airdrop_list_result(); virtual ~packetl2c_get_airdrop_list_result(); packetl2c_get_airdrop_list_result(const packetl2c_get_airdrop_list_result& from); inline packetl2c_get_airdrop_list_result& operator=(const packetl2c_get_airdrop_list_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_airdrop_list_result& default_instance(); void Swap(packetl2c_get_airdrop_list_result* other); // implements Message ---------------------------------------------- packetl2c_get_airdrop_list_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_get_airdrop_list_result& from); void MergeFrom(const packetl2c_get_airdrop_list_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_airdrop_list_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional bool bplayerairdrop = 3; inline bool has_bplayerairdrop() const; inline void clear_bplayerairdrop(); static const int kBplayerairdropFieldNumber = 3; inline bool bplayerairdrop() const; inline void set_bplayerairdrop(bool value); // repeated .fish_protocols.msg_airdropitem items = 4; inline int items_size() const; inline void clear_items(); static const int kItemsFieldNumber = 4; inline const ::fish_protocols::msg_airdropitem& items(int index) const; inline ::fish_protocols::msg_airdropitem* mutable_items(int index); inline ::fish_protocols::msg_airdropitem* add_items(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >& items() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >* mutable_items(); // optional int32 errorcount = 5; inline bool has_errorcount() const; inline void clear_errorcount(); static const int kErrorcountFieldNumber = 5; inline ::google::protobuf::int32 errorcount() const; inline void set_errorcount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_get_airdrop_list_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_bplayerairdrop(); inline void clear_has_bplayerairdrop(); inline void set_has_errorcount(); inline void clear_has_errorcount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem > items_; bool bplayerairdrop_; ::google::protobuf::int32 errorcount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_get_airdrop_list_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_goldfish_lottery : public ::google::protobuf::Message { public: packetc2l_goldfish_lottery(); virtual ~packetc2l_goldfish_lottery(); packetc2l_goldfish_lottery(const packetc2l_goldfish_lottery& from); inline packetc2l_goldfish_lottery& operator=(const packetc2l_goldfish_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_goldfish_lottery& default_instance(); void Swap(packetc2l_goldfish_lottery* other); // implements Message ---------------------------------------------- packetc2l_goldfish_lottery* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_goldfish_lottery& from); void MergeFrom(const packetc2l_goldfish_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_goldfish_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 id = 2; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 2; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_goldfish_lottery) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_id(); inline void clear_has_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_goldfish_lottery* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_goldfish_lottery_result : public ::google::protobuf::Message { public: packetl2c_goldfish_lottery_result(); virtual ~packetl2c_goldfish_lottery_result(); packetl2c_goldfish_lottery_result(const packetl2c_goldfish_lottery_result& from); inline packetl2c_goldfish_lottery_result& operator=(const packetl2c_goldfish_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_goldfish_lottery_result& default_instance(); void Swap(packetl2c_goldfish_lottery_result* other); // implements Message ---------------------------------------------- packetl2c_goldfish_lottery_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_goldfish_lottery_result& from); void MergeFrom(const packetl2c_goldfish_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_goldfish_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 2; inline ::msg_type_def::e_msg_result_def result() const; inline void set_result(::msg_type_def::e_msg_result_def value); // optional int32 playerid = 3; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayeridFieldNumber = 3; inline ::google::protobuf::int32 playerid() const; inline void set_playerid(::google::protobuf::int32 value); // optional int32 id = 4; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 4; inline ::google::protobuf::int32 id() const; inline void set_id(::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); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_goldfish_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_playerid(); inline void clear_has_playerid(); inline void set_has_id(); inline void clear_has_id(); inline void set_has_rewardid(); inline void clear_has_rewardid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; int result_; ::google::protobuf::int32 playerid_; ::google::protobuf::int32 id_; ::google::protobuf::int32 rewardid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_goldfish_lottery_result* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_bc_table_finish_turntablefish_balance : public ::google::protobuf::Message { public: packetl2c_bc_table_finish_turntablefish_balance(); virtual ~packetl2c_bc_table_finish_turntablefish_balance(); packetl2c_bc_table_finish_turntablefish_balance(const packetl2c_bc_table_finish_turntablefish_balance& from); inline packetl2c_bc_table_finish_turntablefish_balance& operator=(const packetl2c_bc_table_finish_turntablefish_balance& 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_bc_table_finish_turntablefish_balance& default_instance(); void Swap(packetl2c_bc_table_finish_turntablefish_balance* other); // implements Message ---------------------------------------------- packetl2c_bc_table_finish_turntablefish_balance* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_bc_table_finish_turntablefish_balance& from); void MergeFrom(const packetl2c_bc_table_finish_turntablefish_balance& 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_bc_table_finish_turntablefish_balance]; 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 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::int32 playerid() const; inline void set_playerid(::google::protobuf::int32 value); // optional int32 addGold = 3; inline bool has_addgold() const; inline void clear_addgold(); static const int kAddGoldFieldNumber = 3; inline ::google::protobuf::int32 addgold() const; inline void set_addgold(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_bc_table_finish_turntablefish_balance) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_addgold(); inline void clear_has_addgold(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 playerid_; ::google::protobuf::int32 addgold_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_bc_table_finish_turntablefish_balance* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_exchange_dimensity : public ::google::protobuf::Message { public: packetc2l_exchange_dimensity(); virtual ~packetc2l_exchange_dimensity(); packetc2l_exchange_dimensity(const packetc2l_exchange_dimensity& from); inline packetc2l_exchange_dimensity& operator=(const packetc2l_exchange_dimensity& 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_exchange_dimensity& default_instance(); void Swap(packetc2l_exchange_dimensity* other); // implements Message ---------------------------------------------- packetc2l_exchange_dimensity* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_exchange_dimensity& from); void MergeFrom(const packetc2l_exchange_dimensity& 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_exchange_dimensity]; 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 exchangeId = 2; inline bool has_exchangeid() const; inline void clear_exchangeid(); static const int kExchangeIdFieldNumber = 2; inline ::google::protobuf::int32 exchangeid() const; inline void set_exchangeid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_exchange_dimensity) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_exchangeid(); inline void clear_has_exchangeid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 exchangeid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_exchange_dimensity* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_exchange_dimensity_result : public ::google::protobuf::Message { public: packetl2c_exchange_dimensity_result(); virtual ~packetl2c_exchange_dimensity_result(); packetl2c_exchange_dimensity_result(const packetl2c_exchange_dimensity_result& from); inline packetl2c_exchange_dimensity_result& operator=(const packetl2c_exchange_dimensity_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_exchange_dimensity_result& default_instance(); void Swap(packetl2c_exchange_dimensity_result* other); // implements Message ---------------------------------------------- packetl2c_exchange_dimensity_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_exchange_dimensity_result& from); void MergeFrom(const packetl2c_exchange_dimensity_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_exchange_dimensity_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 exchangeId = 2; inline bool has_exchangeid() const; inline void clear_exchangeid(); static const int kExchangeIdFieldNumber = 2; inline ::google::protobuf::int32 exchangeid() const; inline void set_exchangeid(::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_exchange_dimensity_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_exchangeid(); inline void clear_has_exchangeid(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 exchangeid_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_exchange_dimensity_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_lucky_lottery : public ::google::protobuf::Message { public: packetc2l_lucky_lottery(); virtual ~packetc2l_lucky_lottery(); packetc2l_lucky_lottery(const packetc2l_lucky_lottery& from); inline packetc2l_lucky_lottery& operator=(const packetc2l_lucky_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_lucky_lottery& default_instance(); void Swap(packetc2l_lucky_lottery* other); // implements Message ---------------------------------------------- packetc2l_lucky_lottery* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_lucky_lottery& from); void MergeFrom(const packetc2l_lucky_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_lucky_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 bool all = 2; inline bool has_all() const; inline void clear_all(); static const int kAllFieldNumber = 2; inline bool all() const; inline void set_all(bool value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_lucky_lottery) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_all(); inline void clear_has_all(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool all_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_lucky_lottery* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_lucky_lottery_result : public ::google::protobuf::Message { public: packetl2c_lucky_lottery_result(); virtual ~packetl2c_lucky_lottery_result(); packetl2c_lucky_lottery_result(const packetl2c_lucky_lottery_result& from); inline packetl2c_lucky_lottery_result& operator=(const packetl2c_lucky_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_lucky_lottery_result& default_instance(); void Swap(packetl2c_lucky_lottery_result* other); // implements Message ---------------------------------------------- packetl2c_lucky_lottery_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_lucky_lottery_result& from); void MergeFrom(const packetl2c_lucky_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_lucky_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 bool all = 2; inline bool has_all() const; inline void clear_all(); static const int kAllFieldNumber = 2; inline bool all() const; inline void set_all(bool value); // optional int32 result = 3; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 3; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // repeated int32 rewardIndex = 4; inline int rewardindex_size() const; inline void clear_rewardindex(); static const int kRewardIndexFieldNumber = 4; inline ::google::protobuf::int32 rewardindex(int index) const; inline void set_rewardindex(int index, ::google::protobuf::int32 value); inline void add_rewardindex(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& rewardindex() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_rewardindex(); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_lucky_lottery_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_all(); inline void clear_has_all(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; bool all_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardindex_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_lucky_lottery_result* default_instance_; }; // ------------------------------------------------------------------- class recordInfo : public ::google::protobuf::Message { public: recordInfo(); virtual ~recordInfo(); recordInfo(const recordInfo& from); inline recordInfo& operator=(const recordInfo& 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 recordInfo& default_instance(); void Swap(recordInfo* other); // implements Message ---------------------------------------------- recordInfo* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const recordInfo& from); void MergeFrom(const recordInfo& 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 type = 1; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 1; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 param = 2; inline bool has_param() const; inline void clear_param(); static const int kParamFieldNumber = 2; inline ::google::protobuf::int32 param() const; inline void set_param(::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.recordInfo) private: inline void set_has_type(); inline void clear_has_type(); inline void set_has_param(); inline void clear_has_param(); inline void set_has_count(); inline void clear_has_count(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::int32 type_; ::google::protobuf::int32 param_; ::google::protobuf::int32 count_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static recordInfo* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_syn_record_info : public ::google::protobuf::Message { public: packetc2l_syn_record_info(); virtual ~packetc2l_syn_record_info(); packetc2l_syn_record_info(const packetc2l_syn_record_info& from); inline packetc2l_syn_record_info& operator=(const packetc2l_syn_record_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_syn_record_info& default_instance(); void Swap(packetc2l_syn_record_info* other); // implements Message ---------------------------------------------- packetc2l_syn_record_info* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_syn_record_info& from); void MergeFrom(const packetc2l_syn_record_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_syn_record_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); // repeated .fish_protocols.recordInfo recordList = 2; inline int recordlist_size() const; inline void clear_recordlist(); static const int kRecordListFieldNumber = 2; inline const ::fish_protocols::recordInfo& recordlist(int index) const; inline ::fish_protocols::recordInfo* mutable_recordlist(int index); inline ::fish_protocols::recordInfo* add_recordlist(); inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >& recordlist() const; inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >* mutable_recordlist(); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_syn_record_info) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo > recordlist_; int packet_id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_syn_record_info* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_auto_fire : public ::google::protobuf::Message { public: packetc2l_auto_fire(); virtual ~packetc2l_auto_fire(); packetc2l_auto_fire(const packetc2l_auto_fire& from); inline packetc2l_auto_fire& operator=(const packetc2l_auto_fire& 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_auto_fire& default_instance(); void Swap(packetc2l_auto_fire* other); // implements Message ---------------------------------------------- packetc2l_auto_fire* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_auto_fire& from); void MergeFrom(const packetc2l_auto_fire& 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_auto_fire]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_auto_fire) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_auto_fire* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_change_headid : public ::google::protobuf::Message { public: packetc2l_change_headid(); virtual ~packetc2l_change_headid(); packetc2l_change_headid(const packetc2l_change_headid& from); inline packetc2l_change_headid& operator=(const packetc2l_change_headid& 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_change_headid& default_instance(); void Swap(packetc2l_change_headid* other); // implements Message ---------------------------------------------- packetc2l_change_headid* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_change_headid& from); void MergeFrom(const packetc2l_change_headid& 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_change_headid]; 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 headId = 2; inline bool has_headid() const; inline void clear_headid(); static const int kHeadIdFieldNumber = 2; inline ::google::protobuf::int32 headid() const; inline void set_headid(::google::protobuf::int32 value); // optional int32 frameid = 3; inline bool has_frameid() const; inline void clear_frameid(); static const int kFrameidFieldNumber = 3; inline ::google::protobuf::int32 frameid() const; inline void set_frameid(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_change_headid) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_headid(); inline void clear_has_headid(); inline void set_has_frameid(); inline void clear_has_frameid(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 headid_; ::google::protobuf::int32 frameid_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_change_headid* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_change_headid_result : public ::google::protobuf::Message { public: packetl2c_change_headid_result(); virtual ~packetl2c_change_headid_result(); packetl2c_change_headid_result(const packetl2c_change_headid_result& from); inline packetl2c_change_headid_result& operator=(const packetl2c_change_headid_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_change_headid_result& default_instance(); void Swap(packetl2c_change_headid_result* other); // implements Message ---------------------------------------------- packetl2c_change_headid_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_change_headid_result& from); void MergeFrom(const packetl2c_change_headid_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_change_headid_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 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::int32 playerid() const; inline void set_playerid(::google::protobuf::int32 value); // optional int32 headId = 3; inline bool has_headid() const; inline void clear_headid(); static const int kHeadIdFieldNumber = 3; inline ::google::protobuf::int32 headid() const; inline void set_headid(::google::protobuf::int32 value); // optional int32 frameid = 4; inline bool has_frameid() const; inline void clear_frameid(); static const int kFrameidFieldNumber = 4; inline ::google::protobuf::int32 frameid() const; inline void set_frameid(::google::protobuf::int32 value); // optional int32 result = 5; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 5; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_change_headid_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_headid(); inline void clear_has_headid(); inline void set_has_frameid(); inline void clear_has_frameid(); inline void set_has_result(); inline void clear_has_result(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 playerid_; ::google::protobuf::int32 headid_; ::google::protobuf::int32 frameid_; ::google::protobuf::int32 result_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_change_headid_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_rand_turret_addition : public ::google::protobuf::Message { public: packetc2l_rand_turret_addition(); virtual ~packetc2l_rand_turret_addition(); packetc2l_rand_turret_addition(const packetc2l_rand_turret_addition& from); inline packetc2l_rand_turret_addition& operator=(const packetc2l_rand_turret_addition& 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_rand_turret_addition& default_instance(); void Swap(packetc2l_rand_turret_addition* other); // implements Message ---------------------------------------------- packetc2l_rand_turret_addition* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_rand_turret_addition& from); void MergeFrom(const packetc2l_rand_turret_addition& 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_rand_turret_addition]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_rand_turret_addition) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_rand_turret_addition* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_rand_turret_addition_result : public ::google::protobuf::Message { public: packetl2c_rand_turret_addition_result(); virtual ~packetl2c_rand_turret_addition_result(); packetl2c_rand_turret_addition_result(const packetl2c_rand_turret_addition_result& from); inline packetl2c_rand_turret_addition_result& operator=(const packetl2c_rand_turret_addition_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_rand_turret_addition_result& default_instance(); void Swap(packetl2c_rand_turret_addition_result* other); // implements Message ---------------------------------------------- packetl2c_rand_turret_addition_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_rand_turret_addition_result& from); void MergeFrom(const packetl2c_rand_turret_addition_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_rand_turret_addition_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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // optional int32 result = 4; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 4; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional int32 leftTimes = 5; inline bool has_lefttimes() const; inline void clear_lefttimes(); static const int kLeftTimesFieldNumber = 5; inline ::google::protobuf::int32 lefttimes() const; inline void set_lefttimes(::google::protobuf::int32 value); // optional int32 addId = 6; inline bool has_addid() const; inline void clear_addid(); static const int kAddIdFieldNumber = 6; inline ::google::protobuf::int32 addid() const; inline void set_addid(::google::protobuf::int32 value); // optional int32 costItem = 7; inline bool has_costitem() const; inline void clear_costitem(); static const int kCostItemFieldNumber = 7; inline ::google::protobuf::int32 costitem() const; inline void set_costitem(::google::protobuf::int32 value); // optional int32 costCount = 8; inline bool has_costcount() const; inline void clear_costcount(); static const int kCostCountFieldNumber = 8; inline ::google::protobuf::int32 costcount() const; inline void set_costcount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_rand_turret_addition_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_lefttimes(); inline void clear_has_lefttimes(); inline void set_has_addid(); inline void clear_has_addid(); inline void set_has_costitem(); inline void clear_has_costitem(); inline void set_has_costcount(); inline void clear_has_costcount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; ::google::protobuf::int32 result_; ::google::protobuf::int32 lefttimes_; ::google::protobuf::int32 addid_; ::google::protobuf::int32 costitem_; ::google::protobuf::int32 costcount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_rand_turret_addition_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_turret_addition_confirm : public ::google::protobuf::Message { public: packetc2l_turret_addition_confirm(); virtual ~packetc2l_turret_addition_confirm(); packetc2l_turret_addition_confirm(const packetc2l_turret_addition_confirm& from); inline packetc2l_turret_addition_confirm& operator=(const packetc2l_turret_addition_confirm& 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_turret_addition_confirm& default_instance(); void Swap(packetc2l_turret_addition_confirm* other); // implements Message ---------------------------------------------- packetc2l_turret_addition_confirm* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_turret_addition_confirm& from); void MergeFrom(const packetc2l_turret_addition_confirm& 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_turret_addition_confirm]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_addition_confirm) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_turret_addition_confirm* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_turret_addition_confirm_result : public ::google::protobuf::Message { public: packetl2c_turret_addition_confirm_result(); virtual ~packetl2c_turret_addition_confirm_result(); packetl2c_turret_addition_confirm_result(const packetl2c_turret_addition_confirm_result& from); inline packetl2c_turret_addition_confirm_result& operator=(const packetl2c_turret_addition_confirm_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_turret_addition_confirm_result& default_instance(); void Swap(packetl2c_turret_addition_confirm_result* other); // implements Message ---------------------------------------------- packetl2c_turret_addition_confirm_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_turret_addition_confirm_result& from); void MergeFrom(const packetl2c_turret_addition_confirm_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_turret_addition_confirm_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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // optional int32 result = 4; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 4; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional .fish_protocols.wing_unit wingdata = 5; inline bool has_wingdata() const; inline void clear_wingdata(); static const int kWingdataFieldNumber = 5; inline const ::fish_protocols::wing_unit& wingdata() const; inline ::fish_protocols::wing_unit* mutable_wingdata(); inline ::fish_protocols::wing_unit* release_wingdata(); inline void set_allocated_wingdata(::fish_protocols::wing_unit* wingdata); // optional .fish_protocols.turret_unit turretdata = 6; inline bool has_turretdata() const; inline void clear_turretdata(); static const int kTurretdataFieldNumber = 6; inline const ::fish_protocols::turret_unit& turretdata() const; inline ::fish_protocols::turret_unit* mutable_turretdata(); inline ::fish_protocols::turret_unit* release_turretdata(); inline void set_allocated_turretdata(::fish_protocols::turret_unit* turretdata); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_addition_confirm_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_wingdata(); inline void clear_has_wingdata(); inline void set_has_turretdata(); inline void clear_has_turretdata(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; ::google::protobuf::int32 result_; ::fish_protocols::wing_unit* wingdata_; ::fish_protocols::turret_unit* turretdata_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_turret_addition_confirm_result* default_instance_; }; // ------------------------------------------------------------------- class packetc2l_turret_addition_reset : public ::google::protobuf::Message { public: packetc2l_turret_addition_reset(); virtual ~packetc2l_turret_addition_reset(); packetc2l_turret_addition_reset(const packetc2l_turret_addition_reset& from); inline packetc2l_turret_addition_reset& operator=(const packetc2l_turret_addition_reset& 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_turret_addition_reset& default_instance(); void Swap(packetc2l_turret_addition_reset* other); // implements Message ---------------------------------------------- packetc2l_turret_addition_reset* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetc2l_turret_addition_reset& from); void MergeFrom(const packetc2l_turret_addition_reset& 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_turret_addition_reset]; 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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_turret_addition_reset) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetc2l_turret_addition_reset* default_instance_; }; // ------------------------------------------------------------------- class packetl2c_turret_addition_reset_result : public ::google::protobuf::Message { public: packetl2c_turret_addition_reset_result(); virtual ~packetl2c_turret_addition_reset_result(); packetl2c_turret_addition_reset_result(const packetl2c_turret_addition_reset_result& from); inline packetl2c_turret_addition_reset_result& operator=(const packetl2c_turret_addition_reset_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_turret_addition_reset_result& default_instance(); void Swap(packetl2c_turret_addition_reset_result* other); // implements Message ---------------------------------------------- packetl2c_turret_addition_reset_result* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); void CopyFrom(const packetl2c_turret_addition_reset_result& from); void MergeFrom(const packetl2c_turret_addition_reset_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_turret_addition_reset_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 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional int32 id = 3; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 3; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // optional int32 result = 4; inline bool has_result() const; inline void clear_result(); static const int kResultFieldNumber = 4; inline ::google::protobuf::int32 result() const; inline void set_result(::google::protobuf::int32 value); // optional int32 returnCount = 5; inline bool has_returncount() const; inline void clear_returncount(); static const int kReturnCountFieldNumber = 5; inline ::google::protobuf::int32 returncount() const; inline void set_returncount(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_turret_addition_reset_result) private: inline void set_has_packet_id(); inline void clear_has_packet_id(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_id(); inline void clear_has_id(); inline void set_has_result(); inline void clear_has_result(); inline void set_has_returncount(); inline void clear_has_returncount(); ::google::protobuf::UnknownFieldSet _unknown_fields_; int packet_id_; ::google::protobuf::int32 type_; ::google::protobuf::int32 id_; ::google::protobuf::int32 result_; ::google::protobuf::int32 returncount_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_fish_5fprotocol_2eproto(); friend void protobuf_AssignDesc_fish_5fprotocol_2eproto(); friend void protobuf_ShutdownFile_fish_5fprotocol_2eproto(); void InitAsDefaultInstance(); static packetl2c_turret_addition_reset_result* default_instance_; }; // =================================================================== // =================================================================== // packetc2l_get_room_info // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_room_info]; inline bool packetc2l_get_room_info::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_get_room_info::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_get_room_info::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_get_room_info::clear_packet_id() { packet_id_ = 10001; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_get_room_info::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_get_room_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; } // ------------------------------------------------------------------- // msg_room_info // optional int32 roomid = 1; inline bool msg_room_info::has_roomid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void msg_room_info::set_has_roomid() { _has_bits_[0] |= 0x00000001u; } inline void msg_room_info::clear_has_roomid() { _has_bits_[0] &= ~0x00000001u; } inline void msg_room_info::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 msg_room_info::roomid() const { return roomid_; } inline void msg_room_info::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 player_count = 2; inline bool msg_room_info::has_player_count() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void msg_room_info::set_has_player_count() { _has_bits_[0] |= 0x00000002u; } inline void msg_room_info::clear_has_player_count() { _has_bits_[0] &= ~0x00000002u; } inline void msg_room_info::clear_player_count() { player_count_ = 0; clear_has_player_count(); } inline ::google::protobuf::int32 msg_room_info::player_count() const { return player_count_; } inline void msg_room_info::set_player_count(::google::protobuf::int32 value) { set_has_player_count(); player_count_ = value; } // optional int64 jackpot = 3; inline bool msg_room_info::has_jackpot() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void msg_room_info::set_has_jackpot() { _has_bits_[0] |= 0x00000004u; } inline void msg_room_info::clear_has_jackpot() { _has_bits_[0] &= ~0x00000004u; } inline void msg_room_info::clear_jackpot() { jackpot_ = GOOGLE_LONGLONG(0); clear_has_jackpot(); } inline ::google::protobuf::int64 msg_room_info::jackpot() const { return jackpot_; } inline void msg_room_info::set_jackpot(::google::protobuf::int64 value) { set_has_jackpot(); jackpot_ = value; } // optional int32 leftSecond = 4; inline bool msg_room_info::has_leftsecond() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void msg_room_info::set_has_leftsecond() { _has_bits_[0] |= 0x00000008u; } inline void msg_room_info::clear_has_leftsecond() { _has_bits_[0] &= ~0x00000008u; } inline void msg_room_info::clear_leftsecond() { leftsecond_ = 0; clear_has_leftsecond(); } inline ::google::protobuf::int32 msg_room_info::leftsecond() const { return leftsecond_; } inline void msg_room_info::set_leftsecond(::google::protobuf::int32 value) { set_has_leftsecond(); leftsecond_ = value; } // ------------------------------------------------------------------- // packetl2c_get_room_info_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_room_info_result]; inline bool packetl2c_get_room_info_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_room_info_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_room_info_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_room_info_result::clear_packet_id() { packet_id_ = 15001; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_room_info_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_room_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.msg_room_info rooms = 2; inline int packetl2c_get_room_info_result::rooms_size() const { return rooms_.size(); } inline void packetl2c_get_room_info_result::clear_rooms() { rooms_.Clear(); } inline const ::fish_protocols::msg_room_info& packetl2c_get_room_info_result::rooms(int index) const { return rooms_.Get(index); } inline ::fish_protocols::msg_room_info* packetl2c_get_room_info_result::mutable_rooms(int index) { return rooms_.Mutable(index); } inline ::fish_protocols::msg_room_info* packetl2c_get_room_info_result::add_rooms() { return rooms_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >& packetl2c_get_room_info_result::rooms() const { return rooms_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_room_info >* packetl2c_get_room_info_result::mutable_rooms() { return &rooms_; } // ------------------------------------------------------------------- // packetc2l_enter_table // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_table]; inline bool packetc2l_enter_table::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_enter_table::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_enter_table::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_enter_table::clear_packet_id() { packet_id_ = 10002; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_enter_table::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_enter_table::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 [default = 0]; inline bool packetc2l_enter_table::has_roomid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_enter_table::set_has_roomid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_enter_table::clear_has_roomid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_enter_table::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetc2l_enter_table::roomid() const { return roomid_; } inline void packetc2l_enter_table::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // ------------------------------------------------------------------- // packetl2c_enter_table_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_table_result]; inline bool packetl2c_enter_table_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_enter_table_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_enter_table_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_enter_table_result::clear_packet_id() { packet_id_ = 15002; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_enter_table_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_enter_table_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_enter_table_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_enter_table_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_enter_table_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_enter_table_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_enter_table_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_enter_table_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 roomid = 3; inline bool packetl2c_enter_table_result::has_roomid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_enter_table_result::set_has_roomid() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_enter_table_result::clear_has_roomid() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_enter_table_result::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetl2c_enter_table_result::roomid() const { return roomid_; } inline void packetl2c_enter_table_result::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional bool isRecvGemReward = 4; inline bool packetl2c_enter_table_result::has_isrecvgemreward() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_enter_table_result::set_has_isrecvgemreward() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_enter_table_result::clear_has_isrecvgemreward() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_enter_table_result::clear_isrecvgemreward() { isrecvgemreward_ = false; clear_has_isrecvgemreward(); } inline bool packetl2c_enter_table_result::isrecvgemreward() const { return isrecvgemreward_; } inline void packetl2c_enter_table_result::set_isrecvgemreward(bool value) { set_has_isrecvgemreward(); isrecvgemreward_ = value; } // ------------------------------------------------------------------- // packetc2l_change_table // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_table]; inline bool packetc2l_change_table::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_change_table::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_change_table::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_change_table::clear_packet_id() { packet_id_ = 10113; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_change_table::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_change_table::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_change_table_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_table_result]; inline bool packetl2c_change_table_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_change_table_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_change_table_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_change_table_result::clear_packet_id() { packet_id_ = 15105; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_change_table_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_change_table_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_change_table_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_change_table_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_change_table_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_change_table_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_change_table_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_change_table_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // ------------------------------------------------------------------- // packetc2l_leave_table // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_leave_table]; inline bool packetc2l_leave_table::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_leave_table::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_leave_table::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_leave_table::clear_packet_id() { packet_id_ = 10003; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_leave_table::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_leave_table::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_leave_table_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_leave_table_result]; inline bool packetl2c_leave_table_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_leave_table_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_leave_table_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_leave_table_result::clear_packet_id() { packet_id_ = 15003; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_leave_table_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_leave_table_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 int64 sync_gold = 2; inline bool packetl2c_leave_table_result::has_sync_gold() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_leave_table_result::set_has_sync_gold() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_leave_table_result::clear_has_sync_gold() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_leave_table_result::clear_sync_gold() { sync_gold_ = GOOGLE_LONGLONG(0); clear_has_sync_gold(); } inline ::google::protobuf::int64 packetl2c_leave_table_result::sync_gold() const { return sync_gold_; } inline void packetl2c_leave_table_result::set_sync_gold(::google::protobuf::int64 value) { set_has_sync_gold(); sync_gold_ = value; } // optional int32 syncDbChip = 3; inline bool packetl2c_leave_table_result::has_syncdbchip() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_leave_table_result::set_has_syncdbchip() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_leave_table_result::clear_has_syncdbchip() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_leave_table_result::clear_syncdbchip() { syncdbchip_ = 0; clear_has_syncdbchip(); } inline ::google::protobuf::int32 packetl2c_leave_table_result::syncdbchip() const { return syncdbchip_; } inline void packetl2c_leave_table_result::set_syncdbchip(::google::protobuf::int32 value) { set_has_syncdbchip(); syncdbchip_ = value; } // optional int64 playerExp = 4; inline bool packetl2c_leave_table_result::has_playerexp() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_leave_table_result::set_has_playerexp() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_leave_table_result::clear_has_playerexp() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_leave_table_result::clear_playerexp() { playerexp_ = GOOGLE_LONGLONG(0); clear_has_playerexp(); } inline ::google::protobuf::int64 packetl2c_leave_table_result::playerexp() const { return playerexp_; } inline void packetl2c_leave_table_result::set_playerexp(::google::protobuf::int64 value) { set_has_playerexp(); playerexp_ = value; } // ------------------------------------------------------------------- // packetc2l_check_state // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_check_state]; inline bool packetc2l_check_state::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_check_state::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_check_state::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_check_state::clear_packet_id() { packet_id_ = 10004; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_check_state::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_check_state::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; } // ------------------------------------------------------------------- // skill_unit // optional int32 skillId = 1; inline bool skill_unit::has_skillid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void skill_unit::set_has_skillid() { _has_bits_[0] |= 0x00000001u; } inline void skill_unit::clear_has_skillid() { _has_bits_[0] &= ~0x00000001u; } inline void skill_unit::clear_skillid() { skillid_ = 0; clear_has_skillid(); } inline ::google::protobuf::int32 skill_unit::skillid() const { return skillid_; } inline void skill_unit::set_skillid(::google::protobuf::int32 value) { set_has_skillid(); skillid_ = value; } // optional int32 addTimes = 2; inline bool skill_unit::has_addtimes() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void skill_unit::set_has_addtimes() { _has_bits_[0] |= 0x00000002u; } inline void skill_unit::clear_has_addtimes() { _has_bits_[0] &= ~0x00000002u; } inline void skill_unit::clear_addtimes() { addtimes_ = 0; clear_has_addtimes(); } inline ::google::protobuf::int32 skill_unit::addtimes() const { return addtimes_; } inline void skill_unit::set_addtimes(::google::protobuf::int32 value) { set_has_addtimes(); addtimes_ = value; } // ------------------------------------------------------------------- // turret_unit // optional int32 turretId = 1; inline bool turret_unit::has_turretid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void turret_unit::set_has_turretid() { _has_bits_[0] |= 0x00000001u; } inline void turret_unit::clear_has_turretid() { _has_bits_[0] &= ~0x00000001u; } inline void turret_unit::clear_turretid() { turretid_ = 0; clear_has_turretid(); } inline ::google::protobuf::int32 turret_unit::turretid() const { return turretid_; } inline void turret_unit::set_turretid(::google::protobuf::int32 value) { set_has_turretid(); turretid_ = value; } // optional int32 additionLv = 2; inline bool turret_unit::has_additionlv() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void turret_unit::set_has_additionlv() { _has_bits_[0] |= 0x00000002u; } inline void turret_unit::clear_has_additionlv() { _has_bits_[0] &= ~0x00000002u; } inline void turret_unit::clear_additionlv() { additionlv_ = 0; clear_has_additionlv(); } inline ::google::protobuf::int32 turret_unit::additionlv() const { return additionlv_; } inline void turret_unit::set_additionlv(::google::protobuf::int32 value) { set_has_additionlv(); additionlv_ = value; } // optional int32 endTime = 3; inline bool turret_unit::has_endtime() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void turret_unit::set_has_endtime() { _has_bits_[0] |= 0x00000004u; } inline void turret_unit::clear_has_endtime() { _has_bits_[0] &= ~0x00000004u; } inline void turret_unit::clear_endtime() { endtime_ = 0; clear_has_endtime(); } inline ::google::protobuf::int32 turret_unit::endtime() const { return endtime_; } inline void turret_unit::set_endtime(::google::protobuf::int32 value) { set_has_endtime(); endtime_ = value; } // repeated .fish_protocols.skill_unit addtionList = 4; inline int turret_unit::addtionlist_size() const { return addtionlist_.size(); } inline void turret_unit::clear_addtionlist() { addtionlist_.Clear(); } inline const ::fish_protocols::skill_unit& turret_unit::addtionlist(int index) const { return addtionlist_.Get(index); } inline ::fish_protocols::skill_unit* turret_unit::mutable_addtionlist(int index) { return addtionlist_.Mutable(index); } inline ::fish_protocols::skill_unit* turret_unit::add_addtionlist() { return addtionlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >& turret_unit::addtionlist() const { return addtionlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >* turret_unit::mutable_addtionlist() { return &addtionlist_; } // ------------------------------------------------------------------- // wing_unit // optional int32 wingId = 1; inline bool wing_unit::has_wingid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void wing_unit::set_has_wingid() { _has_bits_[0] |= 0x00000001u; } inline void wing_unit::clear_has_wingid() { _has_bits_[0] &= ~0x00000001u; } inline void wing_unit::clear_wingid() { wingid_ = 0; clear_has_wingid(); } inline ::google::protobuf::int32 wing_unit::wingid() const { return wingid_; } inline void wing_unit::set_wingid(::google::protobuf::int32 value) { set_has_wingid(); wingid_ = value; } // optional int32 additionLv = 2; inline bool wing_unit::has_additionlv() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void wing_unit::set_has_additionlv() { _has_bits_[0] |= 0x00000002u; } inline void wing_unit::clear_has_additionlv() { _has_bits_[0] &= ~0x00000002u; } inline void wing_unit::clear_additionlv() { additionlv_ = 0; clear_has_additionlv(); } inline ::google::protobuf::int32 wing_unit::additionlv() const { return additionlv_; } inline void wing_unit::set_additionlv(::google::protobuf::int32 value) { set_has_additionlv(); additionlv_ = value; } // optional int32 endTime = 3; inline bool wing_unit::has_endtime() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void wing_unit::set_has_endtime() { _has_bits_[0] |= 0x00000004u; } inline void wing_unit::clear_has_endtime() { _has_bits_[0] &= ~0x00000004u; } inline void wing_unit::clear_endtime() { endtime_ = 0; clear_has_endtime(); } inline ::google::protobuf::int32 wing_unit::endtime() const { return endtime_; } inline void wing_unit::set_endtime(::google::protobuf::int32 value) { set_has_endtime(); endtime_ = value; } // optional int32 randTimes = 4; inline bool wing_unit::has_randtimes() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void wing_unit::set_has_randtimes() { _has_bits_[0] |= 0x00000008u; } inline void wing_unit::clear_has_randtimes() { _has_bits_[0] &= ~0x00000008u; } inline void wing_unit::clear_randtimes() { randtimes_ = 0; clear_has_randtimes(); } inline ::google::protobuf::int32 wing_unit::randtimes() const { return randtimes_; } inline void wing_unit::set_randtimes(::google::protobuf::int32 value) { set_has_randtimes(); randtimes_ = value; } // optional int32 randId = 5; inline bool wing_unit::has_randid() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void wing_unit::set_has_randid() { _has_bits_[0] |= 0x00000010u; } inline void wing_unit::clear_has_randid() { _has_bits_[0] &= ~0x00000010u; } inline void wing_unit::clear_randid() { randid_ = 0; clear_has_randid(); } inline ::google::protobuf::int32 wing_unit::randid() const { return randid_; } inline void wing_unit::set_randid(::google::protobuf::int32 value) { set_has_randid(); randid_ = value; } // repeated .fish_protocols.skill_unit addtionList = 6; inline int wing_unit::addtionlist_size() const { return addtionlist_.size(); } inline void wing_unit::clear_addtionlist() { addtionlist_.Clear(); } inline const ::fish_protocols::skill_unit& wing_unit::addtionlist(int index) const { return addtionlist_.Get(index); } inline ::fish_protocols::skill_unit* wing_unit::mutable_addtionlist(int index) { return addtionlist_.Mutable(index); } inline ::fish_protocols::skill_unit* wing_unit::add_addtionlist() { return addtionlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >& wing_unit::addtionlist() const { return addtionlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::skill_unit >* wing_unit::mutable_addtionlist() { return &addtionlist_; } // ------------------------------------------------------------------- // packetl2c_check_state_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_check_state_result]; inline bool packetl2c_check_state_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_check_state_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_check_state_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_check_state_result::clear_packet_id() { packet_id_ = 15004; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_check_state_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_check_state_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 bool is_intable = 2 [default = false]; inline bool packetl2c_check_state_result::has_is_intable() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_check_state_result::set_has_is_intable() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_check_state_result::clear_has_is_intable() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_check_state_result::clear_is_intable() { is_intable_ = false; clear_has_is_intable(); } inline bool packetl2c_check_state_result::is_intable() const { return is_intable_; } inline void packetl2c_check_state_result::set_is_intable(bool value) { set_has_is_intable(); is_intable_ = value; } // repeated .fish_protocols.msg_item itemlist = 3; inline int packetl2c_check_state_result::itemlist_size() const { return itemlist_.size(); } inline void packetl2c_check_state_result::clear_itemlist() { itemlist_.Clear(); } inline const ::fish_protocols::msg_item& packetl2c_check_state_result::itemlist(int index) const { return itemlist_.Get(index); } inline ::fish_protocols::msg_item* packetl2c_check_state_result::mutable_itemlist(int index) { return itemlist_.Mutable(index); } inline ::fish_protocols::msg_item* packetl2c_check_state_result::add_itemlist() { return itemlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& packetl2c_check_state_result::itemlist() const { return itemlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* packetl2c_check_state_result::mutable_itemlist() { return &itemlist_; } // repeated .fish_protocols.turret_unit turretlist = 4; inline int packetl2c_check_state_result::turretlist_size() const { return turretlist_.size(); } inline void packetl2c_check_state_result::clear_turretlist() { turretlist_.Clear(); } inline const ::fish_protocols::turret_unit& packetl2c_check_state_result::turretlist(int index) const { return turretlist_.Get(index); } inline ::fish_protocols::turret_unit* packetl2c_check_state_result::mutable_turretlist(int index) { return turretlist_.Mutable(index); } inline ::fish_protocols::turret_unit* packetl2c_check_state_result::add_turretlist() { return turretlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >& packetl2c_check_state_result::turretlist() const { return turretlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::turret_unit >* packetl2c_check_state_result::mutable_turretlist() { return &turretlist_; } // repeated .fish_protocols.wing_unit winglist = 5; inline int packetl2c_check_state_result::winglist_size() const { return winglist_.size(); } inline void packetl2c_check_state_result::clear_winglist() { winglist_.Clear(); } inline const ::fish_protocols::wing_unit& packetl2c_check_state_result::winglist(int index) const { return winglist_.Get(index); } inline ::fish_protocols::wing_unit* packetl2c_check_state_result::mutable_winglist(int index) { return winglist_.Mutable(index); } inline ::fish_protocols::wing_unit* packetl2c_check_state_result::add_winglist() { return winglist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >& packetl2c_check_state_result::winglist() const { return winglist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::wing_unit >* packetl2c_check_state_result::mutable_winglist() { return &winglist_; } // optional int32 turret_id = 6; inline bool packetl2c_check_state_result::has_turret_id() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_check_state_result::set_has_turret_id() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_check_state_result::clear_has_turret_id() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_check_state_result::clear_turret_id() { turret_id_ = 0; clear_has_turret_id(); } inline ::google::protobuf::int32 packetl2c_check_state_result::turret_id() const { return turret_id_; } inline void packetl2c_check_state_result::set_turret_id(::google::protobuf::int32 value) { set_has_turret_id(); turret_id_ = value; } // optional int32 wing_id = 7; inline bool packetl2c_check_state_result::has_wing_id() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void packetl2c_check_state_result::set_has_wing_id() { _has_bits_[0] |= 0x00000040u; } inline void packetl2c_check_state_result::clear_has_wing_id() { _has_bits_[0] &= ~0x00000040u; } inline void packetl2c_check_state_result::clear_wing_id() { wing_id_ = 0; clear_has_wing_id(); } inline ::google::protobuf::int32 packetl2c_check_state_result::wing_id() const { return wing_id_; } inline void packetl2c_check_state_result::set_wing_id(::google::protobuf::int32 value) { set_has_wing_id(); wing_id_ = value; } // optional int32 headId = 8; inline bool packetl2c_check_state_result::has_headid() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void packetl2c_check_state_result::set_has_headid() { _has_bits_[0] |= 0x00000080u; } inline void packetl2c_check_state_result::clear_has_headid() { _has_bits_[0] &= ~0x00000080u; } inline void packetl2c_check_state_result::clear_headid() { headid_ = 0; clear_has_headid(); } inline ::google::protobuf::int32 packetl2c_check_state_result::headid() const { return headid_; } inline void packetl2c_check_state_result::set_headid(::google::protobuf::int32 value) { set_has_headid(); headid_ = value; } // optional int32 frameId = 9; inline bool packetl2c_check_state_result::has_frameid() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void packetl2c_check_state_result::set_has_frameid() { _has_bits_[0] |= 0x00000100u; } inline void packetl2c_check_state_result::clear_has_frameid() { _has_bits_[0] &= ~0x00000100u; } inline void packetl2c_check_state_result::clear_frameid() { frameid_ = 0; clear_has_frameid(); } inline ::google::protobuf::int32 packetl2c_check_state_result::frameid() const { return frameid_; } inline void packetl2c_check_state_result::set_frameid(::google::protobuf::int32 value) { set_has_frameid(); frameid_ = value; } // optional int32 playerlvl = 10; inline bool packetl2c_check_state_result::has_playerlvl() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void packetl2c_check_state_result::set_has_playerlvl() { _has_bits_[0] |= 0x00000200u; } inline void packetl2c_check_state_result::clear_has_playerlvl() { _has_bits_[0] &= ~0x00000200u; } inline void packetl2c_check_state_result::clear_playerlvl() { playerlvl_ = 0; clear_has_playerlvl(); } inline ::google::protobuf::int32 packetl2c_check_state_result::playerlvl() const { return playerlvl_; } inline void packetl2c_check_state_result::set_playerlvl(::google::protobuf::int32 value) { set_has_playerlvl(); playerlvl_ = value; } // optional int32 turretlvl = 11; inline bool packetl2c_check_state_result::has_turretlvl() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void packetl2c_check_state_result::set_has_turretlvl() { _has_bits_[0] |= 0x00000400u; } inline void packetl2c_check_state_result::clear_has_turretlvl() { _has_bits_[0] &= ~0x00000400u; } inline void packetl2c_check_state_result::clear_turretlvl() { turretlvl_ = 0; clear_has_turretlvl(); } inline ::google::protobuf::int32 packetl2c_check_state_result::turretlvl() const { return turretlvl_; } inline void packetl2c_check_state_result::set_turretlvl(::google::protobuf::int32 value) { set_has_turretlvl(); turretlvl_ = value; } // optional int64 gameexp = 12; inline bool packetl2c_check_state_result::has_gameexp() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void packetl2c_check_state_result::set_has_gameexp() { _has_bits_[0] |= 0x00000800u; } inline void packetl2c_check_state_result::clear_has_gameexp() { _has_bits_[0] &= ~0x00000800u; } inline void packetl2c_check_state_result::clear_gameexp() { gameexp_ = GOOGLE_LONGLONG(0); clear_has_gameexp(); } inline ::google::protobuf::int64 packetl2c_check_state_result::gameexp() const { return gameexp_; } inline void packetl2c_check_state_result::set_gameexp(::google::protobuf::int64 value) { set_has_gameexp(); gameexp_ = value; } // optional int32 dimensity = 13; inline bool packetl2c_check_state_result::has_dimensity() const { return (_has_bits_[0] & 0x00001000u) != 0; } inline void packetl2c_check_state_result::set_has_dimensity() { _has_bits_[0] |= 0x00001000u; } inline void packetl2c_check_state_result::clear_has_dimensity() { _has_bits_[0] &= ~0x00001000u; } inline void packetl2c_check_state_result::clear_dimensity() { dimensity_ = 0; clear_has_dimensity(); } inline ::google::protobuf::int32 packetl2c_check_state_result::dimensity() const { return dimensity_; } inline void packetl2c_check_state_result::set_dimensity(::google::protobuf::int32 value) { set_has_dimensity(); dimensity_ = value; } // optional int32 roomId = 14; inline bool packetl2c_check_state_result::has_roomid() const { return (_has_bits_[0] & 0x00002000u) != 0; } inline void packetl2c_check_state_result::set_has_roomid() { _has_bits_[0] |= 0x00002000u; } inline void packetl2c_check_state_result::clear_has_roomid() { _has_bits_[0] &= ~0x00002000u; } inline void packetl2c_check_state_result::clear_roomid() { roomid_ = 0; clear_has_roomid(); } inline ::google::protobuf::int32 packetl2c_check_state_result::roomid() const { return roomid_; } inline void packetl2c_check_state_result::set_roomid(::google::protobuf::int32 value) { set_has_roomid(); roomid_ = value; } // optional int32 kill_goldfish_count = 15; inline bool packetl2c_check_state_result::has_kill_goldfish_count() const { return (_has_bits_[0] & 0x00004000u) != 0; } inline void packetl2c_check_state_result::set_has_kill_goldfish_count() { _has_bits_[0] |= 0x00004000u; } inline void packetl2c_check_state_result::clear_has_kill_goldfish_count() { _has_bits_[0] &= ~0x00004000u; } inline void packetl2c_check_state_result::clear_kill_goldfish_count() { kill_goldfish_count_ = 0; clear_has_kill_goldfish_count(); } inline ::google::protobuf::int32 packetl2c_check_state_result::kill_goldfish_count() const { return kill_goldfish_count_; } inline void packetl2c_check_state_result::set_kill_goldfish_count(::google::protobuf::int32 value) { set_has_kill_goldfish_count(); kill_goldfish_count_ = value; } // optional int32 goldfish_pool = 16; inline bool packetl2c_check_state_result::has_goldfish_pool() const { return (_has_bits_[0] & 0x00008000u) != 0; } inline void packetl2c_check_state_result::set_has_goldfish_pool() { _has_bits_[0] |= 0x00008000u; } inline void packetl2c_check_state_result::clear_has_goldfish_pool() { _has_bits_[0] &= ~0x00008000u; } inline void packetl2c_check_state_result::clear_goldfish_pool() { goldfish_pool_ = 0; clear_has_goldfish_pool(); } inline ::google::protobuf::int32 packetl2c_check_state_result::goldfish_pool() const { return goldfish_pool_; } inline void packetl2c_check_state_result::set_goldfish_pool(::google::protobuf::int32 value) { set_has_goldfish_pool(); goldfish_pool_ = value; } // optional int32 goldfish_lottery_count = 17; inline bool packetl2c_check_state_result::has_goldfish_lottery_count() const { return (_has_bits_[0] & 0x00010000u) != 0; } inline void packetl2c_check_state_result::set_has_goldfish_lottery_count() { _has_bits_[0] |= 0x00010000u; } inline void packetl2c_check_state_result::clear_has_goldfish_lottery_count() { _has_bits_[0] &= ~0x00010000u; } inline void packetl2c_check_state_result::clear_goldfish_lottery_count() { goldfish_lottery_count_ = 0; clear_has_goldfish_lottery_count(); } inline ::google::protobuf::int32 packetl2c_check_state_result::goldfish_lottery_count() const { return goldfish_lottery_count_; } inline void packetl2c_check_state_result::set_goldfish_lottery_count(::google::protobuf::int32 value) { set_has_goldfish_lottery_count(); goldfish_lottery_count_ = value; } // optional int32 dailyAdTimes = 18; inline bool packetl2c_check_state_result::has_dailyadtimes() const { return (_has_bits_[0] & 0x00020000u) != 0; } inline void packetl2c_check_state_result::set_has_dailyadtimes() { _has_bits_[0] |= 0x00020000u; } inline void packetl2c_check_state_result::clear_has_dailyadtimes() { _has_bits_[0] &= ~0x00020000u; } inline void packetl2c_check_state_result::clear_dailyadtimes() { dailyadtimes_ = 0; clear_has_dailyadtimes(); } inline ::google::protobuf::int32 packetl2c_check_state_result::dailyadtimes() const { return dailyadtimes_; } inline void packetl2c_check_state_result::set_dailyadtimes(::google::protobuf::int32 value) { set_has_dailyadtimes(); dailyadtimes_ = value; } // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 19; inline int packetl2c_check_state_result::redenvlopeinfos_size() const { return redenvlopeinfos_.size(); } inline void packetl2c_check_state_result::clear_redenvlopeinfos() { redenvlopeinfos_.Clear(); } inline const ::fish_protocols::redEnvlopeInfo& packetl2c_check_state_result::redenvlopeinfos(int index) const { return redenvlopeinfos_.Get(index); } inline ::fish_protocols::redEnvlopeInfo* packetl2c_check_state_result::mutable_redenvlopeinfos(int index) { return redenvlopeinfos_.Mutable(index); } inline ::fish_protocols::redEnvlopeInfo* packetl2c_check_state_result::add_redenvlopeinfos() { return redenvlopeinfos_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >& packetl2c_check_state_result::redenvlopeinfos() const { return redenvlopeinfos_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::redEnvlopeInfo >* packetl2c_check_state_result::mutable_redenvlopeinfos() { return &redenvlopeinfos_; } // optional int32 autofirelefttime = 20; inline bool packetl2c_check_state_result::has_autofirelefttime() const { return (_has_bits_[0] & 0x00080000u) != 0; } inline void packetl2c_check_state_result::set_has_autofirelefttime() { _has_bits_[0] |= 0x00080000u; } inline void packetl2c_check_state_result::clear_has_autofirelefttime() { _has_bits_[0] &= ~0x00080000u; } inline void packetl2c_check_state_result::clear_autofirelefttime() { autofirelefttime_ = 0; clear_has_autofirelefttime(); } inline ::google::protobuf::int32 packetl2c_check_state_result::autofirelefttime() const { return autofirelefttime_; } inline void packetl2c_check_state_result::set_autofirelefttime(::google::protobuf::int32 value) { set_has_autofirelefttime(); autofirelefttime_ = value; } // optional int32 canReceiveTommorrowBuffCount = 21; inline bool packetl2c_check_state_result::has_canreceivetommorrowbuffcount() const { return (_has_bits_[0] & 0x00100000u) != 0; } inline void packetl2c_check_state_result::set_has_canreceivetommorrowbuffcount() { _has_bits_[0] |= 0x00100000u; } inline void packetl2c_check_state_result::clear_has_canreceivetommorrowbuffcount() { _has_bits_[0] &= ~0x00100000u; } inline void packetl2c_check_state_result::clear_canreceivetommorrowbuffcount() { canreceivetommorrowbuffcount_ = 0; clear_has_canreceivetommorrowbuffcount(); } inline ::google::protobuf::int32 packetl2c_check_state_result::canreceivetommorrowbuffcount() const { return canreceivetommorrowbuffcount_; } inline void packetl2c_check_state_result::set_canreceivetommorrowbuffcount(::google::protobuf::int32 value) { set_has_canreceivetommorrowbuffcount(); canreceivetommorrowbuffcount_ = value; } // optional bool canReceiveTommorrowBuffToday = 22; inline bool packetl2c_check_state_result::has_canreceivetommorrowbufftoday() const { return (_has_bits_[0] & 0x00200000u) != 0; } inline void packetl2c_check_state_result::set_has_canreceivetommorrowbufftoday() { _has_bits_[0] |= 0x00200000u; } inline void packetl2c_check_state_result::clear_has_canreceivetommorrowbufftoday() { _has_bits_[0] &= ~0x00200000u; } inline void packetl2c_check_state_result::clear_canreceivetommorrowbufftoday() { canreceivetommorrowbufftoday_ = false; clear_has_canreceivetommorrowbufftoday(); } inline bool packetl2c_check_state_result::canreceivetommorrowbufftoday() const { return canreceivetommorrowbufftoday_; } inline void packetl2c_check_state_result::set_canreceivetommorrowbufftoday(bool value) { set_has_canreceivetommorrowbufftoday(); canreceivetommorrowbufftoday_ = value; } // ------------------------------------------------------------------- // packetc2l_buy_item // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_item]; inline bool packetc2l_buy_item::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_buy_item::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_buy_item::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_buy_item::clear_packet_id() { packet_id_ = 10105; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_buy_item::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_buy_item::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 bool isshop = 2; inline bool packetc2l_buy_item::has_isshop() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_buy_item::set_has_isshop() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_buy_item::clear_has_isshop() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_buy_item::clear_isshop() { isshop_ = false; clear_has_isshop(); } inline bool packetc2l_buy_item::isshop() const { return isshop_; } inline void packetc2l_buy_item::set_isshop(bool value) { set_has_isshop(); isshop_ = value; } // optional int32 shop_id = 3; inline bool packetc2l_buy_item::has_shop_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_buy_item::set_has_shop_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_buy_item::clear_has_shop_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_buy_item::clear_shop_id() { shop_id_ = 0; clear_has_shop_id(); } inline ::google::protobuf::int32 packetc2l_buy_item::shop_id() const { return shop_id_; } inline void packetc2l_buy_item::set_shop_id(::google::protobuf::int32 value) { set_has_shop_id(); shop_id_ = value; } // optional int32 shop_count = 4 [default = 1]; inline bool packetc2l_buy_item::has_shop_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetc2l_buy_item::set_has_shop_count() { _has_bits_[0] |= 0x00000008u; } inline void packetc2l_buy_item::clear_has_shop_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetc2l_buy_item::clear_shop_count() { shop_count_ = 1; clear_has_shop_count(); } inline ::google::protobuf::int32 packetc2l_buy_item::shop_count() const { return shop_count_; } inline void packetc2l_buy_item::set_shop_count(::google::protobuf::int32 value) { set_has_shop_count(); shop_count_ = value; } // ------------------------------------------------------------------- // packetl2c_buy_item_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_item_result]; inline bool packetl2c_buy_item_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_buy_item_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_buy_item_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_buy_item_result::clear_packet_id() { packet_id_ = 15210; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_buy_item_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_buy_item_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 shop_id = 2; inline bool packetl2c_buy_item_result::has_shop_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_buy_item_result::set_has_shop_id() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_buy_item_result::clear_has_shop_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_buy_item_result::clear_shop_id() { shop_id_ = 0; clear_has_shop_id(); } inline ::google::protobuf::int32 packetl2c_buy_item_result::shop_id() const { return shop_id_; } inline void packetl2c_buy_item_result::set_shop_id(::google::protobuf::int32 value) { set_has_shop_id(); shop_id_ = value; } // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail]; inline bool packetl2c_buy_item_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_buy_item_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_buy_item_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_buy_item_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_buy_item_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_buy_item_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 shop_count = 4 [default = 1]; inline bool packetl2c_buy_item_result::has_shop_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_buy_item_result::set_has_shop_count() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_buy_item_result::clear_has_shop_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_buy_item_result::clear_shop_count() { shop_count_ = 1; clear_has_shop_count(); } inline ::google::protobuf::int32 packetl2c_buy_item_result::shop_count() const { return shop_count_; } inline void packetl2c_buy_item_result::set_shop_count(::google::protobuf::int32 value) { set_has_shop_count(); shop_count_ = value; } // ------------------------------------------------------------------- // packetc2l_use_item // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_use_item]; inline bool packetc2l_use_item::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_use_item::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_use_item::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_use_item::clear_packet_id() { packet_id_ = 10106; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_use_item::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_use_item::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 item_id = 2; inline bool packetc2l_use_item::has_item_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_use_item::set_has_item_id() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_use_item::clear_has_item_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_use_item::clear_item_id() { item_id_ = 0; clear_has_item_id(); } inline ::google::protobuf::int32 packetc2l_use_item::item_id() const { return item_id_; } inline void packetc2l_use_item::set_item_id(::google::protobuf::int32 value) { set_has_item_id(); item_id_ = value; } // optional int32 whereUse = 3; inline bool packetc2l_use_item::has_whereuse() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_use_item::set_has_whereuse() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_use_item::clear_has_whereuse() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_use_item::clear_whereuse() { whereuse_ = 0; clear_has_whereuse(); } inline ::google::protobuf::int32 packetc2l_use_item::whereuse() const { return whereuse_; } inline void packetc2l_use_item::set_whereuse(::google::protobuf::int32 value) { set_has_whereuse(); whereuse_ = value; } // ------------------------------------------------------------------- // getItemsInfo // optional int32 itemid = 8; inline bool getItemsInfo::has_itemid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void getItemsInfo::set_has_itemid() { _has_bits_[0] |= 0x00000001u; } inline void getItemsInfo::clear_has_itemid() { _has_bits_[0] &= ~0x00000001u; } inline void getItemsInfo::clear_itemid() { itemid_ = 0; clear_has_itemid(); } inline ::google::protobuf::int32 getItemsInfo::itemid() const { return itemid_; } inline void getItemsInfo::set_itemid(::google::protobuf::int32 value) { set_has_itemid(); itemid_ = value; } // optional int32 itemcount = 9; inline bool getItemsInfo::has_itemcount() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void getItemsInfo::set_has_itemcount() { _has_bits_[0] |= 0x00000002u; } inline void getItemsInfo::clear_has_itemcount() { _has_bits_[0] &= ~0x00000002u; } inline void getItemsInfo::clear_itemcount() { itemcount_ = 0; clear_has_itemcount(); } inline ::google::protobuf::int32 getItemsInfo::itemcount() const { return itemcount_; } inline void getItemsInfo::set_itemcount(::google::protobuf::int32 value) { set_has_itemcount(); itemcount_ = value; } // ------------------------------------------------------------------- // ItemInfo // optional int32 itemId = 1; inline bool ItemInfo::has_itemid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ItemInfo::set_has_itemid() { _has_bits_[0] |= 0x00000001u; } inline void ItemInfo::clear_has_itemid() { _has_bits_[0] &= ~0x00000001u; } inline void ItemInfo::clear_itemid() { itemid_ = 0; clear_has_itemid(); } inline ::google::protobuf::int32 ItemInfo::itemid() const { return itemid_; } inline void ItemInfo::set_itemid(::google::protobuf::int32 value) { set_has_itemid(); itemid_ = value; } // optional int32 count = 2; inline bool ItemInfo::has_count() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ItemInfo::set_has_count() { _has_bits_[0] |= 0x00000002u; } inline void ItemInfo::clear_has_count() { _has_bits_[0] &= ~0x00000002u; } inline void ItemInfo::clear_count() { count_ = 0; clear_has_count(); } inline ::google::protobuf::int32 ItemInfo::count() const { return count_; } inline void ItemInfo::set_count(::google::protobuf::int32 value) { set_has_count(); count_ = value; } // ------------------------------------------------------------------- // packetl2c_use_item_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_use_item_result]; inline bool packetl2c_use_item_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_use_item_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_use_item_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_use_item_result::clear_packet_id() { packet_id_ = 15211; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_use_item_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_use_item_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 pid = 2; inline bool packetl2c_use_item_result::has_pid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_use_item_result::set_has_pid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_use_item_result::clear_has_pid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_use_item_result::clear_pid() { pid_ = 0; clear_has_pid(); } inline ::google::protobuf::int32 packetl2c_use_item_result::pid() const { return pid_; } inline void packetl2c_use_item_result::set_pid(::google::protobuf::int32 value) { set_has_pid(); pid_ = value; } // optional int32 item_id = 3; inline bool packetl2c_use_item_result::has_item_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_use_item_result::set_has_item_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_use_item_result::clear_has_item_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_use_item_result::clear_item_id() { item_id_ = 0; clear_has_item_id(); } inline ::google::protobuf::int32 packetl2c_use_item_result::item_id() const { return item_id_; } inline void packetl2c_use_item_result::set_item_id(::google::protobuf::int32 value) { set_has_item_id(); item_id_ = value; } // optional .msg_type_def.e_msg_result_def result = 4 [default = e_rmt_fail]; inline bool packetl2c_use_item_result::has_result() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_use_item_result::set_has_result() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_use_item_result::clear_has_result() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_use_item_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_use_item_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_use_item_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 item_count = 5 [default = 1]; inline bool packetl2c_use_item_result::has_item_count() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_use_item_result::set_has_item_count() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_use_item_result::clear_has_item_count() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_use_item_result::clear_item_count() { item_count_ = 1; clear_has_item_count(); } inline ::google::protobuf::int32 packetl2c_use_item_result::item_count() const { return item_count_; } inline void packetl2c_use_item_result::set_item_count(::google::protobuf::int32 value) { set_has_item_count(); item_count_ = value; } // optional int32 whereUse = 6; inline bool packetl2c_use_item_result::has_whereuse() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_use_item_result::set_has_whereuse() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_use_item_result::clear_has_whereuse() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_use_item_result::clear_whereuse() { whereuse_ = 0; clear_has_whereuse(); } inline ::google::protobuf::int32 packetl2c_use_item_result::whereuse() const { return whereuse_; } inline void packetl2c_use_item_result::set_whereuse(::google::protobuf::int32 value) { set_has_whereuse(); whereuse_ = value; } // optional int32 score = 7; inline bool packetl2c_use_item_result::has_score() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void packetl2c_use_item_result::set_has_score() { _has_bits_[0] |= 0x00000040u; } inline void packetl2c_use_item_result::clear_has_score() { _has_bits_[0] &= ~0x00000040u; } inline void packetl2c_use_item_result::clear_score() { score_ = 0; clear_has_score(); } inline ::google::protobuf::int32 packetl2c_use_item_result::score() const { return score_; } inline void packetl2c_use_item_result::set_score(::google::protobuf::int32 value) { set_has_score(); score_ = value; } // repeated .fish_protocols.ItemInfo items = 8; inline int packetl2c_use_item_result::items_size() const { return items_.size(); } inline void packetl2c_use_item_result::clear_items() { items_.Clear(); } inline const ::fish_protocols::ItemInfo& packetl2c_use_item_result::items(int index) const { return items_.Get(index); } inline ::fish_protocols::ItemInfo* packetl2c_use_item_result::mutable_items(int index) { return items_.Mutable(index); } inline ::fish_protocols::ItemInfo* packetl2c_use_item_result::add_items() { return items_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >& packetl2c_use_item_result::items() const { return items_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::ItemInfo >* packetl2c_use_item_result::mutable_items() { return &items_; } // ------------------------------------------------------------------- // packetc2l_change_turret // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_turret]; inline bool packetc2l_change_turret::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_change_turret::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_change_turret::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_change_turret::clear_packet_id() { packet_id_ = 10214; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_change_turret::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_change_turret::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 turret_id = 2; inline bool packetc2l_change_turret::has_turret_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_change_turret::set_has_turret_id() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_change_turret::clear_has_turret_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_change_turret::clear_turret_id() { turret_id_ = 0; clear_has_turret_id(); } inline ::google::protobuf::int32 packetc2l_change_turret::turret_id() const { return turret_id_; } inline void packetc2l_change_turret::set_turret_id(::google::protobuf::int32 value) { set_has_turret_id(); turret_id_ = value; } // optional int32 wing_id = 3; inline bool packetc2l_change_turret::has_wing_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_change_turret::set_has_wing_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_change_turret::clear_has_wing_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_change_turret::clear_wing_id() { wing_id_ = 0; clear_has_wing_id(); } inline ::google::protobuf::int32 packetc2l_change_turret::wing_id() const { return wing_id_; } inline void packetc2l_change_turret::set_wing_id(::google::protobuf::int32 value) { set_has_wing_id(); wing_id_ = value; } // ------------------------------------------------------------------- // packetl2c_change_turret_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_turret_result]; inline bool packetl2c_change_turret_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_change_turret_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_change_turret_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_change_turret_result::clear_packet_id() { packet_id_ = 16217; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_change_turret_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_change_turret_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_change_turret_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_change_turret_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_change_turret_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_change_turret_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_change_turret_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_change_turret_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 player_id = 3; inline bool packetl2c_change_turret_result::has_player_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_change_turret_result::set_has_player_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_change_turret_result::clear_has_player_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_change_turret_result::clear_player_id() { player_id_ = 0; clear_has_player_id(); } inline ::google::protobuf::int32 packetl2c_change_turret_result::player_id() const { return player_id_; } inline void packetl2c_change_turret_result::set_player_id(::google::protobuf::int32 value) { set_has_player_id(); player_id_ = value; } // optional int32 turret_id = 4; inline bool packetl2c_change_turret_result::has_turret_id() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_change_turret_result::set_has_turret_id() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_change_turret_result::clear_has_turret_id() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_change_turret_result::clear_turret_id() { turret_id_ = 0; clear_has_turret_id(); } inline ::google::protobuf::int32 packetl2c_change_turret_result::turret_id() const { return turret_id_; } inline void packetl2c_change_turret_result::set_turret_id(::google::protobuf::int32 value) { set_has_turret_id(); turret_id_ = value; } // optional int32 turret_lv = 5; inline bool packetl2c_change_turret_result::has_turret_lv() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_change_turret_result::set_has_turret_lv() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_change_turret_result::clear_has_turret_lv() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_change_turret_result::clear_turret_lv() { turret_lv_ = 0; clear_has_turret_lv(); } inline ::google::protobuf::int32 packetl2c_change_turret_result::turret_lv() const { return turret_lv_; } inline void packetl2c_change_turret_result::set_turret_lv(::google::protobuf::int32 value) { set_has_turret_lv(); turret_lv_ = value; } // optional int32 wing_id = 6; inline bool packetl2c_change_turret_result::has_wing_id() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_change_turret_result::set_has_wing_id() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_change_turret_result::clear_has_wing_id() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_change_turret_result::clear_wing_id() { wing_id_ = 0; clear_has_wing_id(); } inline ::google::protobuf::int32 packetl2c_change_turret_result::wing_id() const { return wing_id_; } inline void packetl2c_change_turret_result::set_wing_id(::google::protobuf::int32 value) { set_has_wing_id(); wing_id_ = value; } // optional int32 wing_lv = 7; inline bool packetl2c_change_turret_result::has_wing_lv() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void packetl2c_change_turret_result::set_has_wing_lv() { _has_bits_[0] |= 0x00000040u; } inline void packetl2c_change_turret_result::clear_has_wing_lv() { _has_bits_[0] &= ~0x00000040u; } inline void packetl2c_change_turret_result::clear_wing_lv() { wing_lv_ = 0; clear_has_wing_lv(); } inline ::google::protobuf::int32 packetl2c_change_turret_result::wing_lv() const { return wing_lv_; } inline void packetl2c_change_turret_result::set_wing_lv(::google::protobuf::int32 value) { set_has_wing_lv(); wing_lv_ = value; } // ------------------------------------------------------------------- // PointsRankInfo // optional int32 rank = 1; inline bool PointsRankInfo::has_rank() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void PointsRankInfo::set_has_rank() { _has_bits_[0] |= 0x00000001u; } inline void PointsRankInfo::clear_has_rank() { _has_bits_[0] &= ~0x00000001u; } inline void PointsRankInfo::clear_rank() { rank_ = 0; clear_has_rank(); } inline ::google::protobuf::int32 PointsRankInfo::rank() const { return rank_; } inline void PointsRankInfo::set_rank(::google::protobuf::int32 value) { set_has_rank(); rank_ = value; } // optional int32 playerId = 2; inline bool PointsRankInfo::has_playerid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void PointsRankInfo::set_has_playerid() { _has_bits_[0] |= 0x00000002u; } inline void PointsRankInfo::clear_has_playerid() { _has_bits_[0] &= ~0x00000002u; } inline void PointsRankInfo::clear_playerid() { playerid_ = 0; clear_has_playerid(); } inline ::google::protobuf::int32 PointsRankInfo::playerid() const { return playerid_; } inline void PointsRankInfo::set_playerid(::google::protobuf::int32 value) { set_has_playerid(); playerid_ = value; } // optional string nickName = 3; inline bool PointsRankInfo::has_nickname() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void PointsRankInfo::set_has_nickname() { _has_bits_[0] |= 0x00000004u; } inline void PointsRankInfo::clear_has_nickname() { _has_bits_[0] &= ~0x00000004u; } inline void PointsRankInfo::clear_nickname() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } clear_has_nickname(); } inline const ::std::string& PointsRankInfo::nickname() const { return *nickname_; } inline void PointsRankInfo::set_nickname(const ::std::string& value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void PointsRankInfo::set_nickname(const char* value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void PointsRankInfo::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* PointsRankInfo::mutable_nickname() { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } return nickname_; } inline ::std::string* PointsRankInfo::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 PointsRankInfo::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 int64 points = 4; inline bool PointsRankInfo::has_points() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void PointsRankInfo::set_has_points() { _has_bits_[0] |= 0x00000008u; } inline void PointsRankInfo::clear_has_points() { _has_bits_[0] &= ~0x00000008u; } inline void PointsRankInfo::clear_points() { points_ = GOOGLE_LONGLONG(0); clear_has_points(); } inline ::google::protobuf::int64 PointsRankInfo::points() const { return points_; } inline void PointsRankInfo::set_points(::google::protobuf::int64 value) { set_has_points(); points_ = value; } // optional int32 singleMax = 5; inline bool PointsRankInfo::has_singlemax() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void PointsRankInfo::set_has_singlemax() { _has_bits_[0] |= 0x00000010u; } inline void PointsRankInfo::clear_has_singlemax() { _has_bits_[0] &= ~0x00000010u; } inline void PointsRankInfo::clear_singlemax() { singlemax_ = 0; clear_has_singlemax(); } inline ::google::protobuf::int32 PointsRankInfo::singlemax() const { return singlemax_; } inline void PointsRankInfo::set_singlemax(::google::protobuf::int32 value) { set_has_singlemax(); singlemax_ = value; } // optional int32 viplv = 6; inline bool PointsRankInfo::has_viplv() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void PointsRankInfo::set_has_viplv() { _has_bits_[0] |= 0x00000020u; } inline void PointsRankInfo::clear_has_viplv() { _has_bits_[0] &= ~0x00000020u; } inline void PointsRankInfo::clear_viplv() { viplv_ = 0; clear_has_viplv(); } inline ::google::protobuf::int32 PointsRankInfo::viplv() const { return viplv_; } inline void PointsRankInfo::set_viplv(::google::protobuf::int32 value) { set_has_viplv(); viplv_ = value; } // optional int32 headid = 7; inline bool PointsRankInfo::has_headid() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void PointsRankInfo::set_has_headid() { _has_bits_[0] |= 0x00000040u; } inline void PointsRankInfo::clear_has_headid() { _has_bits_[0] &= ~0x00000040u; } inline void PointsRankInfo::clear_headid() { headid_ = 0; clear_has_headid(); } inline ::google::protobuf::int32 PointsRankInfo::headid() const { return headid_; } inline void PointsRankInfo::set_headid(::google::protobuf::int32 value) { set_has_headid(); headid_ = value; } // optional int32 frameid = 8; inline bool PointsRankInfo::has_frameid() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void PointsRankInfo::set_has_frameid() { _has_bits_[0] |= 0x00000080u; } inline void PointsRankInfo::clear_has_frameid() { _has_bits_[0] &= ~0x00000080u; } inline void PointsRankInfo::clear_frameid() { frameid_ = 0; clear_has_frameid(); } inline ::google::protobuf::int32 PointsRankInfo::frameid() const { return frameid_; } inline void PointsRankInfo::set_frameid(::google::protobuf::int32 value) { set_has_frameid(); frameid_ = value; } // ------------------------------------------------------------------- // packetc2l_get_points_rank // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_points_rank]; inline bool packetc2l_get_points_rank::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_get_points_rank::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_get_points_rank::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_get_points_rank::clear_packet_id() { packet_id_ = 10160; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_get_points_rank::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_get_points_rank::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_points_rank_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_points_rank_result]; inline bool packetl2c_get_points_rank_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_points_rank_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_points_rank_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_points_rank_result::clear_packet_id() { packet_id_ = 16151; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_points_rank_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_points_rank_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 int64 mypoint = 2; inline bool packetl2c_get_points_rank_result::has_mypoint() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_get_points_rank_result::set_has_mypoint() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_get_points_rank_result::clear_has_mypoint() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_get_points_rank_result::clear_mypoint() { mypoint_ = GOOGLE_LONGLONG(0); clear_has_mypoint(); } inline ::google::protobuf::int64 packetl2c_get_points_rank_result::mypoint() const { return mypoint_; } inline void packetl2c_get_points_rank_result::set_mypoint(::google::protobuf::int64 value) { set_has_mypoint(); mypoint_ = value; } // optional int32 mysinglepoint = 3; inline bool packetl2c_get_points_rank_result::has_mysinglepoint() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_get_points_rank_result::set_has_mysinglepoint() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_get_points_rank_result::clear_has_mysinglepoint() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_get_points_rank_result::clear_mysinglepoint() { mysinglepoint_ = 0; clear_has_mysinglepoint(); } inline ::google::protobuf::int32 packetl2c_get_points_rank_result::mysinglepoint() const { return mysinglepoint_; } inline void packetl2c_get_points_rank_result::set_mysinglepoint(::google::protobuf::int32 value) { set_has_mysinglepoint(); mysinglepoint_ = value; } // repeated .fish_protocols.PointsRankInfo PointRankList = 4; inline int packetl2c_get_points_rank_result::pointranklist_size() const { return pointranklist_.size(); } inline void packetl2c_get_points_rank_result::clear_pointranklist() { pointranklist_.Clear(); } inline const ::fish_protocols::PointsRankInfo& packetl2c_get_points_rank_result::pointranklist(int index) const { return pointranklist_.Get(index); } inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::mutable_pointranklist(int index) { return pointranklist_.Mutable(index); } inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::add_pointranklist() { return pointranklist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >& packetl2c_get_points_rank_result::pointranklist() const { return pointranklist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >* packetl2c_get_points_rank_result::mutable_pointranklist() { return &pointranklist_; } // repeated .fish_protocols.PointsRankInfo LuckyRankList = 5; inline int packetl2c_get_points_rank_result::luckyranklist_size() const { return luckyranklist_.size(); } inline void packetl2c_get_points_rank_result::clear_luckyranklist() { luckyranklist_.Clear(); } inline const ::fish_protocols::PointsRankInfo& packetl2c_get_points_rank_result::luckyranklist(int index) const { return luckyranklist_.Get(index); } inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::mutable_luckyranklist(int index) { return luckyranklist_.Mutable(index); } inline ::fish_protocols::PointsRankInfo* packetl2c_get_points_rank_result::add_luckyranklist() { return luckyranklist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >& packetl2c_get_points_rank_result::luckyranklist() const { return luckyranklist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::PointsRankInfo >* packetl2c_get_points_rank_result::mutable_luckyranklist() { return &luckyranklist_; } // repeated int32 PointThresholdvalue = 6; inline int packetl2c_get_points_rank_result::pointthresholdvalue_size() const { return pointthresholdvalue_.size(); } inline void packetl2c_get_points_rank_result::clear_pointthresholdvalue() { pointthresholdvalue_.Clear(); } inline ::google::protobuf::int32 packetl2c_get_points_rank_result::pointthresholdvalue(int index) const { return pointthresholdvalue_.Get(index); } inline void packetl2c_get_points_rank_result::set_pointthresholdvalue(int index, ::google::protobuf::int32 value) { pointthresholdvalue_.Set(index, value); } inline void packetl2c_get_points_rank_result::add_pointthresholdvalue(::google::protobuf::int32 value) { pointthresholdvalue_.Add(value); } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& packetl2c_get_points_rank_result::pointthresholdvalue() const { return pointthresholdvalue_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* packetl2c_get_points_rank_result::mutable_pointthresholdvalue() { return &pointthresholdvalue_; } // repeated int32 luckyThresholdvalue = 7; inline int packetl2c_get_points_rank_result::luckythresholdvalue_size() const { return luckythresholdvalue_.size(); } inline void packetl2c_get_points_rank_result::clear_luckythresholdvalue() { luckythresholdvalue_.Clear(); } inline ::google::protobuf::int32 packetl2c_get_points_rank_result::luckythresholdvalue(int index) const { return luckythresholdvalue_.Get(index); } inline void packetl2c_get_points_rank_result::set_luckythresholdvalue(int index, ::google::protobuf::int32 value) { luckythresholdvalue_.Set(index, value); } inline void packetl2c_get_points_rank_result::add_luckythresholdvalue(::google::protobuf::int32 value) { luckythresholdvalue_.Add(value); } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& packetl2c_get_points_rank_result::luckythresholdvalue() const { return luckythresholdvalue_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* packetl2c_get_points_rank_result::mutable_luckythresholdvalue() { return &luckythresholdvalue_; } // optional int64 myPointRank = 8; inline bool packetl2c_get_points_rank_result::has_mypointrank() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void packetl2c_get_points_rank_result::set_has_mypointrank() { _has_bits_[0] |= 0x00000080u; } inline void packetl2c_get_points_rank_result::clear_has_mypointrank() { _has_bits_[0] &= ~0x00000080u; } inline void packetl2c_get_points_rank_result::clear_mypointrank() { mypointrank_ = GOOGLE_LONGLONG(0); clear_has_mypointrank(); } inline ::google::protobuf::int64 packetl2c_get_points_rank_result::mypointrank() const { return mypointrank_; } inline void packetl2c_get_points_rank_result::set_mypointrank(::google::protobuf::int64 value) { set_has_mypointrank(); mypointrank_ = value; } // optional int64 myLuckyRank = 9; inline bool packetl2c_get_points_rank_result::has_myluckyrank() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void packetl2c_get_points_rank_result::set_has_myluckyrank() { _has_bits_[0] |= 0x00000100u; } inline void packetl2c_get_points_rank_result::clear_has_myluckyrank() { _has_bits_[0] &= ~0x00000100u; } inline void packetl2c_get_points_rank_result::clear_myluckyrank() { myluckyrank_ = GOOGLE_LONGLONG(0); clear_has_myluckyrank(); } inline ::google::protobuf::int64 packetl2c_get_points_rank_result::myluckyrank() const { return myluckyrank_; } inline void packetl2c_get_points_rank_result::set_myluckyrank(::google::protobuf::int64 value) { set_has_myluckyrank(); myluckyrank_ = value; } // ------------------------------------------------------------------- // exItemInfo // optional int32 ex_item_id = 1; inline bool exItemInfo::has_ex_item_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void exItemInfo::set_has_ex_item_id() { _has_bits_[0] |= 0x00000001u; } inline void exItemInfo::clear_has_ex_item_id() { _has_bits_[0] &= ~0x00000001u; } inline void exItemInfo::clear_ex_item_id() { ex_item_id_ = 0; clear_has_ex_item_id(); } inline ::google::protobuf::int32 exItemInfo::ex_item_id() const { return ex_item_id_; } inline void exItemInfo::set_ex_item_id(::google::protobuf::int32 value) { set_has_ex_item_id(); ex_item_id_ = value; } // optional int32 ex_item_count = 2; inline bool exItemInfo::has_ex_item_count() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void exItemInfo::set_has_ex_item_count() { _has_bits_[0] |= 0x00000002u; } inline void exItemInfo::clear_has_ex_item_count() { _has_bits_[0] &= ~0x00000002u; } inline void exItemInfo::clear_ex_item_count() { ex_item_count_ = 0; clear_has_ex_item_count(); } inline ::google::protobuf::int32 exItemInfo::ex_item_count() const { return ex_item_count_; } inline void exItemInfo::set_ex_item_count(::google::protobuf::int32 value) { set_has_ex_item_count(); ex_item_count_ = value; } // ------------------------------------------------------------------- // packetc2l_medium_grade_exchange // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_medium_grade_exchange]; inline bool packetc2l_medium_grade_exchange::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_medium_grade_exchange::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_medium_grade_exchange::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_medium_grade_exchange::clear_packet_id() { packet_id_ = 10161; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_medium_grade_exchange::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_medium_grade_exchange::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 exchange_id = 2; inline bool packetc2l_medium_grade_exchange::has_exchange_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_medium_grade_exchange::set_has_exchange_id() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_medium_grade_exchange::clear_has_exchange_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_medium_grade_exchange::clear_exchange_id() { exchange_id_ = 0; clear_has_exchange_id(); } inline ::google::protobuf::int32 packetc2l_medium_grade_exchange::exchange_id() const { return exchange_id_; } inline void packetc2l_medium_grade_exchange::set_exchange_id(::google::protobuf::int32 value) { set_has_exchange_id(); exchange_id_ = value; } // optional int32 ex_reward_id = 3; inline bool packetc2l_medium_grade_exchange::has_ex_reward_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_medium_grade_exchange::set_has_ex_reward_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_medium_grade_exchange::clear_has_ex_reward_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_medium_grade_exchange::clear_ex_reward_id() { ex_reward_id_ = 0; clear_has_ex_reward_id(); } inline ::google::protobuf::int32 packetc2l_medium_grade_exchange::ex_reward_id() const { return ex_reward_id_; } inline void packetc2l_medium_grade_exchange::set_ex_reward_id(::google::protobuf::int32 value) { set_has_ex_reward_id(); ex_reward_id_ = value; } // ------------------------------------------------------------------- // pointsInfo // optional int32 points = 1; inline bool pointsInfo::has_points() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void pointsInfo::set_has_points() { _has_bits_[0] |= 0x00000001u; } inline void pointsInfo::clear_has_points() { _has_bits_[0] &= ~0x00000001u; } inline void pointsInfo::clear_points() { points_ = 0; clear_has_points(); } inline ::google::protobuf::int32 pointsInfo::points() const { return points_; } inline void pointsInfo::set_points(::google::protobuf::int32 value) { set_has_points(); points_ = value; } // optional int32 pointsEx = 2; inline bool pointsInfo::has_pointsex() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void pointsInfo::set_has_pointsex() { _has_bits_[0] |= 0x00000002u; } inline void pointsInfo::clear_has_pointsex() { _has_bits_[0] &= ~0x00000002u; } inline void pointsInfo::clear_pointsex() { pointsex_ = 0; clear_has_pointsex(); } inline ::google::protobuf::int32 pointsInfo::pointsex() const { return pointsex_; } inline void pointsInfo::set_pointsex(::google::protobuf::int32 value) { set_has_pointsex(); pointsex_ = value; } // ------------------------------------------------------------------- // packetl2c_medium_grade_exchange_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_medium_grade_exchange_result]; inline bool packetl2c_medium_grade_exchange_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_medium_grade_exchange_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_medium_grade_exchange_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_medium_grade_exchange_result::clear_packet_id() { packet_id_ = 16152; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_medium_grade_exchange_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_medium_grade_exchange_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_medium_grade_exchange_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_medium_grade_exchange_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_medium_grade_exchange_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_medium_grade_exchange_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_medium_grade_exchange_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_medium_grade_exchange_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // repeated int32 exchange_id = 3; inline int packetl2c_medium_grade_exchange_result::exchange_id_size() const { return exchange_id_.size(); } inline void packetl2c_medium_grade_exchange_result::clear_exchange_id() { exchange_id_.Clear(); } inline ::google::protobuf::int32 packetl2c_medium_grade_exchange_result::exchange_id(int index) const { return exchange_id_.Get(index); } inline void packetl2c_medium_grade_exchange_result::set_exchange_id(int index, ::google::protobuf::int32 value) { exchange_id_.Set(index, value); } inline void packetl2c_medium_grade_exchange_result::add_exchange_id(::google::protobuf::int32 value) { exchange_id_.Add(value); } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& packetl2c_medium_grade_exchange_result::exchange_id() const { return exchange_id_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* packetl2c_medium_grade_exchange_result::mutable_exchange_id() { return &exchange_id_; } // repeated .fish_protocols.exItemInfo ex_item = 4; inline int packetl2c_medium_grade_exchange_result::ex_item_size() const { return ex_item_.size(); } inline void packetl2c_medium_grade_exchange_result::clear_ex_item() { ex_item_.Clear(); } inline const ::fish_protocols::exItemInfo& packetl2c_medium_grade_exchange_result::ex_item(int index) const { return ex_item_.Get(index); } inline ::fish_protocols::exItemInfo* packetl2c_medium_grade_exchange_result::mutable_ex_item(int index) { return ex_item_.Mutable(index); } inline ::fish_protocols::exItemInfo* packetl2c_medium_grade_exchange_result::add_ex_item() { return ex_item_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >& packetl2c_medium_grade_exchange_result::ex_item() const { return ex_item_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::exItemInfo >* packetl2c_medium_grade_exchange_result::mutable_ex_item() { return &ex_item_; } // repeated .fish_protocols.pointsInfo points = 5; inline int packetl2c_medium_grade_exchange_result::points_size() const { return points_.size(); } inline void packetl2c_medium_grade_exchange_result::clear_points() { points_.Clear(); } inline const ::fish_protocols::pointsInfo& packetl2c_medium_grade_exchange_result::points(int index) const { return points_.Get(index); } inline ::fish_protocols::pointsInfo* packetl2c_medium_grade_exchange_result::mutable_points(int index) { return points_.Mutable(index); } inline ::fish_protocols::pointsInfo* packetl2c_medium_grade_exchange_result::add_points() { return points_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >& packetl2c_medium_grade_exchange_result::points() const { return points_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::pointsInfo >* packetl2c_medium_grade_exchange_result::mutable_points() { return &points_; } // ------------------------------------------------------------------- // packetc2l_get_shoplist // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_shoplist]; inline bool packetc2l_get_shoplist::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_get_shoplist::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_get_shoplist::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_get_shoplist::clear_packet_id() { packet_id_ = 10107; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_get_shoplist::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_get_shoplist::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; } // ------------------------------------------------------------------- // msg_shopitem // optional int32 shop_id = 1; inline bool msg_shopitem::has_shop_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void msg_shopitem::set_has_shop_id() { _has_bits_[0] |= 0x00000001u; } inline void msg_shopitem::clear_has_shop_id() { _has_bits_[0] &= ~0x00000001u; } inline void msg_shopitem::clear_shop_id() { shop_id_ = 0; clear_has_shop_id(); } inline ::google::protobuf::int32 msg_shopitem::shop_id() const { return shop_id_; } inline void msg_shopitem::set_shop_id(::google::protobuf::int32 value) { set_has_shop_id(); shop_id_ = value; } // optional int32 item_id = 2; inline bool msg_shopitem::has_item_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void msg_shopitem::set_has_item_id() { _has_bits_[0] |= 0x00000002u; } inline void msg_shopitem::clear_has_item_id() { _has_bits_[0] &= ~0x00000002u; } inline void msg_shopitem::clear_item_id() { item_id_ = 0; clear_has_item_id(); } inline ::google::protobuf::int32 msg_shopitem::item_id() const { return item_id_; } inline void msg_shopitem::set_item_id(::google::protobuf::int32 value) { set_has_item_id(); item_id_ = value; } // optional int32 item_count = 3; inline bool msg_shopitem::has_item_count() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void msg_shopitem::set_has_item_count() { _has_bits_[0] |= 0x00000004u; } inline void msg_shopitem::clear_has_item_count() { _has_bits_[0] &= ~0x00000004u; } inline void msg_shopitem::clear_item_count() { item_count_ = 0; clear_has_item_count(); } inline ::google::protobuf::int32 msg_shopitem::item_count() const { return item_count_; } inline void msg_shopitem::set_item_count(::google::protobuf::int32 value) { set_has_item_count(); item_count_ = value; } // optional int32 consume_type = 4; inline bool msg_shopitem::has_consume_type() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void msg_shopitem::set_has_consume_type() { _has_bits_[0] |= 0x00000008u; } inline void msg_shopitem::clear_has_consume_type() { _has_bits_[0] &= ~0x00000008u; } inline void msg_shopitem::clear_consume_type() { consume_type_ = 0; clear_has_consume_type(); } inline ::google::protobuf::int32 msg_shopitem::consume_type() const { return consume_type_; } inline void msg_shopitem::set_consume_type(::google::protobuf::int32 value) { set_has_consume_type(); consume_type_ = value; } // optional int32 consume_count = 5; inline bool msg_shopitem::has_consume_count() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void msg_shopitem::set_has_consume_count() { _has_bits_[0] |= 0x00000010u; } inline void msg_shopitem::clear_has_consume_count() { _has_bits_[0] &= ~0x00000010u; } inline void msg_shopitem::clear_consume_count() { consume_count_ = 0; clear_has_consume_count(); } inline ::google::protobuf::int32 msg_shopitem::consume_count() const { return consume_count_; } inline void msg_shopitem::set_consume_count(::google::protobuf::int32 value) { set_has_consume_count(); consume_count_ = value; } // optional int32 show_type = 6; inline bool msg_shopitem::has_show_type() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void msg_shopitem::set_has_show_type() { _has_bits_[0] |= 0x00000020u; } inline void msg_shopitem::clear_has_show_type() { _has_bits_[0] &= ~0x00000020u; } inline void msg_shopitem::clear_show_type() { show_type_ = 0; clear_has_show_type(); } inline ::google::protobuf::int32 msg_shopitem::show_type() const { return show_type_; } inline void msg_shopitem::set_show_type(::google::protobuf::int32 value) { set_has_show_type(); show_type_ = value; } // optional int32 need_vip = 7; inline bool msg_shopitem::has_need_vip() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void msg_shopitem::set_has_need_vip() { _has_bits_[0] |= 0x00000040u; } inline void msg_shopitem::clear_has_need_vip() { _has_bits_[0] &= ~0x00000040u; } inline void msg_shopitem::clear_need_vip() { need_vip_ = 0; clear_has_need_vip(); } inline ::google::protobuf::int32 msg_shopitem::need_vip() const { return need_vip_; } inline void msg_shopitem::set_need_vip(::google::protobuf::int32 value) { set_has_need_vip(); need_vip_ = value; } // optional int32 show_tab = 8; inline bool msg_shopitem::has_show_tab() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void msg_shopitem::set_has_show_tab() { _has_bits_[0] |= 0x00000080u; } inline void msg_shopitem::clear_has_show_tab() { _has_bits_[0] &= ~0x00000080u; } inline void msg_shopitem::clear_show_tab() { show_tab_ = 0; clear_has_show_tab(); } inline ::google::protobuf::int32 msg_shopitem::show_tab() const { return show_tab_; } inline void msg_shopitem::set_show_tab(::google::protobuf::int32 value) { set_has_show_tab(); show_tab_ = value; } // ------------------------------------------------------------------- // packetl2c_get_shoplist_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_shoplist_result]; inline bool packetl2c_get_shoplist_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_shoplist_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_shoplist_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_shoplist_result::clear_packet_id() { packet_id_ = 15212; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_shoplist_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_shoplist_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.msg_shopitem shoplist = 2; inline int packetl2c_get_shoplist_result::shoplist_size() const { return shoplist_.size(); } inline void packetl2c_get_shoplist_result::clear_shoplist() { shoplist_.Clear(); } inline const ::fish_protocols::msg_shopitem& packetl2c_get_shoplist_result::shoplist(int index) const { return shoplist_.Get(index); } inline ::fish_protocols::msg_shopitem* packetl2c_get_shoplist_result::mutable_shoplist(int index) { return shoplist_.Mutable(index); } inline ::fish_protocols::msg_shopitem* packetl2c_get_shoplist_result::add_shoplist() { return shoplist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >& packetl2c_get_shoplist_result::shoplist() const { return shoplist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_shopitem >* packetl2c_get_shoplist_result::mutable_shoplist() { return &shoplist_; } // ------------------------------------------------------------------- // packetc2l_turret_levelup // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_levelup]; inline bool packetc2l_turret_levelup::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_turret_levelup::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_turret_levelup::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_turret_levelup::clear_packet_id() { packet_id_ = 10111; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_turret_levelup::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_turret_levelup::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 bool uselucky = 2 [default = false]; inline bool packetc2l_turret_levelup::has_uselucky() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_turret_levelup::set_has_uselucky() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_turret_levelup::clear_has_uselucky() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_turret_levelup::clear_uselucky() { uselucky_ = false; clear_has_uselucky(); } inline bool packetc2l_turret_levelup::uselucky() const { return uselucky_; } inline void packetc2l_turret_levelup::set_uselucky(bool value) { set_has_uselucky(); uselucky_ = value; } // ------------------------------------------------------------------- // packetl2c_turret_levelup_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_levelup_result]; inline bool packetl2c_turret_levelup_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_turret_levelup_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_turret_levelup_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_turret_levelup_result::clear_packet_id() { packet_id_ = 15103; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_turret_levelup_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_turret_levelup_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_turret_levelup_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_turret_levelup_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_turret_levelup_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_turret_levelup_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_turret_levelup_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_turret_levelup_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional bool usediamond = 3; inline bool packetl2c_turret_levelup_result::has_usediamond() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_turret_levelup_result::set_has_usediamond() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_turret_levelup_result::clear_has_usediamond() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_turret_levelup_result::clear_usediamond() { usediamond_ = false; clear_has_usediamond(); } inline bool packetl2c_turret_levelup_result::usediamond() const { return usediamond_; } inline void packetl2c_turret_levelup_result::set_usediamond(bool value) { set_has_usediamond(); usediamond_ = value; } // optional bool uselucky = 4; inline bool packetl2c_turret_levelup_result::has_uselucky() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_turret_levelup_result::set_has_uselucky() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_turret_levelup_result::clear_has_uselucky() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_turret_levelup_result::clear_uselucky() { uselucky_ = false; clear_has_uselucky(); } inline bool packetl2c_turret_levelup_result::uselucky() const { return uselucky_; } inline void packetl2c_turret_levelup_result::set_uselucky(bool value) { set_has_uselucky(); uselucky_ = value; } // optional int32 cur_lv = 5 [default = 0]; inline bool packetl2c_turret_levelup_result::has_cur_lv() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_turret_levelup_result::set_has_cur_lv() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_turret_levelup_result::clear_has_cur_lv() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_turret_levelup_result::clear_cur_lv() { cur_lv_ = 0; clear_has_cur_lv(); } inline ::google::protobuf::int32 packetl2c_turret_levelup_result::cur_lv() const { return cur_lv_; } inline void packetl2c_turret_levelup_result::set_cur_lv(::google::protobuf::int32 value) { set_has_cur_lv(); cur_lv_ = value; } // optional int32 cur_lucky = 6 [default = 0]; inline bool packetl2c_turret_levelup_result::has_cur_lucky() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_turret_levelup_result::set_has_cur_lucky() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_turret_levelup_result::clear_has_cur_lucky() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_turret_levelup_result::clear_cur_lucky() { cur_lucky_ = 0; clear_has_cur_lucky(); } inline ::google::protobuf::int32 packetl2c_turret_levelup_result::cur_lucky() const { return cur_lucky_; } inline void packetl2c_turret_levelup_result::set_cur_lucky(::google::protobuf::int32 value) { set_has_cur_lucky(); cur_lucky_ = value; } // ------------------------------------------------------------------- // packetl2c_player_auto_levelup // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_player_auto_levelup]; inline bool packetl2c_player_auto_levelup::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_player_auto_levelup::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_player_auto_levelup::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_player_auto_levelup::clear_packet_id() { packet_id_ = 15110; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_player_auto_levelup::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_player_auto_levelup::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 uplevel = 2; inline bool packetl2c_player_auto_levelup::has_uplevel() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_player_auto_levelup::set_has_uplevel() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_player_auto_levelup::clear_has_uplevel() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_player_auto_levelup::clear_uplevel() { uplevel_ = 0; clear_has_uplevel(); } inline ::google::protobuf::int32 packetl2c_player_auto_levelup::uplevel() const { return uplevel_; } inline void packetl2c_player_auto_levelup::set_uplevel(::google::protobuf::int32 value) { set_has_uplevel(); uplevel_ = value; } // optional int32 award_gold = 3; inline bool packetl2c_player_auto_levelup::has_award_gold() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_player_auto_levelup::set_has_award_gold() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_player_auto_levelup::clear_has_award_gold() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_player_auto_levelup::clear_award_gold() { award_gold_ = 0; clear_has_award_gold(); } inline ::google::protobuf::int32 packetl2c_player_auto_levelup::award_gold() const { return award_gold_; } inline void packetl2c_player_auto_levelup::set_award_gold(::google::protobuf::int32 value) { set_has_award_gold(); award_gold_ = value; } // optional int32 award_ticket = 4; inline bool packetl2c_player_auto_levelup::has_award_ticket() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_player_auto_levelup::set_has_award_ticket() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_player_auto_levelup::clear_has_award_ticket() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_player_auto_levelup::clear_award_ticket() { award_ticket_ = 0; clear_has_award_ticket(); } inline ::google::protobuf::int32 packetl2c_player_auto_levelup::award_ticket() const { return award_ticket_; } inline void packetl2c_player_auto_levelup::set_award_ticket(::google::protobuf::int32 value) { set_has_award_ticket(); award_ticket_ = value; } // optional int32 unlock_rate = 5 [default = 0]; inline bool packetl2c_player_auto_levelup::has_unlock_rate() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_player_auto_levelup::set_has_unlock_rate() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_player_auto_levelup::clear_has_unlock_rate() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_player_auto_levelup::clear_unlock_rate() { unlock_rate_ = 0; clear_has_unlock_rate(); } inline ::google::protobuf::int32 packetl2c_player_auto_levelup::unlock_rate() const { return unlock_rate_; } inline void packetl2c_player_auto_levelup::set_unlock_rate(::google::protobuf::int32 value) { set_has_unlock_rate(); unlock_rate_ = value; } // repeated .fish_protocols.msg_item award_item = 6; inline int packetl2c_player_auto_levelup::award_item_size() const { return award_item_.size(); } inline void packetl2c_player_auto_levelup::clear_award_item() { award_item_.Clear(); } inline const ::fish_protocols::msg_item& packetl2c_player_auto_levelup::award_item(int index) const { return award_item_.Get(index); } inline ::fish_protocols::msg_item* packetl2c_player_auto_levelup::mutable_award_item(int index) { return award_item_.Mutable(index); } inline ::fish_protocols::msg_item* packetl2c_player_auto_levelup::add_award_item() { return award_item_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >& packetl2c_player_auto_levelup::award_item() const { return award_item_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_item >* packetl2c_player_auto_levelup::mutable_award_item() { return &award_item_; } // ------------------------------------------------------------------- // packetl2c_give_item_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_give_item_result]; inline bool packetl2c_give_item_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_give_item_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_give_item_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_give_item_result::clear_packet_id() { packet_id_ = 15109; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_give_item_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_give_item_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 itemid = 2; inline bool packetl2c_give_item_result::has_itemid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_give_item_result::set_has_itemid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_give_item_result::clear_has_itemid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_give_item_result::clear_itemid() { itemid_ = 0; clear_has_itemid(); } inline ::google::protobuf::int32 packetl2c_give_item_result::itemid() const { return itemid_; } inline void packetl2c_give_item_result::set_itemid(::google::protobuf::int32 value) { set_has_itemid(); itemid_ = value; } // optional int32 itemcount = 3 [default = 1]; inline bool packetl2c_give_item_result::has_itemcount() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_give_item_result::set_has_itemcount() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_give_item_result::clear_has_itemcount() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_give_item_result::clear_itemcount() { itemcount_ = 1; clear_has_itemcount(); } inline ::google::protobuf::int32 packetl2c_give_item_result::itemcount() const { return itemcount_; } inline void packetl2c_give_item_result::set_itemcount(::google::protobuf::int32 value) { set_has_itemcount(); itemcount_ = value; } // ------------------------------------------------------------------- // packetc2l_buy_func_item // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_func_item]; inline bool packetc2l_buy_func_item::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_buy_func_item::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_buy_func_item::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_buy_func_item::clear_packet_id() { packet_id_ = 10124; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_buy_func_item::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_buy_func_item::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 item_id = 2; inline bool packetc2l_buy_func_item::has_item_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_buy_func_item::set_has_item_id() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_buy_func_item::clear_has_item_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_buy_func_item::clear_item_id() { item_id_ = 0; clear_has_item_id(); } inline ::google::protobuf::int32 packetc2l_buy_func_item::item_id() const { return item_id_; } inline void packetc2l_buy_func_item::set_item_id(::google::protobuf::int32 value) { set_has_item_id(); item_id_ = value; } // optional int32 item_count = 3 [default = 1]; inline bool packetc2l_buy_func_item::has_item_count() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_buy_func_item::set_has_item_count() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_buy_func_item::clear_has_item_count() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_buy_func_item::clear_item_count() { item_count_ = 1; clear_has_item_count(); } inline ::google::protobuf::int32 packetc2l_buy_func_item::item_count() const { return item_count_; } inline void packetc2l_buy_func_item::set_item_count(::google::protobuf::int32 value) { set_has_item_count(); item_count_ = value; } // ------------------------------------------------------------------- // packetl2c_buy_func_item_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_func_item_result]; inline bool packetl2c_buy_func_item_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_buy_func_item_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_buy_func_item_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_buy_func_item_result::clear_packet_id() { packet_id_ = 16107; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_buy_func_item_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_buy_func_item_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 item_id = 2; inline bool packetl2c_buy_func_item_result::has_item_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_buy_func_item_result::set_has_item_id() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_buy_func_item_result::clear_has_item_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_buy_func_item_result::clear_item_id() { item_id_ = 0; clear_has_item_id(); } inline ::google::protobuf::int32 packetl2c_buy_func_item_result::item_id() const { return item_id_; } inline void packetl2c_buy_func_item_result::set_item_id(::google::protobuf::int32 value) { set_has_item_id(); item_id_ = value; } // optional .msg_type_def.e_msg_result_def result = 3 [default = e_rmt_fail]; inline bool packetl2c_buy_func_item_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_buy_func_item_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_buy_func_item_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_buy_func_item_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_buy_func_item_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_buy_func_item_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 item_count = 4 [default = 1]; inline bool packetl2c_buy_func_item_result::has_item_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_buy_func_item_result::set_has_item_count() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_buy_func_item_result::clear_has_item_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_buy_func_item_result::clear_item_count() { item_count_ = 1; clear_has_item_count(); } inline ::google::protobuf::int32 packetl2c_buy_func_item_result::item_count() const { return item_count_; } inline void packetl2c_buy_func_item_result::set_item_count(::google::protobuf::int32 value) { set_has_item_count(); item_count_ = value; } // ------------------------------------------------------------------- // packetc2l_torpedo_exchange // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_exchange]; inline bool packetc2l_torpedo_exchange::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_torpedo_exchange::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_torpedo_exchange::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_torpedo_exchange::clear_packet_id() { packet_id_ = 10127; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_torpedo_exchange::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_torpedo_exchange::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 type = 2; inline bool packetc2l_torpedo_exchange::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_torpedo_exchange::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_torpedo_exchange::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_torpedo_exchange::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_torpedo_exchange::type() const { return type_; } inline void packetc2l_torpedo_exchange::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 torpedo_id = 3; inline bool packetc2l_torpedo_exchange::has_torpedo_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_torpedo_exchange::set_has_torpedo_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_torpedo_exchange::clear_has_torpedo_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_torpedo_exchange::clear_torpedo_id() { torpedo_id_ = 0; clear_has_torpedo_id(); } inline ::google::protobuf::int32 packetc2l_torpedo_exchange::torpedo_id() const { return torpedo_id_; } inline void packetc2l_torpedo_exchange::set_torpedo_id(::google::protobuf::int32 value) { set_has_torpedo_id(); torpedo_id_ = value; } // optional int32 torpedo_count = 4; inline bool packetc2l_torpedo_exchange::has_torpedo_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetc2l_torpedo_exchange::set_has_torpedo_count() { _has_bits_[0] |= 0x00000008u; } inline void packetc2l_torpedo_exchange::clear_has_torpedo_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetc2l_torpedo_exchange::clear_torpedo_count() { torpedo_count_ = 0; clear_has_torpedo_count(); } inline ::google::protobuf::int32 packetc2l_torpedo_exchange::torpedo_count() const { return torpedo_count_; } inline void packetc2l_torpedo_exchange::set_torpedo_count(::google::protobuf::int32 value) { set_has_torpedo_count(); torpedo_count_ = value; } // ------------------------------------------------------------------- // packetl2c_torpedo_exchange_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_exchange_result]; inline bool packetl2c_torpedo_exchange_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_torpedo_exchange_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_torpedo_exchange_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_torpedo_exchange_result::clear_packet_id() { packet_id_ = 15111; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_torpedo_exchange_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_torpedo_exchange_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_torpedo_exchange_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_torpedo_exchange_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_torpedo_exchange_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_torpedo_exchange_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_torpedo_exchange_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_torpedo_exchange_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 type = 3; inline bool packetl2c_torpedo_exchange_result::has_type() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_torpedo_exchange_result::set_has_type() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_torpedo_exchange_result::clear_has_type() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_torpedo_exchange_result::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::type() const { return type_; } inline void packetl2c_torpedo_exchange_result::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 torpedo_id = 4; inline bool packetl2c_torpedo_exchange_result::has_torpedo_id() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_torpedo_exchange_result::set_has_torpedo_id() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_torpedo_exchange_result::clear_has_torpedo_id() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_torpedo_exchange_result::clear_torpedo_id() { torpedo_id_ = 0; clear_has_torpedo_id(); } inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::torpedo_id() const { return torpedo_id_; } inline void packetl2c_torpedo_exchange_result::set_torpedo_id(::google::protobuf::int32 value) { set_has_torpedo_id(); torpedo_id_ = value; } // optional int32 torpedo_count = 5; inline bool packetl2c_torpedo_exchange_result::has_torpedo_count() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_torpedo_exchange_result::set_has_torpedo_count() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_torpedo_exchange_result::clear_has_torpedo_count() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_torpedo_exchange_result::clear_torpedo_count() { torpedo_count_ = 0; clear_has_torpedo_count(); } inline ::google::protobuf::int32 packetl2c_torpedo_exchange_result::torpedo_count() const { return torpedo_count_; } inline void packetl2c_torpedo_exchange_result::set_torpedo_count(::google::protobuf::int32 value) { set_has_torpedo_count(); torpedo_count_ = value; } // ------------------------------------------------------------------- // packetc2l_torpedo_compose // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_torpedo_compose]; inline bool packetc2l_torpedo_compose::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_torpedo_compose::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_torpedo_compose::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_torpedo_compose::clear_packet_id() { packet_id_ = 10163; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_torpedo_compose::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_torpedo_compose::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 type = 2; inline bool packetc2l_torpedo_compose::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_torpedo_compose::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_torpedo_compose::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_torpedo_compose::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_torpedo_compose::type() const { return type_; } inline void packetc2l_torpedo_compose::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 compose_id = 3; inline bool packetc2l_torpedo_compose::has_compose_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_torpedo_compose::set_has_compose_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_torpedo_compose::clear_has_compose_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_torpedo_compose::clear_compose_id() { compose_id_ = 0; clear_has_compose_id(); } inline ::google::protobuf::int32 packetc2l_torpedo_compose::compose_id() const { return compose_id_; } inline void packetc2l_torpedo_compose::set_compose_id(::google::protobuf::int32 value) { set_has_compose_id(); compose_id_ = value; } // optional int32 compose_count = 4; inline bool packetc2l_torpedo_compose::has_compose_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetc2l_torpedo_compose::set_has_compose_count() { _has_bits_[0] |= 0x00000008u; } inline void packetc2l_torpedo_compose::clear_has_compose_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetc2l_torpedo_compose::clear_compose_count() { compose_count_ = 0; clear_has_compose_count(); } inline ::google::protobuf::int32 packetc2l_torpedo_compose::compose_count() const { return compose_count_; } inline void packetc2l_torpedo_compose::set_compose_count(::google::protobuf::int32 value) { set_has_compose_count(); compose_count_ = value; } // ------------------------------------------------------------------- // packetl2c_torpedo_compose_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_torpedo_compose_result]; inline bool packetl2c_torpedo_compose_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_torpedo_compose_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_torpedo_compose_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_torpedo_compose_result::clear_packet_id() { packet_id_ = 16155; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_torpedo_compose_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_torpedo_compose_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_torpedo_compose_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_torpedo_compose_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_torpedo_compose_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_torpedo_compose_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_torpedo_compose_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_torpedo_compose_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 compose_id = 3; inline bool packetl2c_torpedo_compose_result::has_compose_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_torpedo_compose_result::set_has_compose_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_torpedo_compose_result::clear_has_compose_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_torpedo_compose_result::clear_compose_id() { compose_id_ = 0; clear_has_compose_id(); } inline ::google::protobuf::int32 packetl2c_torpedo_compose_result::compose_id() const { return compose_id_; } inline void packetl2c_torpedo_compose_result::set_compose_id(::google::protobuf::int32 value) { set_has_compose_id(); compose_id_ = value; } // optional int32 compose_count = 4; inline bool packetl2c_torpedo_compose_result::has_compose_count() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_torpedo_compose_result::set_has_compose_count() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_torpedo_compose_result::clear_has_compose_count() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_torpedo_compose_result::clear_compose_count() { compose_count_ = 0; clear_has_compose_count(); } inline ::google::protobuf::int32 packetl2c_torpedo_compose_result::compose_count() const { return compose_count_; } inline void packetl2c_torpedo_compose_result::set_compose_count(::google::protobuf::int32 value) { set_has_compose_count(); compose_count_ = value; } // ------------------------------------------------------------------- // msg_airdropitem // optional int32 uuid = 1; inline bool msg_airdropitem::has_uuid() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void msg_airdropitem::set_has_uuid() { _has_bits_[0] |= 0x00000001u; } inline void msg_airdropitem::clear_has_uuid() { _has_bits_[0] &= ~0x00000001u; } inline void msg_airdropitem::clear_uuid() { uuid_ = 0; clear_has_uuid(); } inline ::google::protobuf::int32 msg_airdropitem::uuid() const { return uuid_; } inline void msg_airdropitem::set_uuid(::google::protobuf::int32 value) { set_has_uuid(); uuid_ = value; } // optional int32 playerid = 2; inline bool msg_airdropitem::has_playerid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void msg_airdropitem::set_has_playerid() { _has_bits_[0] |= 0x00000002u; } inline void msg_airdropitem::clear_has_playerid() { _has_bits_[0] &= ~0x00000002u; } inline void msg_airdropitem::clear_playerid() { playerid_ = 0; clear_has_playerid(); } inline ::google::protobuf::int32 msg_airdropitem::playerid() const { return playerid_; } inline void msg_airdropitem::set_playerid(::google::protobuf::int32 value) { set_has_playerid(); playerid_ = value; } // optional int32 itemid = 3; inline bool msg_airdropitem::has_itemid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void msg_airdropitem::set_has_itemid() { _has_bits_[0] |= 0x00000004u; } inline void msg_airdropitem::clear_has_itemid() { _has_bits_[0] &= ~0x00000004u; } inline void msg_airdropitem::clear_itemid() { itemid_ = 0; clear_has_itemid(); } inline ::google::protobuf::int32 msg_airdropitem::itemid() const { return itemid_; } inline void msg_airdropitem::set_itemid(::google::protobuf::int32 value) { set_has_itemid(); itemid_ = value; } // optional int32 itemcount = 4; inline bool msg_airdropitem::has_itemcount() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void msg_airdropitem::set_has_itemcount() { _has_bits_[0] |= 0x00000008u; } inline void msg_airdropitem::clear_has_itemcount() { _has_bits_[0] &= ~0x00000008u; } inline void msg_airdropitem::clear_itemcount() { itemcount_ = 0; clear_has_itemcount(); } inline ::google::protobuf::int32 msg_airdropitem::itemcount() const { return itemcount_; } inline void msg_airdropitem::set_itemcount(::google::protobuf::int32 value) { set_has_itemcount(); itemcount_ = value; } // optional string nickname = 5; inline bool msg_airdropitem::has_nickname() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void msg_airdropitem::set_has_nickname() { _has_bits_[0] |= 0x00000010u; } inline void msg_airdropitem::clear_has_nickname() { _has_bits_[0] &= ~0x00000010u; } inline void msg_airdropitem::clear_nickname() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } clear_has_nickname(); } inline const ::std::string& msg_airdropitem::nickname() const { return *nickname_; } inline void msg_airdropitem::set_nickname(const ::std::string& value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void msg_airdropitem::set_nickname(const char* value) { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } nickname_->assign(value); } inline void msg_airdropitem::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* msg_airdropitem::mutable_nickname() { set_has_nickname(); if (nickname_ == &::google::protobuf::internal::kEmptyString) { nickname_ = new ::std::string; } return nickname_; } inline ::std::string* msg_airdropitem::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 msg_airdropitem::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 string headurl = 6; inline bool msg_airdropitem::has_headurl() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void msg_airdropitem::set_has_headurl() { _has_bits_[0] |= 0x00000020u; } inline void msg_airdropitem::clear_has_headurl() { _has_bits_[0] &= ~0x00000020u; } inline void msg_airdropitem::clear_headurl() { if (headurl_ != &::google::protobuf::internal::kEmptyString) { headurl_->clear(); } clear_has_headurl(); } inline const ::std::string& msg_airdropitem::headurl() const { return *headurl_; } inline void msg_airdropitem::set_headurl(const ::std::string& value) { set_has_headurl(); if (headurl_ == &::google::protobuf::internal::kEmptyString) { headurl_ = new ::std::string; } headurl_->assign(value); } inline void msg_airdropitem::set_headurl(const char* value) { set_has_headurl(); if (headurl_ == &::google::protobuf::internal::kEmptyString) { headurl_ = new ::std::string; } headurl_->assign(value); } inline void msg_airdropitem::set_headurl(const char* value, size_t size) { set_has_headurl(); if (headurl_ == &::google::protobuf::internal::kEmptyString) { headurl_ = new ::std::string; } headurl_->assign(reinterpret_cast(value), size); } inline ::std::string* msg_airdropitem::mutable_headurl() { set_has_headurl(); if (headurl_ == &::google::protobuf::internal::kEmptyString) { headurl_ = new ::std::string; } return headurl_; } inline ::std::string* msg_airdropitem::release_headurl() { clear_has_headurl(); if (headurl_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { ::std::string* temp = headurl_; headurl_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } inline void msg_airdropitem::set_allocated_headurl(::std::string* headurl) { if (headurl_ != &::google::protobuf::internal::kEmptyString) { delete headurl_; } if (headurl) { set_has_headurl(); headurl_ = headurl; } else { clear_has_headurl(); headurl_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } // optional string pwd = 7; inline bool msg_airdropitem::has_pwd() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void msg_airdropitem::set_has_pwd() { _has_bits_[0] |= 0x00000040u; } inline void msg_airdropitem::clear_has_pwd() { _has_bits_[0] &= ~0x00000040u; } inline void msg_airdropitem::clear_pwd() { if (pwd_ != &::google::protobuf::internal::kEmptyString) { pwd_->clear(); } clear_has_pwd(); } inline const ::std::string& msg_airdropitem::pwd() const { return *pwd_; } inline void msg_airdropitem::set_pwd(const ::std::string& value) { set_has_pwd(); if (pwd_ == &::google::protobuf::internal::kEmptyString) { pwd_ = new ::std::string; } pwd_->assign(value); } inline void msg_airdropitem::set_pwd(const char* value) { set_has_pwd(); if (pwd_ == &::google::protobuf::internal::kEmptyString) { pwd_ = new ::std::string; } pwd_->assign(value); } inline void msg_airdropitem::set_pwd(const char* value, size_t size) { set_has_pwd(); if (pwd_ == &::google::protobuf::internal::kEmptyString) { pwd_ = new ::std::string; } pwd_->assign(reinterpret_cast(value), size); } inline ::std::string* msg_airdropitem::mutable_pwd() { set_has_pwd(); if (pwd_ == &::google::protobuf::internal::kEmptyString) { pwd_ = new ::std::string; } return pwd_; } inline ::std::string* msg_airdropitem::release_pwd() { clear_has_pwd(); if (pwd_ == &::google::protobuf::internal::kEmptyString) { return NULL; } else { ::std::string* temp = pwd_; pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); return temp; } } inline void msg_airdropitem::set_allocated_pwd(::std::string* pwd) { if (pwd_ != &::google::protobuf::internal::kEmptyString) { delete pwd_; } if (pwd) { set_has_pwd(); pwd_ = pwd; } else { clear_has_pwd(); pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); } } // optional int32 leftsecond = 8; inline bool msg_airdropitem::has_leftsecond() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void msg_airdropitem::set_has_leftsecond() { _has_bits_[0] |= 0x00000080u; } inline void msg_airdropitem::clear_has_leftsecond() { _has_bits_[0] &= ~0x00000080u; } inline void msg_airdropitem::clear_leftsecond() { leftsecond_ = 0; clear_has_leftsecond(); } inline ::google::protobuf::int32 msg_airdropitem::leftsecond() const { return leftsecond_; } inline void msg_airdropitem::set_leftsecond(::google::protobuf::int32 value) { set_has_leftsecond(); leftsecond_ = value; } // optional int32 receiveId = 9; inline bool msg_airdropitem::has_receiveid() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void msg_airdropitem::set_has_receiveid() { _has_bits_[0] |= 0x00000100u; } inline void msg_airdropitem::clear_has_receiveid() { _has_bits_[0] &= ~0x00000100u; } inline void msg_airdropitem::clear_receiveid() { receiveid_ = 0; clear_has_receiveid(); } inline ::google::protobuf::int32 msg_airdropitem::receiveid() const { return receiveid_; } inline void msg_airdropitem::set_receiveid(::google::protobuf::int32 value) { set_has_receiveid(); receiveid_ = value; } // ------------------------------------------------------------------- // packetl2c_get_airdrop_list_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_airdrop_list_result]; inline bool packetl2c_get_airdrop_list_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_get_airdrop_list_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_get_airdrop_list_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_get_airdrop_list_result::clear_packet_id() { packet_id_ = 16157; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_get_airdrop_list_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_get_airdrop_list_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_get_airdrop_list_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_get_airdrop_list_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_get_airdrop_list_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_get_airdrop_list_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_get_airdrop_list_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_get_airdrop_list_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional bool bplayerairdrop = 3; inline bool packetl2c_get_airdrop_list_result::has_bplayerairdrop() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_get_airdrop_list_result::set_has_bplayerairdrop() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_get_airdrop_list_result::clear_has_bplayerairdrop() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_get_airdrop_list_result::clear_bplayerairdrop() { bplayerairdrop_ = false; clear_has_bplayerairdrop(); } inline bool packetl2c_get_airdrop_list_result::bplayerairdrop() const { return bplayerairdrop_; } inline void packetl2c_get_airdrop_list_result::set_bplayerairdrop(bool value) { set_has_bplayerairdrop(); bplayerairdrop_ = value; } // repeated .fish_protocols.msg_airdropitem items = 4; inline int packetl2c_get_airdrop_list_result::items_size() const { return items_.size(); } inline void packetl2c_get_airdrop_list_result::clear_items() { items_.Clear(); } inline const ::fish_protocols::msg_airdropitem& packetl2c_get_airdrop_list_result::items(int index) const { return items_.Get(index); } inline ::fish_protocols::msg_airdropitem* packetl2c_get_airdrop_list_result::mutable_items(int index) { return items_.Mutable(index); } inline ::fish_protocols::msg_airdropitem* packetl2c_get_airdrop_list_result::add_items() { return items_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >& packetl2c_get_airdrop_list_result::items() const { return items_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::msg_airdropitem >* packetl2c_get_airdrop_list_result::mutable_items() { return &items_; } // optional int32 errorcount = 5; inline bool packetl2c_get_airdrop_list_result::has_errorcount() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_get_airdrop_list_result::set_has_errorcount() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_get_airdrop_list_result::clear_has_errorcount() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_get_airdrop_list_result::clear_errorcount() { errorcount_ = 0; clear_has_errorcount(); } inline ::google::protobuf::int32 packetl2c_get_airdrop_list_result::errorcount() const { return errorcount_; } inline void packetl2c_get_airdrop_list_result::set_errorcount(::google::protobuf::int32 value) { set_has_errorcount(); errorcount_ = value; } // ------------------------------------------------------------------- // packetc2l_goldfish_lottery // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_goldfish_lottery]; inline bool packetc2l_goldfish_lottery::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_goldfish_lottery::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_goldfish_lottery::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_goldfish_lottery::clear_packet_id() { packet_id_ = 10169; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_goldfish_lottery::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_goldfish_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 id = 2; inline bool packetc2l_goldfish_lottery::has_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_goldfish_lottery::set_has_id() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_goldfish_lottery::clear_has_id() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_goldfish_lottery::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetc2l_goldfish_lottery::id() const { return id_; } inline void packetc2l_goldfish_lottery::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // ------------------------------------------------------------------- // packetl2c_goldfish_lottery_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_goldfish_lottery_result]; inline bool packetl2c_goldfish_lottery_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_goldfish_lottery_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_goldfish_lottery_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_goldfish_lottery_result::clear_packet_id() { packet_id_ = 16161; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_goldfish_lottery_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_goldfish_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 .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; inline bool packetl2c_goldfish_lottery_result::has_result() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_goldfish_lottery_result::set_has_result() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_goldfish_lottery_result::clear_has_result() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_goldfish_lottery_result::clear_result() { result_ = 2; clear_has_result(); } inline ::msg_type_def::e_msg_result_def packetl2c_goldfish_lottery_result::result() const { return static_cast< ::msg_type_def::e_msg_result_def >(result_); } inline void packetl2c_goldfish_lottery_result::set_result(::msg_type_def::e_msg_result_def value) { assert(::msg_type_def::e_msg_result_def_IsValid(value)); set_has_result(); result_ = value; } // optional int32 playerid = 3; inline bool packetl2c_goldfish_lottery_result::has_playerid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_goldfish_lottery_result::set_has_playerid() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_goldfish_lottery_result::clear_has_playerid() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_goldfish_lottery_result::clear_playerid() { playerid_ = 0; clear_has_playerid(); } inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::playerid() const { return playerid_; } inline void packetl2c_goldfish_lottery_result::set_playerid(::google::protobuf::int32 value) { set_has_playerid(); playerid_ = value; } // optional int32 id = 4; inline bool packetl2c_goldfish_lottery_result::has_id() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_goldfish_lottery_result::set_has_id() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_goldfish_lottery_result::clear_has_id() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_goldfish_lottery_result::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::id() const { return id_; } inline void packetl2c_goldfish_lottery_result::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // optional int32 rewardID = 5; inline bool packetl2c_goldfish_lottery_result::has_rewardid() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_goldfish_lottery_result::set_has_rewardid() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_goldfish_lottery_result::clear_has_rewardid() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_goldfish_lottery_result::clear_rewardid() { rewardid_ = 0; clear_has_rewardid(); } inline ::google::protobuf::int32 packetl2c_goldfish_lottery_result::rewardid() const { return rewardid_; } inline void packetl2c_goldfish_lottery_result::set_rewardid(::google::protobuf::int32 value) { set_has_rewardid(); rewardid_ = value; } // ------------------------------------------------------------------- // packetl2c_bc_table_finish_turntablefish_balance // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_finish_turntablefish_balance]; inline bool packetl2c_bc_table_finish_turntablefish_balance::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_packet_id() { packet_id_ = 16149; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_bc_table_finish_turntablefish_balance::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_bc_table_finish_turntablefish_balance::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 playerId = 2; inline bool packetl2c_bc_table_finish_turntablefish_balance::has_playerid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_playerid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_playerid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_playerid() { playerid_ = 0; clear_has_playerid(); } inline ::google::protobuf::int32 packetl2c_bc_table_finish_turntablefish_balance::playerid() const { return playerid_; } inline void packetl2c_bc_table_finish_turntablefish_balance::set_playerid(::google::protobuf::int32 value) { set_has_playerid(); playerid_ = value; } // optional int32 addGold = 3; inline bool packetl2c_bc_table_finish_turntablefish_balance::has_addgold() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_bc_table_finish_turntablefish_balance::set_has_addgold() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_has_addgold() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_bc_table_finish_turntablefish_balance::clear_addgold() { addgold_ = 0; clear_has_addgold(); } inline ::google::protobuf::int32 packetl2c_bc_table_finish_turntablefish_balance::addgold() const { return addgold_; } inline void packetl2c_bc_table_finish_turntablefish_balance::set_addgold(::google::protobuf::int32 value) { set_has_addgold(); addgold_ = value; } // ------------------------------------------------------------------- // packetc2l_exchange_dimensity // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_exchange_dimensity]; inline bool packetc2l_exchange_dimensity::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_exchange_dimensity::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_exchange_dimensity::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_exchange_dimensity::clear_packet_id() { packet_id_ = 10170; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_exchange_dimensity::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_exchange_dimensity::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 exchangeId = 2; inline bool packetc2l_exchange_dimensity::has_exchangeid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_exchange_dimensity::set_has_exchangeid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_exchange_dimensity::clear_has_exchangeid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_exchange_dimensity::clear_exchangeid() { exchangeid_ = 0; clear_has_exchangeid(); } inline ::google::protobuf::int32 packetc2l_exchange_dimensity::exchangeid() const { return exchangeid_; } inline void packetc2l_exchange_dimensity::set_exchangeid(::google::protobuf::int32 value) { set_has_exchangeid(); exchangeid_ = value; } // ------------------------------------------------------------------- // packetl2c_exchange_dimensity_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_exchange_dimensity_result]; inline bool packetl2c_exchange_dimensity_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_exchange_dimensity_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_exchange_dimensity_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_exchange_dimensity_result::clear_packet_id() { packet_id_ = 16163; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_exchange_dimensity_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_exchange_dimensity_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 exchangeId = 2; inline bool packetl2c_exchange_dimensity_result::has_exchangeid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_exchange_dimensity_result::set_has_exchangeid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_exchange_dimensity_result::clear_has_exchangeid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_exchange_dimensity_result::clear_exchangeid() { exchangeid_ = 0; clear_has_exchangeid(); } inline ::google::protobuf::int32 packetl2c_exchange_dimensity_result::exchangeid() const { return exchangeid_; } inline void packetl2c_exchange_dimensity_result::set_exchangeid(::google::protobuf::int32 value) { set_has_exchangeid(); exchangeid_ = value; } // optional int32 result = 3; inline bool packetl2c_exchange_dimensity_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_exchange_dimensity_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_exchange_dimensity_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_exchange_dimensity_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_exchange_dimensity_result::result() const { return result_; } inline void packetl2c_exchange_dimensity_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // ------------------------------------------------------------------- // packetc2l_lucky_lottery // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lucky_lottery]; inline bool packetc2l_lucky_lottery::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_lucky_lottery::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_lucky_lottery::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_lucky_lottery::clear_packet_id() { packet_id_ = 10207; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_lucky_lottery::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_lucky_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 bool all = 2; inline bool packetc2l_lucky_lottery::has_all() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_lucky_lottery::set_has_all() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_lucky_lottery::clear_has_all() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_lucky_lottery::clear_all() { all_ = false; clear_has_all(); } inline bool packetc2l_lucky_lottery::all() const { return all_; } inline void packetc2l_lucky_lottery::set_all(bool value) { set_has_all(); all_ = value; } // ------------------------------------------------------------------- // packetl2c_lucky_lottery_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_lucky_lottery_result]; inline bool packetl2c_lucky_lottery_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_lucky_lottery_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_lucky_lottery_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_lucky_lottery_result::clear_packet_id() { packet_id_ = 16206; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_lucky_lottery_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_lucky_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 bool all = 2; inline bool packetl2c_lucky_lottery_result::has_all() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_lucky_lottery_result::set_has_all() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_lucky_lottery_result::clear_has_all() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_lucky_lottery_result::clear_all() { all_ = false; clear_has_all(); } inline bool packetl2c_lucky_lottery_result::all() const { return all_; } inline void packetl2c_lucky_lottery_result::set_all(bool value) { set_has_all(); all_ = value; } // optional int32 result = 3; inline bool packetl2c_lucky_lottery_result::has_result() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_lucky_lottery_result::set_has_result() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_lucky_lottery_result::clear_has_result() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_lucky_lottery_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_lucky_lottery_result::result() const { return result_; } inline void packetl2c_lucky_lottery_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // repeated int32 rewardIndex = 4; inline int packetl2c_lucky_lottery_result::rewardindex_size() const { return rewardindex_.size(); } inline void packetl2c_lucky_lottery_result::clear_rewardindex() { rewardindex_.Clear(); } inline ::google::protobuf::int32 packetl2c_lucky_lottery_result::rewardindex(int index) const { return rewardindex_.Get(index); } inline void packetl2c_lucky_lottery_result::set_rewardindex(int index, ::google::protobuf::int32 value) { rewardindex_.Set(index, value); } inline void packetl2c_lucky_lottery_result::add_rewardindex(::google::protobuf::int32 value) { rewardindex_.Add(value); } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& packetl2c_lucky_lottery_result::rewardindex() const { return rewardindex_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* packetl2c_lucky_lottery_result::mutable_rewardindex() { return &rewardindex_; } // ------------------------------------------------------------------- // recordInfo // optional int32 type = 1; inline bool recordInfo::has_type() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void recordInfo::set_has_type() { _has_bits_[0] |= 0x00000001u; } inline void recordInfo::clear_has_type() { _has_bits_[0] &= ~0x00000001u; } inline void recordInfo::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 recordInfo::type() const { return type_; } inline void recordInfo::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 param = 2; inline bool recordInfo::has_param() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void recordInfo::set_has_param() { _has_bits_[0] |= 0x00000002u; } inline void recordInfo::clear_has_param() { _has_bits_[0] &= ~0x00000002u; } inline void recordInfo::clear_param() { param_ = 0; clear_has_param(); } inline ::google::protobuf::int32 recordInfo::param() const { return param_; } inline void recordInfo::set_param(::google::protobuf::int32 value) { set_has_param(); param_ = value; } // optional int32 count = 3; inline bool recordInfo::has_count() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void recordInfo::set_has_count() { _has_bits_[0] |= 0x00000004u; } inline void recordInfo::clear_has_count() { _has_bits_[0] &= ~0x00000004u; } inline void recordInfo::clear_count() { count_ = 0; clear_has_count(); } inline ::google::protobuf::int32 recordInfo::count() const { return count_; } inline void recordInfo::set_count(::google::protobuf::int32 value) { set_has_count(); count_ = value; } // ------------------------------------------------------------------- // packetc2l_syn_record_info // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_syn_record_info]; inline bool packetc2l_syn_record_info::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_syn_record_info::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_syn_record_info::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_syn_record_info::clear_packet_id() { packet_id_ = 10208; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_syn_record_info::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_syn_record_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; } // repeated .fish_protocols.recordInfo recordList = 2; inline int packetc2l_syn_record_info::recordlist_size() const { return recordlist_.size(); } inline void packetc2l_syn_record_info::clear_recordlist() { recordlist_.Clear(); } inline const ::fish_protocols::recordInfo& packetc2l_syn_record_info::recordlist(int index) const { return recordlist_.Get(index); } inline ::fish_protocols::recordInfo* packetc2l_syn_record_info::mutable_recordlist(int index) { return recordlist_.Mutable(index); } inline ::fish_protocols::recordInfo* packetc2l_syn_record_info::add_recordlist() { return recordlist_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >& packetc2l_syn_record_info::recordlist() const { return recordlist_; } inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::recordInfo >* packetc2l_syn_record_info::mutable_recordlist() { return &recordlist_; } // ------------------------------------------------------------------- // packetc2l_auto_fire // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_auto_fire]; inline bool packetc2l_auto_fire::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_auto_fire::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_auto_fire::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_auto_fire::clear_packet_id() { packet_id_ = 10209; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_auto_fire::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_auto_fire::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 type = 2; inline bool packetc2l_auto_fire::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_auto_fire::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_auto_fire::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_auto_fire::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_auto_fire::type() const { return type_; } inline void packetc2l_auto_fire::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // ------------------------------------------------------------------- // packetc2l_change_headid // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_headid]; inline bool packetc2l_change_headid::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_change_headid::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_change_headid::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_change_headid::clear_packet_id() { packet_id_ = 10225; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_change_headid::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_change_headid::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 headId = 2; inline bool packetc2l_change_headid::has_headid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_change_headid::set_has_headid() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_change_headid::clear_has_headid() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_change_headid::clear_headid() { headid_ = 0; clear_has_headid(); } inline ::google::protobuf::int32 packetc2l_change_headid::headid() const { return headid_; } inline void packetc2l_change_headid::set_headid(::google::protobuf::int32 value) { set_has_headid(); headid_ = value; } // optional int32 frameid = 3; inline bool packetc2l_change_headid::has_frameid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_change_headid::set_has_frameid() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_change_headid::clear_has_frameid() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_change_headid::clear_frameid() { frameid_ = 0; clear_has_frameid(); } inline ::google::protobuf::int32 packetc2l_change_headid::frameid() const { return frameid_; } inline void packetc2l_change_headid::set_frameid(::google::protobuf::int32 value) { set_has_frameid(); frameid_ = value; } // ------------------------------------------------------------------- // packetl2c_change_headid_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_headid_result]; inline bool packetl2c_change_headid_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_change_headid_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_change_headid_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_change_headid_result::clear_packet_id() { packet_id_ = 16231; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_change_headid_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_change_headid_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 playerId = 2; inline bool packetl2c_change_headid_result::has_playerid() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_change_headid_result::set_has_playerid() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_change_headid_result::clear_has_playerid() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_change_headid_result::clear_playerid() { playerid_ = 0; clear_has_playerid(); } inline ::google::protobuf::int32 packetl2c_change_headid_result::playerid() const { return playerid_; } inline void packetl2c_change_headid_result::set_playerid(::google::protobuf::int32 value) { set_has_playerid(); playerid_ = value; } // optional int32 headId = 3; inline bool packetl2c_change_headid_result::has_headid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_change_headid_result::set_has_headid() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_change_headid_result::clear_has_headid() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_change_headid_result::clear_headid() { headid_ = 0; clear_has_headid(); } inline ::google::protobuf::int32 packetl2c_change_headid_result::headid() const { return headid_; } inline void packetl2c_change_headid_result::set_headid(::google::protobuf::int32 value) { set_has_headid(); headid_ = value; } // optional int32 frameid = 4; inline bool packetl2c_change_headid_result::has_frameid() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_change_headid_result::set_has_frameid() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_change_headid_result::clear_has_frameid() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_change_headid_result::clear_frameid() { frameid_ = 0; clear_has_frameid(); } inline ::google::protobuf::int32 packetl2c_change_headid_result::frameid() const { return frameid_; } inline void packetl2c_change_headid_result::set_frameid(::google::protobuf::int32 value) { set_has_frameid(); frameid_ = value; } // optional int32 result = 5; inline bool packetl2c_change_headid_result::has_result() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_change_headid_result::set_has_result() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_change_headid_result::clear_has_result() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_change_headid_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_change_headid_result::result() const { return result_; } inline void packetl2c_change_headid_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // ------------------------------------------------------------------- // packetc2l_rand_turret_addition // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_rand_turret_addition]; inline bool packetc2l_rand_turret_addition::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_rand_turret_addition::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_rand_turret_addition::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_rand_turret_addition::clear_packet_id() { packet_id_ = 10226; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_rand_turret_addition::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_rand_turret_addition::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 type = 2; inline bool packetc2l_rand_turret_addition::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_rand_turret_addition::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_rand_turret_addition::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_rand_turret_addition::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_rand_turret_addition::type() const { return type_; } inline void packetc2l_rand_turret_addition::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetc2l_rand_turret_addition::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_rand_turret_addition::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_rand_turret_addition::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_rand_turret_addition::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetc2l_rand_turret_addition::id() const { return id_; } inline void packetc2l_rand_turret_addition::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // ------------------------------------------------------------------- // packetl2c_rand_turret_addition_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_rand_turret_addition_result]; inline bool packetl2c_rand_turret_addition_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_rand_turret_addition_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_rand_turret_addition_result::clear_packet_id() { packet_id_ = 16232; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_rand_turret_addition_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_rand_turret_addition_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 type = 2; inline bool packetl2c_rand_turret_addition_result::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_rand_turret_addition_result::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_rand_turret_addition_result::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::type() const { return type_; } inline void packetl2c_rand_turret_addition_result::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetl2c_rand_turret_addition_result::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_rand_turret_addition_result::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_rand_turret_addition_result::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::id() const { return id_; } inline void packetl2c_rand_turret_addition_result::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // optional int32 result = 4; inline bool packetl2c_rand_turret_addition_result::has_result() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_result() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_rand_turret_addition_result::clear_has_result() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_rand_turret_addition_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::result() const { return result_; } inline void packetl2c_rand_turret_addition_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional int32 leftTimes = 5; inline bool packetl2c_rand_turret_addition_result::has_lefttimes() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_lefttimes() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_rand_turret_addition_result::clear_has_lefttimes() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_rand_turret_addition_result::clear_lefttimes() { lefttimes_ = 0; clear_has_lefttimes(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::lefttimes() const { return lefttimes_; } inline void packetl2c_rand_turret_addition_result::set_lefttimes(::google::protobuf::int32 value) { set_has_lefttimes(); lefttimes_ = value; } // optional int32 addId = 6; inline bool packetl2c_rand_turret_addition_result::has_addid() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_addid() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_rand_turret_addition_result::clear_has_addid() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_rand_turret_addition_result::clear_addid() { addid_ = 0; clear_has_addid(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::addid() const { return addid_; } inline void packetl2c_rand_turret_addition_result::set_addid(::google::protobuf::int32 value) { set_has_addid(); addid_ = value; } // optional int32 costItem = 7; inline bool packetl2c_rand_turret_addition_result::has_costitem() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_costitem() { _has_bits_[0] |= 0x00000040u; } inline void packetl2c_rand_turret_addition_result::clear_has_costitem() { _has_bits_[0] &= ~0x00000040u; } inline void packetl2c_rand_turret_addition_result::clear_costitem() { costitem_ = 0; clear_has_costitem(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::costitem() const { return costitem_; } inline void packetl2c_rand_turret_addition_result::set_costitem(::google::protobuf::int32 value) { set_has_costitem(); costitem_ = value; } // optional int32 costCount = 8; inline bool packetl2c_rand_turret_addition_result::has_costcount() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void packetl2c_rand_turret_addition_result::set_has_costcount() { _has_bits_[0] |= 0x00000080u; } inline void packetl2c_rand_turret_addition_result::clear_has_costcount() { _has_bits_[0] &= ~0x00000080u; } inline void packetl2c_rand_turret_addition_result::clear_costcount() { costcount_ = 0; clear_has_costcount(); } inline ::google::protobuf::int32 packetl2c_rand_turret_addition_result::costcount() const { return costcount_; } inline void packetl2c_rand_turret_addition_result::set_costcount(::google::protobuf::int32 value) { set_has_costcount(); costcount_ = value; } // ------------------------------------------------------------------- // packetc2l_turret_addition_confirm // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_confirm]; inline bool packetc2l_turret_addition_confirm::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_turret_addition_confirm::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_turret_addition_confirm::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_turret_addition_confirm::clear_packet_id() { packet_id_ = 10227; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_turret_addition_confirm::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_turret_addition_confirm::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 type = 2; inline bool packetc2l_turret_addition_confirm::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_turret_addition_confirm::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_turret_addition_confirm::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_turret_addition_confirm::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_turret_addition_confirm::type() const { return type_; } inline void packetc2l_turret_addition_confirm::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetc2l_turret_addition_confirm::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_turret_addition_confirm::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_turret_addition_confirm::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_turret_addition_confirm::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetc2l_turret_addition_confirm::id() const { return id_; } inline void packetc2l_turret_addition_confirm::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // ------------------------------------------------------------------- // packetl2c_turret_addition_confirm_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_confirm_result]; inline bool packetl2c_turret_addition_confirm_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_turret_addition_confirm_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_turret_addition_confirm_result::clear_packet_id() { packet_id_ = 16233; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_turret_addition_confirm_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_turret_addition_confirm_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 type = 2; inline bool packetl2c_turret_addition_confirm_result::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_turret_addition_confirm_result::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_turret_addition_confirm_result::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::type() const { return type_; } inline void packetl2c_turret_addition_confirm_result::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetl2c_turret_addition_confirm_result::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_turret_addition_confirm_result::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_turret_addition_confirm_result::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::id() const { return id_; } inline void packetl2c_turret_addition_confirm_result::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // optional int32 result = 4; inline bool packetl2c_turret_addition_confirm_result::has_result() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_result() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_turret_addition_confirm_result::clear_has_result() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_turret_addition_confirm_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_turret_addition_confirm_result::result() const { return result_; } inline void packetl2c_turret_addition_confirm_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional .fish_protocols.wing_unit wingdata = 5; inline bool packetl2c_turret_addition_confirm_result::has_wingdata() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_wingdata() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_turret_addition_confirm_result::clear_has_wingdata() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_turret_addition_confirm_result::clear_wingdata() { if (wingdata_ != NULL) wingdata_->::fish_protocols::wing_unit::Clear(); clear_has_wingdata(); } inline const ::fish_protocols::wing_unit& packetl2c_turret_addition_confirm_result::wingdata() const { return wingdata_ != NULL ? *wingdata_ : *default_instance_->wingdata_; } inline ::fish_protocols::wing_unit* packetl2c_turret_addition_confirm_result::mutable_wingdata() { set_has_wingdata(); if (wingdata_ == NULL) wingdata_ = new ::fish_protocols::wing_unit; return wingdata_; } inline ::fish_protocols::wing_unit* packetl2c_turret_addition_confirm_result::release_wingdata() { clear_has_wingdata(); ::fish_protocols::wing_unit* temp = wingdata_; wingdata_ = NULL; return temp; } inline void packetl2c_turret_addition_confirm_result::set_allocated_wingdata(::fish_protocols::wing_unit* wingdata) { delete wingdata_; wingdata_ = wingdata; if (wingdata) { set_has_wingdata(); } else { clear_has_wingdata(); } } // optional .fish_protocols.turret_unit turretdata = 6; inline bool packetl2c_turret_addition_confirm_result::has_turretdata() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void packetl2c_turret_addition_confirm_result::set_has_turretdata() { _has_bits_[0] |= 0x00000020u; } inline void packetl2c_turret_addition_confirm_result::clear_has_turretdata() { _has_bits_[0] &= ~0x00000020u; } inline void packetl2c_turret_addition_confirm_result::clear_turretdata() { if (turretdata_ != NULL) turretdata_->::fish_protocols::turret_unit::Clear(); clear_has_turretdata(); } inline const ::fish_protocols::turret_unit& packetl2c_turret_addition_confirm_result::turretdata() const { return turretdata_ != NULL ? *turretdata_ : *default_instance_->turretdata_; } inline ::fish_protocols::turret_unit* packetl2c_turret_addition_confirm_result::mutable_turretdata() { set_has_turretdata(); if (turretdata_ == NULL) turretdata_ = new ::fish_protocols::turret_unit; return turretdata_; } inline ::fish_protocols::turret_unit* packetl2c_turret_addition_confirm_result::release_turretdata() { clear_has_turretdata(); ::fish_protocols::turret_unit* temp = turretdata_; turretdata_ = NULL; return temp; } inline void packetl2c_turret_addition_confirm_result::set_allocated_turretdata(::fish_protocols::turret_unit* turretdata) { delete turretdata_; turretdata_ = turretdata; if (turretdata) { set_has_turretdata(); } else { clear_has_turretdata(); } } // ------------------------------------------------------------------- // packetc2l_turret_addition_reset // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_addition_reset]; inline bool packetc2l_turret_addition_reset::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetc2l_turret_addition_reset::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetc2l_turret_addition_reset::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetc2l_turret_addition_reset::clear_packet_id() { packet_id_ = 10228; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetc2l_turret_addition_reset::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetc2l_turret_addition_reset::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 type = 2; inline bool packetc2l_turret_addition_reset::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetc2l_turret_addition_reset::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetc2l_turret_addition_reset::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetc2l_turret_addition_reset::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetc2l_turret_addition_reset::type() const { return type_; } inline void packetc2l_turret_addition_reset::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetc2l_turret_addition_reset::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetc2l_turret_addition_reset::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetc2l_turret_addition_reset::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetc2l_turret_addition_reset::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetc2l_turret_addition_reset::id() const { return id_; } inline void packetc2l_turret_addition_reset::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // ------------------------------------------------------------------- // packetl2c_turret_addition_reset_result // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_turret_addition_reset_result]; inline bool packetl2c_turret_addition_reset_result::has_packet_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void packetl2c_turret_addition_reset_result::set_has_packet_id() { _has_bits_[0] |= 0x00000001u; } inline void packetl2c_turret_addition_reset_result::clear_has_packet_id() { _has_bits_[0] &= ~0x00000001u; } inline void packetl2c_turret_addition_reset_result::clear_packet_id() { packet_id_ = 16234; clear_has_packet_id(); } inline ::fish_protocols::e_server_msg_type packetl2c_turret_addition_reset_result::packet_id() const { return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_); } inline void packetl2c_turret_addition_reset_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 type = 2; inline bool packetl2c_turret_addition_reset_result::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void packetl2c_turret_addition_reset_result::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void packetl2c_turret_addition_reset_result::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void packetl2c_turret_addition_reset_result::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::type() const { return type_; } inline void packetl2c_turret_addition_reset_result::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; } // optional int32 id = 3; inline bool packetl2c_turret_addition_reset_result::has_id() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void packetl2c_turret_addition_reset_result::set_has_id() { _has_bits_[0] |= 0x00000004u; } inline void packetl2c_turret_addition_reset_result::clear_has_id() { _has_bits_[0] &= ~0x00000004u; } inline void packetl2c_turret_addition_reset_result::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::id() const { return id_; } inline void packetl2c_turret_addition_reset_result::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; } // optional int32 result = 4; inline bool packetl2c_turret_addition_reset_result::has_result() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void packetl2c_turret_addition_reset_result::set_has_result() { _has_bits_[0] |= 0x00000008u; } inline void packetl2c_turret_addition_reset_result::clear_has_result() { _has_bits_[0] &= ~0x00000008u; } inline void packetl2c_turret_addition_reset_result::clear_result() { result_ = 0; clear_has_result(); } inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::result() const { return result_; } inline void packetl2c_turret_addition_reset_result::set_result(::google::protobuf::int32 value) { set_has_result(); result_ = value; } // optional int32 returnCount = 5; inline bool packetl2c_turret_addition_reset_result::has_returncount() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void packetl2c_turret_addition_reset_result::set_has_returncount() { _has_bits_[0] |= 0x00000010u; } inline void packetl2c_turret_addition_reset_result::clear_has_returncount() { _has_bits_[0] &= ~0x00000010u; } inline void packetl2c_turret_addition_reset_result::clear_returncount() { returncount_ = 0; clear_has_returncount(); } inline ::google::protobuf::int32 packetl2c_turret_addition_reset_result::returncount() const { return returncount_; } inline void packetl2c_turret_addition_reset_result::set_returncount(::google::protobuf::int32 value) { set_has_returncount(); returncount_ = 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_5fprotocol_2eproto__INCLUDED