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

#ifndef PROTOBUF_common_5fprotocol_2eproto__INCLUDED
#define PROTOBUF_common_5fprotocol_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>
// @@protoc_insertion_point(includes)

namespace common_protocol {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_common_5fprotocol_2eproto();
void protobuf_AssignDesc_common_5fprotocol_2eproto();
void protobuf_ShutdownFile_common_5fprotocol_2eproto();

class PlayerConnect;
class PlayerConnectResult;

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

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

  PlayerConnect(const PlayerConnect& from);

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

  void Swap(PlayerConnect* other);

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

  PlayerConnect* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const PlayerConnect& from);
  void MergeFrom(const PlayerConnect& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional string account = 1;
  inline bool has_account() const;
  inline void clear_account();
  static const int kAccountFieldNumber = 1;
  inline const ::std::string& account() const;
  inline void set_account(const ::std::string& value);
  inline void set_account(const char* value);
  inline void set_account(const char* value, size_t size);
  inline ::std::string* mutable_account();
  inline ::std::string* release_account();
  inline void set_allocated_account(::std::string* account);

  // optional string token = 2;
  inline bool has_token() const;
  inline void clear_token();
  static const int kTokenFieldNumber = 2;
  inline const ::std::string& token() const;
  inline void set_token(const ::std::string& value);
  inline void set_token(const char* value);
  inline void set_token(const char* value, size_t size);
  inline ::std::string* mutable_token();
  inline ::std::string* release_token();
  inline void set_allocated_token(::std::string* token);

  // optional string sign = 3;
  inline bool has_sign() const;
  inline void clear_sign();
  static const int kSignFieldNumber = 3;
  inline const ::std::string& sign() const;
  inline void set_sign(const ::std::string& value);
  inline void set_sign(const char* value);
  inline void set_sign(const char* value, size_t size);
  inline ::std::string* mutable_sign();
  inline ::std::string* release_sign();
  inline void set_allocated_sign(::std::string* sign);

  // optional string platform = 4 [default = "dwc_def"];
  inline bool has_platform() const;
  inline void clear_platform();
  static const int kPlatformFieldNumber = 4;
  inline const ::std::string& platform() const;
  inline void set_platform(const ::std::string& value);
  inline void set_platform(const char* value);
  inline void set_platform(const char* value, size_t size);
  inline ::std::string* mutable_platform();
  inline ::std::string* release_platform();
  inline void set_allocated_platform(::std::string* platform);

  // optional string pay_platform = 5 [default = "dwc_def"];
  inline bool has_pay_platform() const;
  inline void clear_pay_platform();
  static const int kPayPlatformFieldNumber = 5;
  inline const ::std::string& pay_platform() const;
  inline void set_pay_platform(const ::std::string& value);
  inline void set_pay_platform(const char* value);
  inline void set_pay_platform(const char* value, size_t size);
  inline ::std::string* mutable_pay_platform();
  inline ::std::string* release_pay_platform();
  inline void set_allocated_pay_platform(::std::string* pay_platform);

  // optional string channel = 6 [default = "0"];
  inline bool has_channel() const;
  inline void clear_channel();
  static const int kChannelFieldNumber = 6;
  inline const ::std::string& channel() const;
  inline void set_channel(const ::std::string& value);
  inline void set_channel(const char* value);
  inline void set_channel(const char* value, size_t size);
  inline ::std::string* mutable_channel();
  inline ::std::string* release_channel();
  inline void set_allocated_channel(::std::string* channel);

  // @@protoc_insertion_point(class_scope:common_protocol.PlayerConnect)
 private:
  inline void set_has_account();
  inline void clear_has_account();
  inline void set_has_token();
  inline void clear_has_token();
  inline void set_has_sign();
  inline void clear_has_sign();
  inline void set_has_platform();
  inline void clear_has_platform();
  inline void set_has_pay_platform();
  inline void clear_has_pay_platform();
  inline void set_has_channel();
  inline void clear_has_channel();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::std::string* account_;
  ::std::string* token_;
  ::std::string* sign_;
  ::std::string* platform_;
  static ::std::string* _default_platform_;
  ::std::string* pay_platform_;
  static ::std::string* _default_pay_platform_;
  ::std::string* channel_;
  static ::std::string* _default_channel_;

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

  friend void  protobuf_AddDesc_common_5fprotocol_2eproto();
  friend void protobuf_AssignDesc_common_5fprotocol_2eproto();
  friend void protobuf_ShutdownFile_common_5fprotocol_2eproto();

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

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

  PlayerConnectResult(const PlayerConnectResult& from);

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

  void Swap(PlayerConnectResult* other);

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

  PlayerConnectResult* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const PlayerConnectResult& from);
  void MergeFrom(const PlayerConnectResult& 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 servertime = 1;
  inline bool has_servertime() const;
  inline void clear_servertime();
  static const int kServertimeFieldNumber = 1;
  inline ::google::protobuf::int32 servertime() const;
  inline void set_servertime(::google::protobuf::int32 value);

  // optional int32 gaming = 2;
  inline bool has_gaming() const;
  inline void clear_gaming();
  static const int kGamingFieldNumber = 2;
  inline ::google::protobuf::int32 gaming() const;
  inline void set_gaming(::google::protobuf::int32 value);

  // optional string ver = 3;
  inline bool has_ver() const;
  inline void clear_ver();
  static const int kVerFieldNumber = 3;
  inline const ::std::string& ver() const;
  inline void set_ver(const ::std::string& value);
  inline void set_ver(const char* value);
  inline void set_ver(const char* value, size_t size);
  inline ::std::string* mutable_ver();
  inline ::std::string* release_ver();
  inline void set_allocated_ver(::std::string* ver);

  // 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);

  // @@protoc_insertion_point(class_scope:common_protocol.PlayerConnectResult)
 private:
  inline void set_has_servertime();
  inline void clear_has_servertime();
  inline void set_has_gaming();
  inline void clear_has_gaming();
  inline void set_has_ver();
  inline void clear_has_ver();
  inline void set_has_result();
  inline void clear_has_result();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::int32 servertime_;
  ::google::protobuf::int32 gaming_;
  ::std::string* ver_;
  ::google::protobuf::int32 result_;

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

  friend void  protobuf_AddDesc_common_5fprotocol_2eproto();
  friend void protobuf_AssignDesc_common_5fprotocol_2eproto();
  friend void protobuf_ShutdownFile_common_5fprotocol_2eproto();

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


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

// PlayerConnect

// optional string account = 1;
inline bool PlayerConnect::has_account() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void PlayerConnect::set_has_account() {
  _has_bits_[0] |= 0x00000001u;
}
inline void PlayerConnect::clear_has_account() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void PlayerConnect::clear_account() {
  if (account_ != &::google::protobuf::internal::kEmptyString) {
    account_->clear();
  }
  clear_has_account();
}
inline const ::std::string& PlayerConnect::account() const {
  return *account_;
}
inline void PlayerConnect::set_account(const ::std::string& value) {
  set_has_account();
  if (account_ == &::google::protobuf::internal::kEmptyString) {
    account_ = new ::std::string;
  }
  account_->assign(value);
}
inline void PlayerConnect::set_account(const char* value) {
  set_has_account();
  if (account_ == &::google::protobuf::internal::kEmptyString) {
    account_ = new ::std::string;
  }
  account_->assign(value);
}
inline void PlayerConnect::set_account(const char* value, size_t size) {
  set_has_account();
  if (account_ == &::google::protobuf::internal::kEmptyString) {
    account_ = new ::std::string;
  }
  account_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_account() {
  set_has_account();
  if (account_ == &::google::protobuf::internal::kEmptyString) {
    account_ = new ::std::string;
  }
  return account_;
}
inline ::std::string* PlayerConnect::release_account() {
  clear_has_account();
  if (account_ == &::google::protobuf::internal::kEmptyString) {
    return NULL;
  } else {
    ::std::string* temp = account_;
    account_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_account(::std::string* account) {
  if (account_ != &::google::protobuf::internal::kEmptyString) {
    delete account_;
  }
  if (account) {
    set_has_account();
    account_ = account;
  } else {
    clear_has_account();
    account_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// optional string token = 2;
inline bool PlayerConnect::has_token() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PlayerConnect::set_has_token() {
  _has_bits_[0] |= 0x00000002u;
}
inline void PlayerConnect::clear_has_token() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void PlayerConnect::clear_token() {
  if (token_ != &::google::protobuf::internal::kEmptyString) {
    token_->clear();
  }
  clear_has_token();
}
inline const ::std::string& PlayerConnect::token() const {
  return *token_;
}
inline void PlayerConnect::set_token(const ::std::string& value) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::kEmptyString) {
    token_ = new ::std::string;
  }
  token_->assign(value);
}
inline void PlayerConnect::set_token(const char* value) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::kEmptyString) {
    token_ = new ::std::string;
  }
  token_->assign(value);
}
inline void PlayerConnect::set_token(const char* value, size_t size) {
  set_has_token();
  if (token_ == &::google::protobuf::internal::kEmptyString) {
    token_ = new ::std::string;
  }
  token_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_token() {
  set_has_token();
  if (token_ == &::google::protobuf::internal::kEmptyString) {
    token_ = new ::std::string;
  }
  return token_;
}
inline ::std::string* PlayerConnect::release_token() {
  clear_has_token();
  if (token_ == &::google::protobuf::internal::kEmptyString) {
    return NULL;
  } else {
    ::std::string* temp = token_;
    token_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_token(::std::string* token) {
  if (token_ != &::google::protobuf::internal::kEmptyString) {
    delete token_;
  }
  if (token) {
    set_has_token();
    token_ = token;
  } else {
    clear_has_token();
    token_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// optional string sign = 3;
inline bool PlayerConnect::has_sign() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void PlayerConnect::set_has_sign() {
  _has_bits_[0] |= 0x00000004u;
}
inline void PlayerConnect::clear_has_sign() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void PlayerConnect::clear_sign() {
  if (sign_ != &::google::protobuf::internal::kEmptyString) {
    sign_->clear();
  }
  clear_has_sign();
}
inline const ::std::string& PlayerConnect::sign() const {
  return *sign_;
}
inline void PlayerConnect::set_sign(const ::std::string& value) {
  set_has_sign();
  if (sign_ == &::google::protobuf::internal::kEmptyString) {
    sign_ = new ::std::string;
  }
  sign_->assign(value);
}
inline void PlayerConnect::set_sign(const char* value) {
  set_has_sign();
  if (sign_ == &::google::protobuf::internal::kEmptyString) {
    sign_ = new ::std::string;
  }
  sign_->assign(value);
}
inline void PlayerConnect::set_sign(const char* value, size_t size) {
  set_has_sign();
  if (sign_ == &::google::protobuf::internal::kEmptyString) {
    sign_ = new ::std::string;
  }
  sign_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_sign() {
  set_has_sign();
  if (sign_ == &::google::protobuf::internal::kEmptyString) {
    sign_ = new ::std::string;
  }
  return sign_;
}
inline ::std::string* PlayerConnect::release_sign() {
  clear_has_sign();
  if (sign_ == &::google::protobuf::internal::kEmptyString) {
    return NULL;
  } else {
    ::std::string* temp = sign_;
    sign_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_sign(::std::string* sign) {
  if (sign_ != &::google::protobuf::internal::kEmptyString) {
    delete sign_;
  }
  if (sign) {
    set_has_sign();
    sign_ = sign;
  } else {
    clear_has_sign();
    sign_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// optional string platform = 4 [default = "dwc_def"];
inline bool PlayerConnect::has_platform() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void PlayerConnect::set_has_platform() {
  _has_bits_[0] |= 0x00000008u;
}
inline void PlayerConnect::clear_has_platform() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void PlayerConnect::clear_platform() {
  if (platform_ != _default_platform_) {
    platform_->assign(*_default_platform_);
  }
  clear_has_platform();
}
inline const ::std::string& PlayerConnect::platform() const {
  return *platform_;
}
inline void PlayerConnect::set_platform(const ::std::string& value) {
  set_has_platform();
  if (platform_ == _default_platform_) {
    platform_ = new ::std::string;
  }
  platform_->assign(value);
}
inline void PlayerConnect::set_platform(const char* value) {
  set_has_platform();
  if (platform_ == _default_platform_) {
    platform_ = new ::std::string;
  }
  platform_->assign(value);
}
inline void PlayerConnect::set_platform(const char* value, size_t size) {
  set_has_platform();
  if (platform_ == _default_platform_) {
    platform_ = new ::std::string;
  }
  platform_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_platform() {
  set_has_platform();
  if (platform_ == _default_platform_) {
    platform_ = new ::std::string(*_default_platform_);
  }
  return platform_;
}
inline ::std::string* PlayerConnect::release_platform() {
  clear_has_platform();
  if (platform_ == _default_platform_) {
    return NULL;
  } else {
    ::std::string* temp = platform_;
    platform_ = const_cast< ::std::string*>(_default_platform_);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_platform(::std::string* platform) {
  if (platform_ != _default_platform_) {
    delete platform_;
  }
  if (platform) {
    set_has_platform();
    platform_ = platform;
  } else {
    clear_has_platform();
    platform_ = const_cast< ::std::string*>(_default_platform_);
  }
}

// optional string pay_platform = 5 [default = "dwc_def"];
inline bool PlayerConnect::has_pay_platform() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void PlayerConnect::set_has_pay_platform() {
  _has_bits_[0] |= 0x00000010u;
}
inline void PlayerConnect::clear_has_pay_platform() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void PlayerConnect::clear_pay_platform() {
  if (pay_platform_ != _default_pay_platform_) {
    pay_platform_->assign(*_default_pay_platform_);
  }
  clear_has_pay_platform();
}
inline const ::std::string& PlayerConnect::pay_platform() const {
  return *pay_platform_;
}
inline void PlayerConnect::set_pay_platform(const ::std::string& value) {
  set_has_pay_platform();
  if (pay_platform_ == _default_pay_platform_) {
    pay_platform_ = new ::std::string;
  }
  pay_platform_->assign(value);
}
inline void PlayerConnect::set_pay_platform(const char* value) {
  set_has_pay_platform();
  if (pay_platform_ == _default_pay_platform_) {
    pay_platform_ = new ::std::string;
  }
  pay_platform_->assign(value);
}
inline void PlayerConnect::set_pay_platform(const char* value, size_t size) {
  set_has_pay_platform();
  if (pay_platform_ == _default_pay_platform_) {
    pay_platform_ = new ::std::string;
  }
  pay_platform_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_pay_platform() {
  set_has_pay_platform();
  if (pay_platform_ == _default_pay_platform_) {
    pay_platform_ = new ::std::string(*_default_pay_platform_);
  }
  return pay_platform_;
}
inline ::std::string* PlayerConnect::release_pay_platform() {
  clear_has_pay_platform();
  if (pay_platform_ == _default_pay_platform_) {
    return NULL;
  } else {
    ::std::string* temp = pay_platform_;
    pay_platform_ = const_cast< ::std::string*>(_default_pay_platform_);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_pay_platform(::std::string* pay_platform) {
  if (pay_platform_ != _default_pay_platform_) {
    delete pay_platform_;
  }
  if (pay_platform) {
    set_has_pay_platform();
    pay_platform_ = pay_platform;
  } else {
    clear_has_pay_platform();
    pay_platform_ = const_cast< ::std::string*>(_default_pay_platform_);
  }
}

// optional string channel = 6 [default = "0"];
inline bool PlayerConnect::has_channel() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void PlayerConnect::set_has_channel() {
  _has_bits_[0] |= 0x00000020u;
}
inline void PlayerConnect::clear_has_channel() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void PlayerConnect::clear_channel() {
  if (channel_ != _default_channel_) {
    channel_->assign(*_default_channel_);
  }
  clear_has_channel();
}
inline const ::std::string& PlayerConnect::channel() const {
  return *channel_;
}
inline void PlayerConnect::set_channel(const ::std::string& value) {
  set_has_channel();
  if (channel_ == _default_channel_) {
    channel_ = new ::std::string;
  }
  channel_->assign(value);
}
inline void PlayerConnect::set_channel(const char* value) {
  set_has_channel();
  if (channel_ == _default_channel_) {
    channel_ = new ::std::string;
  }
  channel_->assign(value);
}
inline void PlayerConnect::set_channel(const char* value, size_t size) {
  set_has_channel();
  if (channel_ == _default_channel_) {
    channel_ = new ::std::string;
  }
  channel_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnect::mutable_channel() {
  set_has_channel();
  if (channel_ == _default_channel_) {
    channel_ = new ::std::string(*_default_channel_);
  }
  return channel_;
}
inline ::std::string* PlayerConnect::release_channel() {
  clear_has_channel();
  if (channel_ == _default_channel_) {
    return NULL;
  } else {
    ::std::string* temp = channel_;
    channel_ = const_cast< ::std::string*>(_default_channel_);
    return temp;
  }
}
inline void PlayerConnect::set_allocated_channel(::std::string* channel) {
  if (channel_ != _default_channel_) {
    delete channel_;
  }
  if (channel) {
    set_has_channel();
    channel_ = channel;
  } else {
    clear_has_channel();
    channel_ = const_cast< ::std::string*>(_default_channel_);
  }
}

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

// PlayerConnectResult

// optional int32 servertime = 1;
inline bool PlayerConnectResult::has_servertime() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void PlayerConnectResult::set_has_servertime() {
  _has_bits_[0] |= 0x00000001u;
}
inline void PlayerConnectResult::clear_has_servertime() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void PlayerConnectResult::clear_servertime() {
  servertime_ = 0;
  clear_has_servertime();
}
inline ::google::protobuf::int32 PlayerConnectResult::servertime() const {
  return servertime_;
}
inline void PlayerConnectResult::set_servertime(::google::protobuf::int32 value) {
  set_has_servertime();
  servertime_ = value;
}

// optional int32 gaming = 2;
inline bool PlayerConnectResult::has_gaming() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PlayerConnectResult::set_has_gaming() {
  _has_bits_[0] |= 0x00000002u;
}
inline void PlayerConnectResult::clear_has_gaming() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void PlayerConnectResult::clear_gaming() {
  gaming_ = 0;
  clear_has_gaming();
}
inline ::google::protobuf::int32 PlayerConnectResult::gaming() const {
  return gaming_;
}
inline void PlayerConnectResult::set_gaming(::google::protobuf::int32 value) {
  set_has_gaming();
  gaming_ = value;
}

// optional string ver = 3;
inline bool PlayerConnectResult::has_ver() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void PlayerConnectResult::set_has_ver() {
  _has_bits_[0] |= 0x00000004u;
}
inline void PlayerConnectResult::clear_has_ver() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void PlayerConnectResult::clear_ver() {
  if (ver_ != &::google::protobuf::internal::kEmptyString) {
    ver_->clear();
  }
  clear_has_ver();
}
inline const ::std::string& PlayerConnectResult::ver() const {
  return *ver_;
}
inline void PlayerConnectResult::set_ver(const ::std::string& value) {
  set_has_ver();
  if (ver_ == &::google::protobuf::internal::kEmptyString) {
    ver_ = new ::std::string;
  }
  ver_->assign(value);
}
inline void PlayerConnectResult::set_ver(const char* value) {
  set_has_ver();
  if (ver_ == &::google::protobuf::internal::kEmptyString) {
    ver_ = new ::std::string;
  }
  ver_->assign(value);
}
inline void PlayerConnectResult::set_ver(const char* value, size_t size) {
  set_has_ver();
  if (ver_ == &::google::protobuf::internal::kEmptyString) {
    ver_ = new ::std::string;
  }
  ver_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* PlayerConnectResult::mutable_ver() {
  set_has_ver();
  if (ver_ == &::google::protobuf::internal::kEmptyString) {
    ver_ = new ::std::string;
  }
  return ver_;
}
inline ::std::string* PlayerConnectResult::release_ver() {
  clear_has_ver();
  if (ver_ == &::google::protobuf::internal::kEmptyString) {
    return NULL;
  } else {
    ::std::string* temp = ver_;
    ver_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    return temp;
  }
}
inline void PlayerConnectResult::set_allocated_ver(::std::string* ver) {
  if (ver_ != &::google::protobuf::internal::kEmptyString) {
    delete ver_;
  }
  if (ver) {
    set_has_ver();
    ver_ = ver;
  } else {
    clear_has_ver();
    ver_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// optional int32 result = 4;
inline bool PlayerConnectResult::has_result() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void PlayerConnectResult::set_has_result() {
  _has_bits_[0] |= 0x00000008u;
}
inline void PlayerConnectResult::clear_has_result() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void PlayerConnectResult::clear_result() {
  result_ = 0;
  clear_has_result();
}
inline ::google::protobuf::int32 PlayerConnectResult::result() const {
  return result_;
}
inline void PlayerConnectResult::set_result(::google::protobuf::int32 value) {
  set_has_result();
  result_ = value;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace common_protocol

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_common_5fprotocol_2eproto__INCLUDED
