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

#ifndef PROTOBUF_client2world_5fplayer_5fquest_2eproto__INCLUDED
#define PROTOBUF_client2world_5fplayer_5fquest_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_5fplayer_5fquest_2eproto();
void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

class packetc2w_receive_questreward;
class packetw2c_receive_questreward_result;
class packetc2w_recvall_questreward;
class packetw2c_recvall_questreward_result;
class packetc2w_get_quest;
class packetw2c_get_quest_result;
class packetc2w_receive_quest_score;
class packetw2c_receive_quest_score_result;
class packetc2w_receive_active_reward;
class packetw2c_receive_active_reward_result;
class packetw2c_quest_notify;

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

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

  packetc2w_receive_questreward(const packetc2w_receive_questreward& from);

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

  void Swap(packetc2w_receive_questreward* other);

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

  packetc2w_receive_questreward* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_receive_questreward& from);
  void MergeFrom(const packetc2w_receive_questreward& 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_receive_questreward];
  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 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 questid = 3;
  inline bool has_questid() const;
  inline void clear_questid();
  static const int kQuestidFieldNumber = 3;
  inline ::google::protobuf::int32 questid() const;
  inline void set_questid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_questreward)
 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_questid();
  inline void clear_has_questid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 type_;
  ::google::protobuf::int32 questid_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_receive_questreward_result(const packetw2c_receive_questreward_result& from);

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

  void Swap(packetw2c_receive_questreward_result* other);

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

  packetw2c_receive_questreward_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_receive_questreward_result& from);
  void MergeFrom(const packetw2c_receive_questreward_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_questreward_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 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 questid = 3;
  inline bool has_questid() const;
  inline void clear_questid();
  static const int kQuestidFieldNumber = 3;
  inline ::google::protobuf::int32 questid() const;
  inline void set_questid(::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);

  // repeated .msg_info_def.ItemInfo items = 5;
  inline int items_size() const;
  inline void clear_items();
  static const int kItemsFieldNumber = 5;
  inline const ::msg_info_def::ItemInfo& items(int index) const;
  inline ::msg_info_def::ItemInfo* mutable_items(int index);
  inline ::msg_info_def::ItemInfo* add_items();
  inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
      items() const;
  inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
      mutable_items();

  // optional int32 nextQuestId = 6;
  inline bool has_nextquestid() const;
  inline void clear_nextquestid();
  static const int kNextQuestIdFieldNumber = 6;
  inline ::google::protobuf::int32 nextquestid() const;
  inline void set_nextquestid(::google::protobuf::int32 value);

  // optional int32 nextQuestCount = 7;
  inline bool has_nextquestcount() const;
  inline void clear_nextquestcount();
  static const int kNextQuestCountFieldNumber = 7;
  inline ::google::protobuf::int32 nextquestcount() const;
  inline void set_nextquestcount(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_questreward_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_questid();
  inline void clear_has_questid();
  inline void set_has_result();
  inline void clear_has_result();
  inline void set_has_nextquestid();
  inline void clear_has_nextquestid();
  inline void set_has_nextquestcount();
  inline void clear_has_nextquestcount();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 type_;
  ::google::protobuf::int32 questid_;
  ::google::protobuf::int32 result_;
  ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > items_;
  ::google::protobuf::int32 nextquestid_;
  ::google::protobuf::int32 nextquestcount_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetc2w_recvall_questreward(const packetc2w_recvall_questreward& from);

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

  void Swap(packetc2w_recvall_questreward* other);

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

  packetc2w_recvall_questreward* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_recvall_questreward& from);
  void MergeFrom(const packetc2w_recvall_questreward& 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_recvall_questreward];
  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 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:client2world_protocols.packetc2w_recvall_questreward)
 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_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_recvall_questreward_result(const packetw2c_recvall_questreward_result& from);

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

  void Swap(packetw2c_recvall_questreward_result* other);

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

  packetw2c_recvall_questreward_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_recvall_questreward_result& from);
  void MergeFrom(const packetw2c_recvall_questreward_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_recvall_questreward_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 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);

  // repeated int32 questid = 3;
  inline int questid_size() const;
  inline void clear_questid();
  static const int kQuestidFieldNumber = 3;
  inline ::google::protobuf::int32 questid(int index) const;
  inline void set_questid(int index, ::google::protobuf::int32 value);
  inline void add_questid(::google::protobuf::int32 value);
  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      questid() const;
  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_questid();

  // repeated int32 active = 4;
  inline int active_size() const;
  inline void clear_active();
  static const int kActiveFieldNumber = 4;
  inline ::google::protobuf::int32 active(int index) const;
  inline void set_active(int index, ::google::protobuf::int32 value);
  inline void add_active(::google::protobuf::int32 value);
  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      active() const;
  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_active();

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

  // repeated .msg_info_def.ItemInfo items = 6;
  inline int items_size() const;
  inline void clear_items();
  static const int kItemsFieldNumber = 6;
  inline const ::msg_info_def::ItemInfo& items(int index) const;
  inline ::msg_info_def::ItemInfo* mutable_items(int index);
  inline ::msg_info_def::ItemInfo* add_items();
  inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
      items() const;
  inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
      mutable_items();

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_recvall_questreward_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_result();
  inline void clear_has_result();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 type_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > questid_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > active_;
  ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo > items_;
  ::google::protobuf::int32 result_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetc2w_get_quest(const packetc2w_get_quest& from);

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

  void Swap(packetc2w_get_quest* other);

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

  packetc2w_get_quest* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_get_quest& from);
  void MergeFrom(const packetc2w_get_quest& 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_get_quest];
  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 questType = 2;
  inline bool has_questtype() const;
  inline void clear_questtype();
  static const int kQuestTypeFieldNumber = 2;
  inline ::google::protobuf::int32 questtype() const;
  inline void set_questtype(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_get_quest)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questtype();
  inline void clear_has_questtype();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 questtype_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_get_quest_result(const packetw2c_get_quest_result& from);

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

  void Swap(packetw2c_get_quest_result* other);

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

  packetw2c_get_quest_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_get_quest_result& from);
  void MergeFrom(const packetw2c_get_quest_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_get_quest_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);

  // repeated .msg_info_def.msg_quest_info questList = 2;
  inline int questlist_size() const;
  inline void clear_questlist();
  static const int kQuestListFieldNumber = 2;
  inline const ::msg_info_def::msg_quest_info& questlist(int index) const;
  inline ::msg_info_def::msg_quest_info* mutable_questlist(int index);
  inline ::msg_info_def::msg_quest_info* add_questlist();
  inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::msg_quest_info >&
      questlist() const;
  inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::msg_quest_info >*
      mutable_questlist();

  // repeated int32 rewardRecvList = 3;
  inline int rewardrecvlist_size() const;
  inline void clear_rewardrecvlist();
  static const int kRewardRecvListFieldNumber = 3;
  inline ::google::protobuf::int32 rewardrecvlist(int index) const;
  inline void set_rewardrecvlist(int index, ::google::protobuf::int32 value);
  inline void add_rewardrecvlist(::google::protobuf::int32 value);
  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      rewardrecvlist() const;
  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_rewardrecvlist();

  // optional int32 questType = 4;
  inline bool has_questtype() const;
  inline void clear_questtype();
  static const int kQuestTypeFieldNumber = 4;
  inline ::google::protobuf::int32 questtype() const;
  inline void set_questtype(::google::protobuf::int32 value);

  // optional int32 curScore = 5;
  inline bool has_curscore() const;
  inline void clear_curscore();
  static const int kCurScoreFieldNumber = 5;
  inline ::google::protobuf::int32 curscore() const;
  inline void set_curscore(::google::protobuf::int32 value);

  // optional int32 endTime = 6;
  inline bool has_endtime() const;
  inline void clear_endtime();
  static const int kEndTimeFieldNumber = 6;
  inline ::google::protobuf::int32 endtime() const;
  inline void set_endtime(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_get_quest_result)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questtype();
  inline void clear_has_questtype();
  inline void set_has_curscore();
  inline void clear_has_curscore();
  inline void set_has_endtime();
  inline void clear_has_endtime();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::RepeatedPtrField< ::msg_info_def::msg_quest_info > questlist_;
  int packet_id_;
  ::google::protobuf::int32 questtype_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rewardrecvlist_;
  ::google::protobuf::int32 curscore_;
  ::google::protobuf::int32 endtime_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetc2w_receive_quest_score(const packetc2w_receive_quest_score& from);

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

  void Swap(packetc2w_receive_quest_score* other);

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

  packetc2w_receive_quest_score* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_receive_quest_score& from);
  void MergeFrom(const packetc2w_receive_quest_score& 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_receive_quest_score];
  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 questId = 2;
  inline bool has_questid() const;
  inline void clear_questid();
  static const int kQuestIdFieldNumber = 2;
  inline ::google::protobuf::int32 questid() const;
  inline void set_questid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_quest_score)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questid();
  inline void clear_has_questid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 questid_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_receive_quest_score_result(const packetw2c_receive_quest_score_result& from);

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

  void Swap(packetw2c_receive_quest_score_result* other);

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

  packetw2c_receive_quest_score_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_receive_quest_score_result& from);
  void MergeFrom(const packetw2c_receive_quest_score_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_receive_quest_score_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 questId = 2;
  inline bool has_questid() const;
  inline void clear_questid();
  static const int kQuestIdFieldNumber = 2;
  inline ::google::protobuf::int32 questid() const;
  inline void set_questid(::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:client2world_protocols.packetw2c_receive_quest_score_result)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questid();
  inline void clear_has_questid();
  inline void set_has_result();
  inline void clear_has_result();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

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

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetc2w_receive_active_reward(const packetc2w_receive_active_reward& from);

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

  void Swap(packetc2w_receive_active_reward* other);

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

  packetc2w_receive_active_reward* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetc2w_receive_active_reward& from);
  void MergeFrom(const packetc2w_receive_active_reward& 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_receive_active_reward];
  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 questType = 2;
  inline bool has_questtype() const;
  inline void clear_questtype();
  static const int kQuestTypeFieldNumber = 2;
  inline ::google::protobuf::int32 questtype() const;
  inline void set_questtype(::google::protobuf::int32 value);

  // optional int32 rewardId = 3;
  inline bool has_rewardid() const;
  inline void clear_rewardid();
  static const int kRewardIdFieldNumber = 3;
  inline ::google::protobuf::int32 rewardid() const;
  inline void set_rewardid(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetc2w_receive_active_reward)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questtype();
  inline void clear_has_questtype();
  inline void set_has_rewardid();
  inline void clear_has_rewardid();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 questtype_;
  ::google::protobuf::int32 rewardid_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_receive_active_reward_result(const packetw2c_receive_active_reward_result& from);

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

  void Swap(packetw2c_receive_active_reward_result* other);

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

  packetw2c_receive_active_reward_result* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_receive_active_reward_result& from);
  void MergeFrom(const packetw2c_receive_active_reward_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_receive_active_reward_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 questType = 2;
  inline bool has_questtype() const;
  inline void clear_questtype();
  static const int kQuestTypeFieldNumber = 2;
  inline ::google::protobuf::int32 questtype() const;
  inline void set_questtype(::google::protobuf::int32 value);

  // optional int32 rewardId = 3;
  inline bool has_rewardid() const;
  inline void clear_rewardid();
  static const int kRewardIdFieldNumber = 3;
  inline ::google::protobuf::int32 rewardid() const;
  inline void set_rewardid(::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);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_receive_active_reward_result)
 private:
  inline void set_has_packet_id();
  inline void clear_has_packet_id();
  inline void set_has_questtype();
  inline void clear_has_questtype();
  inline void set_has_rewardid();
  inline void clear_has_rewardid();
  inline void set_has_result();
  inline void clear_has_result();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 questtype_;
  ::google::protobuf::int32 rewardid_;
  ::google::protobuf::int32 result_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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

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

  packetw2c_quest_notify(const packetw2c_quest_notify& from);

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

  void Swap(packetw2c_quest_notify* other);

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

  packetw2c_quest_notify* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const packetw2c_quest_notify& from);
  void MergeFrom(const packetw2c_quest_notify& 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_quest_notify];
  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 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 questId = 3;
  inline bool has_questid() const;
  inline void clear_questid();
  static const int kQuestIdFieldNumber = 3;
  inline ::google::protobuf::int32 questid() const;
  inline void set_questid(::google::protobuf::int32 value);

  // optional int32 count = 4;
  inline bool has_count() const;
  inline void clear_count();
  static const int kCountFieldNumber = 4;
  inline ::google::protobuf::int32 count() const;
  inline void set_count(::google::protobuf::int32 value);

  // optional int32 day = 5;
  inline bool has_day() const;
  inline void clear_day();
  static const int kDayFieldNumber = 5;
  inline ::google::protobuf::int32 day() const;
  inline void set_day(::google::protobuf::int32 value);

  // @@protoc_insertion_point(class_scope:client2world_protocols.packetw2c_quest_notify)
 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_questid();
  inline void clear_has_questid();
  inline void set_has_count();
  inline void clear_has_count();
  inline void set_has_day();
  inline void clear_has_day();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  int packet_id_;
  ::google::protobuf::int32 type_;
  ::google::protobuf::int32 questid_;
  ::google::protobuf::int32 count_;
  ::google::protobuf::int32 day_;

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

  friend void  protobuf_AddDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_AssignDesc_client2world_5fplayer_5fquest_2eproto();
  friend void protobuf_ShutdownFile_client2world_5fplayer_5fquest_2eproto();

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


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

// packetc2w_receive_questreward

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_questreward];
inline bool packetc2w_receive_questreward::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_receive_questreward::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_receive_questreward::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_receive_questreward::clear_packet_id() {
  packet_id_ = 5059;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_receive_questreward::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_receive_questreward::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 type = 2;
inline bool packetc2w_receive_questreward::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_receive_questreward::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_receive_questreward::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_receive_questreward::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::google::protobuf::int32 packetc2w_receive_questreward::type() const {
  return type_;
}
inline void packetc2w_receive_questreward::set_type(::google::protobuf::int32 value) {
  set_has_type();
  type_ = value;
}

// optional int32 questid = 3;
inline bool packetc2w_receive_questreward::has_questid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetc2w_receive_questreward::set_has_questid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetc2w_receive_questreward::clear_has_questid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetc2w_receive_questreward::clear_questid() {
  questid_ = 0;
  clear_has_questid();
}
inline ::google::protobuf::int32 packetc2w_receive_questreward::questid() const {
  return questid_;
}
inline void packetc2w_receive_questreward::set_questid(::google::protobuf::int32 value) {
  set_has_questid();
  questid_ = value;
}

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

// packetw2c_receive_questreward_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_questreward_result];
inline bool packetw2c_receive_questreward_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_receive_questreward_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_receive_questreward_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_receive_questreward_result::clear_packet_id() {
  packet_id_ = 7562;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_receive_questreward_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_receive_questreward_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 type = 2;
inline bool packetw2c_receive_questreward_result::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetw2c_receive_questreward_result::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetw2c_receive_questreward_result::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetw2c_receive_questreward_result::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::google::protobuf::int32 packetw2c_receive_questreward_result::type() const {
  return type_;
}
inline void packetw2c_receive_questreward_result::set_type(::google::protobuf::int32 value) {
  set_has_type();
  type_ = value;
}

// optional int32 questid = 3;
inline bool packetw2c_receive_questreward_result::has_questid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetw2c_receive_questreward_result::set_has_questid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetw2c_receive_questreward_result::clear_has_questid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetw2c_receive_questreward_result::clear_questid() {
  questid_ = 0;
  clear_has_questid();
}
inline ::google::protobuf::int32 packetw2c_receive_questreward_result::questid() const {
  return questid_;
}
inline void packetw2c_receive_questreward_result::set_questid(::google::protobuf::int32 value) {
  set_has_questid();
  questid_ = value;
}

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

// repeated .msg_info_def.ItemInfo items = 5;
inline int packetw2c_receive_questreward_result::items_size() const {
  return items_.size();
}
inline void packetw2c_receive_questreward_result::clear_items() {
  items_.Clear();
}
inline const ::msg_info_def::ItemInfo& packetw2c_receive_questreward_result::items(int index) const {
  return items_.Get(index);
}
inline ::msg_info_def::ItemInfo* packetw2c_receive_questreward_result::mutable_items(int index) {
  return items_.Mutable(index);
}
inline ::msg_info_def::ItemInfo* packetw2c_receive_questreward_result::add_items() {
  return items_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
packetw2c_receive_questreward_result::items() const {
  return items_;
}
inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
packetw2c_receive_questreward_result::mutable_items() {
  return &items_;
}

// optional int32 nextQuestId = 6;
inline bool packetw2c_receive_questreward_result::has_nextquestid() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void packetw2c_receive_questreward_result::set_has_nextquestid() {
  _has_bits_[0] |= 0x00000020u;
}
inline void packetw2c_receive_questreward_result::clear_has_nextquestid() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void packetw2c_receive_questreward_result::clear_nextquestid() {
  nextquestid_ = 0;
  clear_has_nextquestid();
}
inline ::google::protobuf::int32 packetw2c_receive_questreward_result::nextquestid() const {
  return nextquestid_;
}
inline void packetw2c_receive_questreward_result::set_nextquestid(::google::protobuf::int32 value) {
  set_has_nextquestid();
  nextquestid_ = value;
}

// optional int32 nextQuestCount = 7;
inline bool packetw2c_receive_questreward_result::has_nextquestcount() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void packetw2c_receive_questreward_result::set_has_nextquestcount() {
  _has_bits_[0] |= 0x00000040u;
}
inline void packetw2c_receive_questreward_result::clear_has_nextquestcount() {
  _has_bits_[0] &= ~0x00000040u;
}
inline void packetw2c_receive_questreward_result::clear_nextquestcount() {
  nextquestcount_ = 0;
  clear_has_nextquestcount();
}
inline ::google::protobuf::int32 packetw2c_receive_questreward_result::nextquestcount() const {
  return nextquestcount_;
}
inline void packetw2c_receive_questreward_result::set_nextquestcount(::google::protobuf::int32 value) {
  set_has_nextquestcount();
  nextquestcount_ = value;
}

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

// packetc2w_recvall_questreward

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recvall_questreward];
inline bool packetc2w_recvall_questreward::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_recvall_questreward::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_recvall_questreward::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_recvall_questreward::clear_packet_id() {
  packet_id_ = 5256;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_recvall_questreward::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_recvall_questreward::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 type = 2;
inline bool packetc2w_recvall_questreward::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_recvall_questreward::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_recvall_questreward::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_recvall_questreward::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::google::protobuf::int32 packetc2w_recvall_questreward::type() const {
  return type_;
}
inline void packetc2w_recvall_questreward::set_type(::google::protobuf::int32 value) {
  set_has_type();
  type_ = value;
}

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

// packetw2c_recvall_questreward_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recvall_questreward_result];
inline bool packetw2c_recvall_questreward_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_recvall_questreward_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_recvall_questreward_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_recvall_questreward_result::clear_packet_id() {
  packet_id_ = 7804;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_recvall_questreward_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_recvall_questreward_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 type = 2;
inline bool packetw2c_recvall_questreward_result::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetw2c_recvall_questreward_result::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetw2c_recvall_questreward_result::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetw2c_recvall_questreward_result::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::google::protobuf::int32 packetw2c_recvall_questreward_result::type() const {
  return type_;
}
inline void packetw2c_recvall_questreward_result::set_type(::google::protobuf::int32 value) {
  set_has_type();
  type_ = value;
}

// repeated int32 questid = 3;
inline int packetw2c_recvall_questreward_result::questid_size() const {
  return questid_.size();
}
inline void packetw2c_recvall_questreward_result::clear_questid() {
  questid_.Clear();
}
inline ::google::protobuf::int32 packetw2c_recvall_questreward_result::questid(int index) const {
  return questid_.Get(index);
}
inline void packetw2c_recvall_questreward_result::set_questid(int index, ::google::protobuf::int32 value) {
  questid_.Set(index, value);
}
inline void packetw2c_recvall_questreward_result::add_questid(::google::protobuf::int32 value) {
  questid_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
packetw2c_recvall_questreward_result::questid() const {
  return questid_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
packetw2c_recvall_questreward_result::mutable_questid() {
  return &questid_;
}

// repeated int32 active = 4;
inline int packetw2c_recvall_questreward_result::active_size() const {
  return active_.size();
}
inline void packetw2c_recvall_questreward_result::clear_active() {
  active_.Clear();
}
inline ::google::protobuf::int32 packetw2c_recvall_questreward_result::active(int index) const {
  return active_.Get(index);
}
inline void packetw2c_recvall_questreward_result::set_active(int index, ::google::protobuf::int32 value) {
  active_.Set(index, value);
}
inline void packetw2c_recvall_questreward_result::add_active(::google::protobuf::int32 value) {
  active_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
packetw2c_recvall_questreward_result::active() const {
  return active_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
packetw2c_recvall_questreward_result::mutable_active() {
  return &active_;
}

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

// repeated .msg_info_def.ItemInfo items = 6;
inline int packetw2c_recvall_questreward_result::items_size() const {
  return items_.size();
}
inline void packetw2c_recvall_questreward_result::clear_items() {
  items_.Clear();
}
inline const ::msg_info_def::ItemInfo& packetw2c_recvall_questreward_result::items(int index) const {
  return items_.Get(index);
}
inline ::msg_info_def::ItemInfo* packetw2c_recvall_questreward_result::mutable_items(int index) {
  return items_.Mutable(index);
}
inline ::msg_info_def::ItemInfo* packetw2c_recvall_questreward_result::add_items() {
  return items_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >&
packetw2c_recvall_questreward_result::items() const {
  return items_;
}
inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::ItemInfo >*
packetw2c_recvall_questreward_result::mutable_items() {
  return &items_;
}

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

// packetc2w_get_quest

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_quest];
inline bool packetc2w_get_quest::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_get_quest::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_get_quest::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_get_quest::clear_packet_id() {
  packet_id_ = 5100;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_get_quest::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_get_quest::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 questType = 2;
inline bool packetc2w_get_quest::has_questtype() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_get_quest::set_has_questtype() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_get_quest::clear_has_questtype() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_get_quest::clear_questtype() {
  questtype_ = 0;
  clear_has_questtype();
}
inline ::google::protobuf::int32 packetc2w_get_quest::questtype() const {
  return questtype_;
}
inline void packetc2w_get_quest::set_questtype(::google::protobuf::int32 value) {
  set_has_questtype();
  questtype_ = value;
}

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

// packetw2c_get_quest_result

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

// repeated .msg_info_def.msg_quest_info questList = 2;
inline int packetw2c_get_quest_result::questlist_size() const {
  return questlist_.size();
}
inline void packetw2c_get_quest_result::clear_questlist() {
  questlist_.Clear();
}
inline const ::msg_info_def::msg_quest_info& packetw2c_get_quest_result::questlist(int index) const {
  return questlist_.Get(index);
}
inline ::msg_info_def::msg_quest_info* packetw2c_get_quest_result::mutable_questlist(int index) {
  return questlist_.Mutable(index);
}
inline ::msg_info_def::msg_quest_info* packetw2c_get_quest_result::add_questlist() {
  return questlist_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::msg_info_def::msg_quest_info >&
packetw2c_get_quest_result::questlist() const {
  return questlist_;
}
inline ::google::protobuf::RepeatedPtrField< ::msg_info_def::msg_quest_info >*
packetw2c_get_quest_result::mutable_questlist() {
  return &questlist_;
}

// repeated int32 rewardRecvList = 3;
inline int packetw2c_get_quest_result::rewardrecvlist_size() const {
  return rewardrecvlist_.size();
}
inline void packetw2c_get_quest_result::clear_rewardrecvlist() {
  rewardrecvlist_.Clear();
}
inline ::google::protobuf::int32 packetw2c_get_quest_result::rewardrecvlist(int index) const {
  return rewardrecvlist_.Get(index);
}
inline void packetw2c_get_quest_result::set_rewardrecvlist(int index, ::google::protobuf::int32 value) {
  rewardrecvlist_.Set(index, value);
}
inline void packetw2c_get_quest_result::add_rewardrecvlist(::google::protobuf::int32 value) {
  rewardrecvlist_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
packetw2c_get_quest_result::rewardrecvlist() const {
  return rewardrecvlist_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
packetw2c_get_quest_result::mutable_rewardrecvlist() {
  return &rewardrecvlist_;
}

// optional int32 questType = 4;
inline bool packetw2c_get_quest_result::has_questtype() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void packetw2c_get_quest_result::set_has_questtype() {
  _has_bits_[0] |= 0x00000008u;
}
inline void packetw2c_get_quest_result::clear_has_questtype() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void packetw2c_get_quest_result::clear_questtype() {
  questtype_ = 0;
  clear_has_questtype();
}
inline ::google::protobuf::int32 packetw2c_get_quest_result::questtype() const {
  return questtype_;
}
inline void packetw2c_get_quest_result::set_questtype(::google::protobuf::int32 value) {
  set_has_questtype();
  questtype_ = value;
}

// optional int32 curScore = 5;
inline bool packetw2c_get_quest_result::has_curscore() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void packetw2c_get_quest_result::set_has_curscore() {
  _has_bits_[0] |= 0x00000010u;
}
inline void packetw2c_get_quest_result::clear_has_curscore() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void packetw2c_get_quest_result::clear_curscore() {
  curscore_ = 0;
  clear_has_curscore();
}
inline ::google::protobuf::int32 packetw2c_get_quest_result::curscore() const {
  return curscore_;
}
inline void packetw2c_get_quest_result::set_curscore(::google::protobuf::int32 value) {
  set_has_curscore();
  curscore_ = value;
}

// optional int32 endTime = 6;
inline bool packetw2c_get_quest_result::has_endtime() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void packetw2c_get_quest_result::set_has_endtime() {
  _has_bits_[0] |= 0x00000020u;
}
inline void packetw2c_get_quest_result::clear_has_endtime() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void packetw2c_get_quest_result::clear_endtime() {
  endtime_ = 0;
  clear_has_endtime();
}
inline ::google::protobuf::int32 packetw2c_get_quest_result::endtime() const {
  return endtime_;
}
inline void packetw2c_get_quest_result::set_endtime(::google::protobuf::int32 value) {
  set_has_endtime();
  endtime_ = value;
}

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

// packetc2w_receive_quest_score

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_quest_score];
inline bool packetc2w_receive_quest_score::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_receive_quest_score::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_receive_quest_score::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_receive_quest_score::clear_packet_id() {
  packet_id_ = 5101;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_receive_quest_score::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_receive_quest_score::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 questId = 2;
inline bool packetc2w_receive_quest_score::has_questid() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_receive_quest_score::set_has_questid() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_receive_quest_score::clear_has_questid() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_receive_quest_score::clear_questid() {
  questid_ = 0;
  clear_has_questid();
}
inline ::google::protobuf::int32 packetc2w_receive_quest_score::questid() const {
  return questid_;
}
inline void packetc2w_receive_quest_score::set_questid(::google::protobuf::int32 value) {
  set_has_questid();
  questid_ = value;
}

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

// packetw2c_receive_quest_score_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_quest_score_result];
inline bool packetw2c_receive_quest_score_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_receive_quest_score_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_receive_quest_score_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_receive_quest_score_result::clear_packet_id() {
  packet_id_ = 7608;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_receive_quest_score_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_receive_quest_score_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 questId = 2;
inline bool packetw2c_receive_quest_score_result::has_questid() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetw2c_receive_quest_score_result::set_has_questid() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetw2c_receive_quest_score_result::clear_has_questid() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetw2c_receive_quest_score_result::clear_questid() {
  questid_ = 0;
  clear_has_questid();
}
inline ::google::protobuf::int32 packetw2c_receive_quest_score_result::questid() const {
  return questid_;
}
inline void packetw2c_receive_quest_score_result::set_questid(::google::protobuf::int32 value) {
  set_has_questid();
  questid_ = value;
}

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

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

// packetc2w_receive_active_reward

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_active_reward];
inline bool packetc2w_receive_active_reward::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetc2w_receive_active_reward::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetc2w_receive_active_reward::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetc2w_receive_active_reward::clear_packet_id() {
  packet_id_ = 5102;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetc2w_receive_active_reward::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetc2w_receive_active_reward::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 questType = 2;
inline bool packetc2w_receive_active_reward::has_questtype() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetc2w_receive_active_reward::set_has_questtype() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetc2w_receive_active_reward::clear_has_questtype() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetc2w_receive_active_reward::clear_questtype() {
  questtype_ = 0;
  clear_has_questtype();
}
inline ::google::protobuf::int32 packetc2w_receive_active_reward::questtype() const {
  return questtype_;
}
inline void packetc2w_receive_active_reward::set_questtype(::google::protobuf::int32 value) {
  set_has_questtype();
  questtype_ = value;
}

// optional int32 rewardId = 3;
inline bool packetc2w_receive_active_reward::has_rewardid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetc2w_receive_active_reward::set_has_rewardid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetc2w_receive_active_reward::clear_has_rewardid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetc2w_receive_active_reward::clear_rewardid() {
  rewardid_ = 0;
  clear_has_rewardid();
}
inline ::google::protobuf::int32 packetc2w_receive_active_reward::rewardid() const {
  return rewardid_;
}
inline void packetc2w_receive_active_reward::set_rewardid(::google::protobuf::int32 value) {
  set_has_rewardid();
  rewardid_ = value;
}

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

// packetw2c_receive_active_reward_result

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_active_reward_result];
inline bool packetw2c_receive_active_reward_result::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_receive_active_reward_result::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_receive_active_reward_result::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_receive_active_reward_result::clear_packet_id() {
  packet_id_ = 7609;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_receive_active_reward_result::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_receive_active_reward_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 questType = 2;
inline bool packetw2c_receive_active_reward_result::has_questtype() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetw2c_receive_active_reward_result::set_has_questtype() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetw2c_receive_active_reward_result::clear_has_questtype() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetw2c_receive_active_reward_result::clear_questtype() {
  questtype_ = 0;
  clear_has_questtype();
}
inline ::google::protobuf::int32 packetw2c_receive_active_reward_result::questtype() const {
  return questtype_;
}
inline void packetw2c_receive_active_reward_result::set_questtype(::google::protobuf::int32 value) {
  set_has_questtype();
  questtype_ = value;
}

// optional int32 rewardId = 3;
inline bool packetw2c_receive_active_reward_result::has_rewardid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetw2c_receive_active_reward_result::set_has_rewardid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetw2c_receive_active_reward_result::clear_has_rewardid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetw2c_receive_active_reward_result::clear_rewardid() {
  rewardid_ = 0;
  clear_has_rewardid();
}
inline ::google::protobuf::int32 packetw2c_receive_active_reward_result::rewardid() const {
  return rewardid_;
}
inline void packetw2c_receive_active_reward_result::set_rewardid(::google::protobuf::int32 value) {
  set_has_rewardid();
  rewardid_ = value;
}

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

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

// packetw2c_quest_notify

// optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_quest_notify];
inline bool packetw2c_quest_notify::has_packet_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void packetw2c_quest_notify::set_has_packet_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void packetw2c_quest_notify::clear_has_packet_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void packetw2c_quest_notify::clear_packet_id() {
  packet_id_ = 7613;
  clear_has_packet_id();
}
inline ::client2world_protocols::e_server_msg_type packetw2c_quest_notify::packet_id() const {
  return static_cast< ::client2world_protocols::e_server_msg_type >(packet_id_);
}
inline void packetw2c_quest_notify::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 type = 2;
inline bool packetw2c_quest_notify::has_type() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void packetw2c_quest_notify::set_has_type() {
  _has_bits_[0] |= 0x00000002u;
}
inline void packetw2c_quest_notify::clear_has_type() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void packetw2c_quest_notify::clear_type() {
  type_ = 0;
  clear_has_type();
}
inline ::google::protobuf::int32 packetw2c_quest_notify::type() const {
  return type_;
}
inline void packetw2c_quest_notify::set_type(::google::protobuf::int32 value) {
  set_has_type();
  type_ = value;
}

// optional int32 questId = 3;
inline bool packetw2c_quest_notify::has_questid() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void packetw2c_quest_notify::set_has_questid() {
  _has_bits_[0] |= 0x00000004u;
}
inline void packetw2c_quest_notify::clear_has_questid() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void packetw2c_quest_notify::clear_questid() {
  questid_ = 0;
  clear_has_questid();
}
inline ::google::protobuf::int32 packetw2c_quest_notify::questid() const {
  return questid_;
}
inline void packetw2c_quest_notify::set_questid(::google::protobuf::int32 value) {
  set_has_questid();
  questid_ = value;
}

// optional int32 count = 4;
inline bool packetw2c_quest_notify::has_count() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void packetw2c_quest_notify::set_has_count() {
  _has_bits_[0] |= 0x00000008u;
}
inline void packetw2c_quest_notify::clear_has_count() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void packetw2c_quest_notify::clear_count() {
  count_ = 0;
  clear_has_count();
}
inline ::google::protobuf::int32 packetw2c_quest_notify::count() const {
  return count_;
}
inline void packetw2c_quest_notify::set_count(::google::protobuf::int32 value) {
  set_has_count();
  count_ = value;
}

// optional int32 day = 5;
inline bool packetw2c_quest_notify::has_day() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void packetw2c_quest_notify::set_has_day() {
  _has_bits_[0] |= 0x00000010u;
}
inline void packetw2c_quest_notify::clear_has_day() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void packetw2c_quest_notify::clear_day() {
  day_ = 0;
  clear_has_day();
}
inline ::google::protobuf::int32 packetw2c_quest_notify::day() const {
  return day_;
}
inline void packetw2c_quest_notify::set_day(::google::protobuf::int32 value) {
  set_has_day();
  day_ = 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_5fplayer_5fquest_2eproto__INCLUDED
