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

#ifndef PROTOBUF_client2world_5fshop_2eproto__INCLUDED
#define PROTOBUF_client2world_5fshop_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 "client2world_msg_type.pb.h"
#include "msg_type_def.pb.h"
#include "msg_info_def.pb.h"
// @@protoc_insertion_point(includes)

namespace client2world_protocols {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_client2world_5fshop_2eproto();
void protobuf_AssignDesc_client2world_5fshop_2eproto();
void protobuf_ShutdownFile_client2world_5fshop_2eproto();

class packetc2w_buy_commodity;
class packetw2c_buy_commodity_result;
class packetc2w_lottery_growth_gift;
class packetw2c_lottery_growth_gift_result;

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

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

  packetc2w_buy_commodity(const packetc2w_buy_commodity& from);

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

  void Swap(packetc2w_buy_commodity* other);

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

  packetc2w_buy_commodity* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_buy_commodity& from);
  void MergeFrom(const packetc2w_buy_commodity& 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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_buy_commodity];
  inline bool has_packet_id() const;
  inline void clear_packet_id();
  static const int kPacketIdFieldNumber = 1;
  inline ::client2world_protocols::e_server_msg_type packet_id() const;
  inline void set_packet_id(::client2world_protocols::e_server_msg_type value);

  // optional int32 commodityId = 2;
  inline bool has_commodityid() const;
  inline void clear_commodityid();
  static const int kCommodityIdFieldNumber = 2;
  inline ::google::protobuf::int32 commodityid() const;
  inline void set_commodityid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_buy_commodity)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_commodityid();
  inline void clear_has_commodityid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 commodityid_;

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

  friend void  protobuf_AddDesc_client2world_5fshop_2eproto();
  friend void protobuf_AssignDesc_client2world_5fshop_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fshop_2eproto();

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

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

  packetw2c_buy_commodity_result(const packetw2c_buy_commodity_result& from);

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

  void Swap(packetw2c_buy_commodity_result* other);

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

  packetw2c_buy_commodity_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_buy_commodity_result& from);
  void MergeFrom(const packetw2c_buy_commodity_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_buy_commodity_result];
  inline bool has_packet_id() const;
  inline void clear_packet_id();
  static const int kPacketIdFieldNumber = 1;
  inline ::client2world_protocols::e_server_msg_type packet_id() const;
  inline void set_packet_id(::client2world_protocols::e_server_msg_type value);

  // optional int32 result = 2;
  inline bool has_result() const;
  inline void clear_result();
  static const int kResultFieldNumber = 2;
  inline ::google::protobuf::int32 result() const;
  inline void set_result(::google::protobuf::int32 value);

  // optional int32 commodityId = 3;
  inline bool has_commodityid() const;
  inline void clear_commodityid();
  static const int kCommodityIdFieldNumber = 3;
  inline ::google::protobuf::int32 commodityid() const;
  inline void set_commodityid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_buy_commodity_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_commodityid();
  inline void clear_has_commodityid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 result_;
  ::google::protobuf::int32 commodityid_;

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

  friend void  protobuf_AddDesc_client2world_5fshop_2eproto();
  friend void protobuf_AssignDesc_client2world_5fshop_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fshop_2eproto();

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

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

  packetc2w_lottery_growth_gift(const packetc2w_lottery_growth_gift& from);

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

  void Swap(packetc2w_lottery_growth_gift* other);

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

  packetc2w_lottery_growth_gift* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_lottery_growth_gift& from);
  void MergeFrom(const packetc2w_lottery_growth_gift& 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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_lottery_growth_gift];
  inline bool has_packet_id() const;
  inline void clear_packet_id();
  static const int kPacketIdFieldNumber = 1;
  inline ::client2world_protocols::e_server_msg_type packet_id() const;
  inline void set_packet_id(::client2world_protocols::e_server_msg_type value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_lottery_growth_gift)
 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_client2world_5fshop_2eproto();
  friend void protobuf_AssignDesc_client2world_5fshop_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fshop_2eproto();

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

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

  packetw2c_lottery_growth_gift_result(const packetw2c_lottery_growth_gift_result& from);

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

  void Swap(packetw2c_lottery_growth_gift_result* other);

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

  packetw2c_lottery_growth_gift_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_lottery_growth_gift_result& from);
  void MergeFrom(const packetw2c_lottery_growth_gift_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 .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_lottery_growth_gift_result];
  inline bool has_packet_id() const;
  inline void clear_packet_id();
  static const int kPacketIdFieldNumber = 1;
  inline ::client2world_protocols::e_server_msg_type packet_id() const;
  inline void set_packet_id(::client2world_protocols::e_server_msg_type value);

  // optional int32 result = 2;
  inline bool has_result() const;
  inline void clear_result();
  static const int kResultFieldNumber = 2;
  inline ::google::protobuf::int32 result() const;
  inline void set_result(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_lottery_growth_gift_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_;
  ::google::protobuf::int32 result_;

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

  friend void  protobuf_AddDesc_client2world_5fshop_2eproto();
  friend void protobuf_AssignDesc_client2world_5fshop_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fshop_2eproto();

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


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

// packetc2w_buy_commodity

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_buy_commodity];
inline bool packetc2w_buy_commodity::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_buy_commodity::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_buy_commodity::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_buy_commodity::clear_packet_id() {
  packet_id_ = 5023;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_buy_commodity::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_buy_commodity::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  set_has_packet_id();
  packet_id_ = value;
}

// optional int32 commodityId = 2;
inline bool packetc2w_buy_commodity::has_commodityid() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_buy_commodity::set_has_commodityid() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_buy_commodity::clear_has_commodityid() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_buy_commodity::clear_commodityid() {
  commodityid_ = 0;
  clear_has_commodityid();
}
inline ::google::protobuf::int32 packetc2w_buy_commodity::commodityid() const {
  return commodityid_;
}
inline void packetc2w_buy_commodity::set_commodityid(::google::protobuf::int32 value) {
  set_has_commodityid();
  commodityid_ = value;
}

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

// packetw2c_buy_commodity_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_buy_commodity_result];
inline bool packetw2c_buy_commodity_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_buy_commodity_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_buy_commodity_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_buy_commodity_result::clear_packet_id() {
  packet_id_ = 7525;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_buy_commodity_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_buy_commodity_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  set_has_packet_id();
  packet_id_ = value;
}

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

// optional int32 commodityId = 3;
inline bool packetw2c_buy_commodity_result::has_commodityid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetw2c_buy_commodity_result::set_has_commodityid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetw2c_buy_commodity_result::clear_has_commodityid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetw2c_buy_commodity_result::clear_commodityid() {
  commodityid_ = 0;
  clear_has_commodityid();
}
inline ::google::protobuf::int32 packetw2c_buy_commodity_result::commodityid() const {
  return commodityid_;
}
inline void packetw2c_buy_commodity_result::set_commodityid(::google::protobuf::int32 value) {
  set_has_commodityid();
  commodityid_ = value;
}

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

// packetc2w_lottery_growth_gift

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_lottery_growth_gift];
inline bool packetc2w_lottery_growth_gift::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_lottery_growth_gift::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_lottery_growth_gift::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_lottery_growth_gift::clear_packet_id() {
  packet_id_ = 5060;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_lottery_growth_gift::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_lottery_growth_gift::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  set_has_packet_id();
  packet_id_ = value;
}

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

// packetw2c_lottery_growth_gift_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_lottery_growth_gift_result];
inline bool packetw2c_lottery_growth_gift_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_lottery_growth_gift_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_lottery_growth_gift_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_lottery_growth_gift_result::clear_packet_id() {
  packet_id_ = 7564;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_lottery_growth_gift_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_lottery_growth_gift_result::set_packet_id(::client2world_protocols::e_server_msg_type value) {
  assert(::client2world_protocols::e_server_msg_type_IsValid(value));
  set_has_packet_id();
  packet_id_ = value;
}

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace client2world_protocols

#ifndef SWIG
namespace google {
namespace protobuf {


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

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_client2world_5fshop_2eproto__INCLUDED
