// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: fish_rank.proto

#ifndef PROTOBUF_fish_5frank_2eproto__INCLUDED
#define PROTOBUF_fish_5frank_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#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 <google/protobuf/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "fish_def.pb.h"
// @@protoc_insertion_point(includes)

namespace fish_protocols {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_fish_5frank_2eproto();
void protobuf_AssignDesc_fish_5frank_2eproto();
void protobuf_ShutdownFile_fish_5frank_2eproto();

class RankInfo;
class packetc2l_req_torpedo_rank;
class packetl2c_req_torpedo_rank_result;

// ===================================================================

class RankInfo : public ::google::protobuf::Message {
 public:
  RankInfo();
  virtual ~RankInfo();

  RankInfo(const RankInfo& from);

  inline RankInfo& operator=(const RankInfo& 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 RankInfo& default_instance();

  void Swap(RankInfo* other);

  // implements Message ----------------------------------------------

  RankInfo* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const RankInfo& from);
  void MergeFrom(const RankInfo& 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 playerId = 1;
  inline bool has_playerid() const;
  inline void clear_playerid();
  static const int kPlayerIdFieldNumber = 1;
  inline ::google::protobuf::int32 playerid() const;
  inline void set_playerid(::google::protobuf::int32 value);

  // optional string nickName = 2;
  inline bool has_nickname() const;
  inline void clear_nickname();
  static const int kNickNameFieldNumber = 2;
  inline const ::std::string& nickname() const;
  inline void set_nickname(const ::std::string& value);
  inline void set_nickname(const char* value);
  inline void set_nickname(const char* value, size_t size);
  inline ::std::string* mutable_nickname();
  inline ::std::string* release_nickname();
  inline void set_allocated_nickname(::std::string* nickname);

  // optional int32 gold = 3;
  inline bool has_gold() const;
  inline void clear_gold();
  static const int kGoldFieldNumber = 3;
  inline ::google::protobuf::int32 gold() const;
  inline void set_gold(::google::protobuf::int32 value);

  // optional int32 vipLevel = 4;
  inline bool has_viplevel() const;
  inline void clear_viplevel();
  static const int kVipLevelFieldNumber = 4;
  inline ::google::protobuf::int32 viplevel() const;
  inline void set_viplevel(::google::protobuf::int32 value);

  // optional int32 playerlv = 5;
  inline bool has_playerlv() const;
  inline void clear_playerlv();
  static const int kPlayerlvFieldNumber = 5;
  inline ::google::protobuf::int32 playerlv() const;
  inline void set_playerlv(::google::protobuf::int32 value);

  // optional int32 headid = 6;
  inline bool has_headid() const;
  inline void clear_headid();
  static const int kHeadidFieldNumber = 6;
  inline ::google::protobuf::int32 headid() const;
  inline void set_headid(::google::protobuf::int32 value);

  // optional int32 frameid = 7;
  inline bool has_frameid() const;
  inline void clear_frameid();
  static const int kFrameidFieldNumber = 7;
  inline ::google::protobuf::int32 frameid() const;
  inline void set_frameid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:fish_protocols.RankInfo)
 private:
  inline void set_has_playerid();
  inline void clear_has_playerid();
  inline void set_has_nickname();
  inline void clear_has_nickname();
  inline void set_has_gold();
  inline void clear_has_gold();
  inline void set_has_viplevel();
  inline void clear_has_viplevel();
  inline void set_has_playerlv();
  inline void clear_has_playerlv();
  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_;

  ::std::string* nickname_;
  ::google::protobuf::int32 playerid_;
  ::google::protobuf::int32 gold_;
  ::google::protobuf::int32 viplevel_;
  ::google::protobuf::int32 playerlv_;
  ::google::protobuf::int32 headid_;
  ::google::protobuf::int32 frameid_;

  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];

  friend void  protobuf_AddDesc_fish_5frank_2eproto();
  friend void protobuf_AssignDesc_fish_5frank_2eproto();
  friend void protobuf_ShutdownFile_fish_5frank_2eproto();

  void InitAsDefaultInstance();
  static RankInfo* default_instance_;
};
// -------------------------------------------------------------------

class packetc2l_req_torpedo_rank : public ::google::protobuf::Message {
 public:
  packetc2l_req_torpedo_rank();
  virtual ~packetc2l_req_torpedo_rank();

  packetc2l_req_torpedo_rank(const packetc2l_req_torpedo_rank& from);

  inline packetc2l_req_torpedo_rank& operator=(const packetc2l_req_torpedo_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_req_torpedo_rank& default_instance();

  void Swap(packetc2l_req_torpedo_rank* other);

  // implements Message ----------------------------------------------

  packetc2l_req_torpedo_rank* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2l_req_torpedo_rank& from);
  void MergeFrom(const packetc2l_req_torpedo_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_req_torpedo_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);

  // optional int32 torpedoId = 2;
  inline bool has_torpedoid() const;
  inline void clear_torpedoid();
  static const int kTorpedoIdFieldNumber = 2;
  inline ::google::protobuf::int32 torpedoid() const;
  inline void set_torpedoid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:fish_protocols.packetc2l_req_torpedo_rank)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_torpedoid();
  inline void clear_has_torpedoid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 torpedoid_;

  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];

  friend void  protobuf_AddDesc_fish_5frank_2eproto();
  friend void protobuf_AssignDesc_fish_5frank_2eproto();
  friend void protobuf_ShutdownFile_fish_5frank_2eproto();

  void InitAsDefaultInstance();
  static packetc2l_req_torpedo_rank* default_instance_;
};
// -------------------------------------------------------------------

class packetl2c_req_torpedo_rank_result : public ::google::protobuf::Message {
 public:
  packetl2c_req_torpedo_rank_result();
  virtual ~packetl2c_req_torpedo_rank_result();

  packetl2c_req_torpedo_rank_result(const packetl2c_req_torpedo_rank_result& from);

  inline packetl2c_req_torpedo_rank_result& operator=(const packetl2c_req_torpedo_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_req_torpedo_rank_result& default_instance();

  void Swap(packetl2c_req_torpedo_rank_result* other);

  // implements Message ----------------------------------------------

  packetl2c_req_torpedo_rank_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetl2c_req_torpedo_rank_result& from);
  void MergeFrom(const packetl2c_req_torpedo_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_req_torpedo_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 int32 torpedoId = 2;
  inline bool has_torpedoid() const;
  inline void clear_torpedoid();
  static const int kTorpedoIdFieldNumber = 2;
  inline ::google::protobuf::int32 torpedoid() const;
  inline void set_torpedoid(::google::protobuf::int32 value);

  // repeated .fish_protocols.RankInfo rankList = 3;
  inline int ranklist_size() const;
  inline void clear_ranklist();
  static const int kRankListFieldNumber = 3;
  inline const ::fish_protocols::RankInfo& ranklist(int index) const;
  inline ::fish_protocols::RankInfo* mutable_ranklist(int index);
  inline ::fish_protocols::RankInfo* add_ranklist();
  inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::RankInfo >&
      ranklist() const;
  inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::RankInfo >*
      mutable_ranklist();

  // optional int32 selfRank = 4;
  inline bool has_selfrank() const;
  inline void clear_selfrank();
  static const int kSelfRankFieldNumber = 4;
  inline ::google::protobuf::int32 selfrank() const;
  inline void set_selfrank(::google::protobuf::int32 value);

  // optional int32 selfGold = 5;
  inline bool has_selfgold() const;
  inline void clear_selfgold();
  static const int kSelfGoldFieldNumber = 5;
  inline ::google::protobuf::int32 selfgold() const;
  inline void set_selfgold(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:fish_protocols.packetl2c_req_torpedo_rank_result)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_torpedoid();
  inline void clear_has_torpedoid();
  inline void set_has_selfrank();
  inline void clear_has_selfrank();
  inline void set_has_selfgold();
  inline void clear_has_selfgold();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 torpedoid_;
  ::google::protobuf::RepeatedPtrField< ::fish_protocols::RankInfo > ranklist_;
  ::google::protobuf::int32 selfrank_;
  ::google::protobuf::int32 selfgold_;

  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];

  friend void  protobuf_AddDesc_fish_5frank_2eproto();
  friend void protobuf_AssignDesc_fish_5frank_2eproto();
  friend void protobuf_ShutdownFile_fish_5frank_2eproto();

  void InitAsDefaultInstance();
  static packetl2c_req_torpedo_rank_result* default_instance_;
};
// ===================================================================


// ===================================================================

// RankInfo

// optional int32 playerId = 1;
inline bool RankInfo::has_playerid() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void RankInfo::set_has_playerid() {
  _has_bits_[0] |= 0x00000001u;
}
inline void RankInfo::clear_has_playerid() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void RankInfo::clear_playerid() {
  playerid_ = 0;
  clear_has_playerid();
}
inline ::google::protobuf::int32 RankInfo::playerid() const {
  return playerid_;
}
inline void RankInfo::set_playerid(::google::protobuf::int32 value) {
  set_has_playerid();
  playerid_ = value;
}

// optional string nickName = 2;
inline bool RankInfo::has_nickname() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void RankInfo::set_has_nickname() {
  _has_bits_[0] |= 0x00000002u;
}
inline void RankInfo::clear_has_nickname() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void RankInfo::clear_nickname() {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    nickname_->clear();
  }
  clear_has_nickname();
}
inline const ::std::string& RankInfo::nickname() const {
  return *nickname_;
}
inline void RankInfo::set_nickname(const ::std::string& value) {
  set_has_nickname();
  if (nickname_ == &::google::protobuf::internal::kEmptyString) {
    nickname_ = new ::std::string;
  }
  nickname_->assign(value);
}
inline void RankInfo::set_nickname(const char* value) {
  set_has_nickname();
  if (nickname_ == &::google::protobuf::internal::kEmptyString) {
    nickname_ = new ::std::string;
  }
  nickname_->assign(value);
}
inline void RankInfo::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<const char*>(value), size);
}
inline ::std::string* RankInfo::mutable_nickname() {
  set_has_nickname();
  if (nickname_ == &::google::protobuf::internal::kEmptyString) {
    nickname_ = new ::std::string;
  }
  return nickname_;
}
inline ::std::string* RankInfo::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 RankInfo::set_allocated_nickname(::std::string* nickname) {
  if (nickname_ != &::google::protobuf::internal::kEmptyString) {
    delete nickname_;
  }
  if (nickname) {
    set_has_nickname();
    nickname_ = nickname;
  } else {
    clear_has_nickname();
    nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// optional int32 gold = 3;
inline bool RankInfo::has_gold() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void RankInfo::set_has_gold() {
  _has_bits_[0] |= 0x00000004u;
}
inline void RankInfo::clear_has_gold() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void RankInfo::clear_gold() {
  gold_ = 0;
  clear_has_gold();
}
inline ::google::protobuf::int32 RankInfo::gold() const {
  return gold_;
}
inline void RankInfo::set_gold(::google::protobuf::int32 value) {
  set_has_gold();
  gold_ = value;
}

// optional int32 vipLevel = 4;
inline bool RankInfo::has_viplevel() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void RankInfo::set_has_viplevel() {
  _has_bits_[0] |= 0x00000008u;
}
inline void RankInfo::clear_has_viplevel() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void RankInfo::clear_viplevel() {
  viplevel_ = 0;
  clear_has_viplevel();
}
inline ::google::protobuf::int32 RankInfo::viplevel() const {
  return viplevel_;
}
inline void RankInfo::set_viplevel(::google::protobuf::int32 value) {
  set_has_viplevel();
  viplevel_ = value;
}

// optional int32 playerlv = 5;
inline bool RankInfo::has_playerlv() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void RankInfo::set_has_playerlv() {
  _has_bits_[0] |= 0x00000010u;
}
inline void RankInfo::clear_has_playerlv() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void RankInfo::clear_playerlv() {
  playerlv_ = 0;
  clear_has_playerlv();
}
inline ::google::protobuf::int32 RankInfo::playerlv() const {
  return playerlv_;
}
inline void RankInfo::set_playerlv(::google::protobuf::int32 value) {
  set_has_playerlv();
  playerlv_ = value;
}

// optional int32 headid = 6;
inline bool RankInfo::has_headid() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void RankInfo::set_has_headid() {
  _has_bits_[0] |= 0x00000020u;
}
inline void RankInfo::clear_has_headid() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void RankInfo::clear_headid() {
  headid_ = 0;
  clear_has_headid();
}
inline ::google::protobuf::int32 RankInfo::headid() const {
  return headid_;
}
inline void RankInfo::set_headid(::google::protobuf::int32 value) {
  set_has_headid();
  headid_ = value;
}

// optional int32 frameid = 7;
inline bool RankInfo::has_frameid() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void RankInfo::set_has_frameid() {
  _has_bits_[0] |= 0x00000040u;
}
inline void RankInfo::clear_has_frameid() {
  _has_bits_[0] &= ~0x00000040u;
}
inline void RankInfo::clear_frameid() {
  frameid_ = 0;
  clear_has_frameid();
}
inline ::google::protobuf::int32 RankInfo::frameid() const {
  return frameid_;
}
inline void RankInfo::set_frameid(::google::protobuf::int32 value) {
  set_has_frameid();
  frameid_ = value;
}

// -------------------------------------------------------------------

// packetc2l_req_torpedo_rank

// optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_torpedo_rank];
inline bool packetc2l_req_torpedo_rank::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2l_req_torpedo_rank::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2l_req_torpedo_rank::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2l_req_torpedo_rank::clear_packet_id() {
  packet_id_ = 10206;
  clear_has_packet_id();
}
inline ::fish_protocols::e_server_msg_type packetc2l_req_torpedo_rank::packet_id() const {
  return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2l_req_torpedo_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;
}

// optional int32 torpedoId = 2;
inline bool packetc2l_req_torpedo_rank::has_torpedoid() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2l_req_torpedo_rank::set_has_torpedoid() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2l_req_torpedo_rank::clear_has_torpedoid() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2l_req_torpedo_rank::clear_torpedoid() {
  torpedoid_ = 0;
  clear_has_torpedoid();
}
inline ::google::protobuf::int32 packetc2l_req_torpedo_rank::torpedoid() const {
  return torpedoid_;
}
inline void packetc2l_req_torpedo_rank::set_torpedoid(::google::protobuf::int32 value) {
  set_has_torpedoid();
  torpedoid_ = value;
}

// -------------------------------------------------------------------

// packetl2c_req_torpedo_rank_result

// optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_torpedo_rank_result];
inline bool packetl2c_req_torpedo_rank_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetl2c_req_torpedo_rank_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetl2c_req_torpedo_rank_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetl2c_req_torpedo_rank_result::clear_packet_id() {
  packet_id_ = 16205;
  clear_has_packet_id();
}
inline ::fish_protocols::e_server_msg_type packetl2c_req_torpedo_rank_result::packet_id() const {
  return static_cast< ::fish_protocols::e_server_msg_type >(packet_id_);
}
inline void packetl2c_req_torpedo_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 int32 torpedoId = 2;
inline bool packetl2c_req_torpedo_rank_result::has_torpedoid() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetl2c_req_torpedo_rank_result::set_has_torpedoid() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetl2c_req_torpedo_rank_result::clear_has_torpedoid() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetl2c_req_torpedo_rank_result::clear_torpedoid() {
  torpedoid_ = 0;
  clear_has_torpedoid();
}
inline ::google::protobuf::int32 packetl2c_req_torpedo_rank_result::torpedoid() const {
  return torpedoid_;
}
inline void packetl2c_req_torpedo_rank_result::set_torpedoid(::google::protobuf::int32 value) {
  set_has_torpedoid();
  torpedoid_ = value;
}

// repeated .fish_protocols.RankInfo rankList = 3;
inline int packetl2c_req_torpedo_rank_result::ranklist_size() const {
  return ranklist_.size();
}
inline void packetl2c_req_torpedo_rank_result::clear_ranklist() {
  ranklist_.Clear();
}
inline const ::fish_protocols::RankInfo& packetl2c_req_torpedo_rank_result::ranklist(int index) const {
  return ranklist_.Get(index);
}
inline ::fish_protocols::RankInfo* packetl2c_req_torpedo_rank_result::mutable_ranklist(int index) {
  return ranklist_.Mutable(index);
}
inline ::fish_protocols::RankInfo* packetl2c_req_torpedo_rank_result::add_ranklist() {
  return ranklist_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::fish_protocols::RankInfo >&
packetl2c_req_torpedo_rank_result::ranklist() const {
  return ranklist_;
}
inline ::google::protobuf::RepeatedPtrField< ::fish_protocols::RankInfo >*
packetl2c_req_torpedo_rank_result::mutable_ranklist() {
  return &ranklist_;
}

// optional int32 selfRank = 4;
inline bool packetl2c_req_torpedo_rank_result::has_selfrank() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void packetl2c_req_torpedo_rank_result::set_has_selfrank() {
  _has_bits_[0] |= 0x00000008u;
}
inline void packetl2c_req_torpedo_rank_result::clear_has_selfrank() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void packetl2c_req_torpedo_rank_result::clear_selfrank() {
  selfrank_ = 0;
  clear_has_selfrank();
}
inline ::google::protobuf::int32 packetl2c_req_torpedo_rank_result::selfrank() const {
  return selfrank_;
}
inline void packetl2c_req_torpedo_rank_result::set_selfrank(::google::protobuf::int32 value) {
  set_has_selfrank();
  selfrank_ = value;
}

// optional int32 selfGold = 5;
inline bool packetl2c_req_torpedo_rank_result::has_selfgold() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void packetl2c_req_torpedo_rank_result::set_has_selfgold() {
  _has_bits_[0] |= 0x00000010u;
}
inline void packetl2c_req_torpedo_rank_result::clear_has_selfgold() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void packetl2c_req_torpedo_rank_result::clear_selfgold() {
  selfgold_ = 0;
  clear_has_selfgold();
}
inline ::google::protobuf::int32 packetl2c_req_torpedo_rank_result::selfgold() const {
  return selfgold_;
}
inline void packetl2c_req_torpedo_rank_result::set_selfgold(::google::protobuf::int32 value) {
  set_has_selfgold();
  selfgold_ = 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_5frank_2eproto__INCLUDED
