// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: AdventureRoomInfo.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code

using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace EggLink.DanhengServer.Proto {

  /// <summary>Holder for reflection information generated from AdventureRoomInfo.proto</summary>
  public static partial class AdventureRoomInfoReflection {

    #region Descriptor
    /// <summary>File descriptor for AdventureRoomInfo.proto</summary>
    public static pbr::FileDescriptor Descriptor {
      get { return descriptor; }
    }
    private static pbr::FileDescriptor descriptor;

    static AdventureRoomInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChdBZHZlbnR1cmVSb29tSW5mby5wcm90bxorUm9ndWVBZHZlbnR1cmVSb29t",
            "R2FtZXBsYXlXb2xmR3VuSW5mby5wcm90bxoeUm9ndWVBZHZlbnR1cmVSb29t",
            "U3RhdHVzLnByb3RvItEBChFBZHZlbnR1cmVSb29tSW5mbxIQCghzY29yZV9p",
            "ZBgLIAEoDRI6CgpxdWVyeV9pbmZvGAogASgLMiYuUm9ndWVBZHZlbnR1cmVS",
            "b29tR2FtZXBsYXlXb2xmR3VuSW5mbxIaChJyZW1haW5fbW9uc3Rlcl9udW0Y",
            "ASABKA0SCwoDc3VzGAUgASgBEikKBnN0YXR1cxgNIAEoDjIZLlJvZ3VlQWR2",
            "ZW50dXJlUm9vbVN0YXR1cxIaChJjYXVnaHRfbW9uc3Rlcl9udW0YAyABKA1C",
            "HqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatusReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AdventureRoomInfo), global::EggLink.DanhengServer.Proto.AdventureRoomInfo.Parser, new[]{ "ScoreId", "QueryInfo", "RemainMonsterNum", "Sus", "Status", "CaughtMonsterNum" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class AdventureRoomInfo : pb::IMessage<AdventureRoomInfo>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<AdventureRoomInfo> _parser = new pb::MessageParser<AdventureRoomInfo>(() => new AdventureRoomInfo());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<AdventureRoomInfo> Parser { get { return _parser; } }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pbr::MessageDescriptor Descriptor {
      get { return global::EggLink.DanhengServer.Proto.AdventureRoomInfoReflection.Descriptor.MessageTypes[0]; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    pbr::MessageDescriptor pb::IMessage.Descriptor {
      get { return Descriptor; }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AdventureRoomInfo() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AdventureRoomInfo(AdventureRoomInfo other) : this() {
      scoreId_ = other.scoreId_;
      queryInfo_ = other.queryInfo_ != null ? other.queryInfo_.Clone() : null;
      remainMonsterNum_ = other.remainMonsterNum_;
      sus_ = other.sus_;
      status_ = other.status_;
      caughtMonsterNum_ = other.caughtMonsterNum_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AdventureRoomInfo Clone() {
      return new AdventureRoomInfo(this);
    }

    /// <summary>Field number for the "score_id" field.</summary>
    public const int ScoreIdFieldNumber = 11;
    private uint scoreId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ScoreId {
      get { return scoreId_; }
      set {
        scoreId_ = value;
      }
    }

    /// <summary>Field number for the "query_info" field.</summary>
    public const int QueryInfoFieldNumber = 10;
    private global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo queryInfo_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo QueryInfo {
      get { return queryInfo_; }
      set {
        queryInfo_ = value;
      }
    }

    /// <summary>Field number for the "remain_monster_num" field.</summary>
    public const int RemainMonsterNumFieldNumber = 1;
    private uint remainMonsterNum_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint RemainMonsterNum {
      get { return remainMonsterNum_; }
      set {
        remainMonsterNum_ = value;
      }
    }

    /// <summary>Field number for the "sus" field.</summary>
    public const int SusFieldNumber = 5;
    private double sus_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public double Sus {
      get { return sus_; }
      set {
        sus_ = value;
      }
    }

    /// <summary>Field number for the "status" field.</summary>
    public const int StatusFieldNumber = 13;
    private global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus status_ = global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus Status {
      get { return status_; }
      set {
        status_ = value;
      }
    }

    /// <summary>Field number for the "caught_monster_num" field.</summary>
    public const int CaughtMonsterNumFieldNumber = 3;
    private uint caughtMonsterNum_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CaughtMonsterNum {
      get { return caughtMonsterNum_; }
      set {
        caughtMonsterNum_ = value;
      }
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override bool Equals(object other) {
      return Equals(other as AdventureRoomInfo);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AdventureRoomInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ScoreId != other.ScoreId) return false;
      if (!object.Equals(QueryInfo, other.QueryInfo)) return false;
      if (RemainMonsterNum != other.RemainMonsterNum) return false;
      if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Sus, other.Sus)) return false;
      if (Status != other.Status) return false;
      if (CaughtMonsterNum != other.CaughtMonsterNum) return false;
      return Equals(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override int GetHashCode() {
      int hash = 1;
      if (ScoreId != 0) hash ^= ScoreId.GetHashCode();
      if (queryInfo_ != null) hash ^= QueryInfo.GetHashCode();
      if (RemainMonsterNum != 0) hash ^= RemainMonsterNum.GetHashCode();
      if (Sus != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Sus);
      if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) hash ^= Status.GetHashCode();
      if (CaughtMonsterNum != 0) hash ^= CaughtMonsterNum.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public override string ToString() {
      return pb::JsonFormatter.ToDiagnosticString(this);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void WriteTo(pb::CodedOutputStream output) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      output.WriteRawMessage(this);
    #else
      if (RemainMonsterNum != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(RemainMonsterNum);
      }
      if (CaughtMonsterNum != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CaughtMonsterNum);
      }
      if (Sus != 0D) {
        output.WriteRawTag(41);
        output.WriteDouble(Sus);
      }
      if (queryInfo_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(QueryInfo);
      }
      if (ScoreId != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(ScoreId);
      }
      if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
        output.WriteRawTag(104);
        output.WriteEnum((int) Status);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(output);
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
      if (RemainMonsterNum != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(RemainMonsterNum);
      }
      if (CaughtMonsterNum != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(CaughtMonsterNum);
      }
      if (Sus != 0D) {
        output.WriteRawTag(41);
        output.WriteDouble(Sus);
      }
      if (queryInfo_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(QueryInfo);
      }
      if (ScoreId != 0) {
        output.WriteRawTag(88);
        output.WriteUInt32(ScoreId);
      }
      if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
        output.WriteRawTag(104);
        output.WriteEnum((int) Status);
      }
      if (_unknownFields != null) {
        _unknownFields.WriteTo(ref output);
      }
    }
    #endif

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public int CalculateSize() {
      int size = 0;
      if (ScoreId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId);
      }
      if (queryInfo_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryInfo);
      }
      if (RemainMonsterNum != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RemainMonsterNum);
      }
      if (Sus != 0D) {
        size += 1 + 8;
      }
      if (Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
      }
      if (CaughtMonsterNum != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CaughtMonsterNum);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AdventureRoomInfo other) {
      if (other == null) {
        return;
      }
      if (other.ScoreId != 0) {
        ScoreId = other.ScoreId;
      }
      if (other.queryInfo_ != null) {
        if (queryInfo_ == null) {
          QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
        }
        QueryInfo.MergeFrom(other.QueryInfo);
      }
      if (other.RemainMonsterNum != 0) {
        RemainMonsterNum = other.RemainMonsterNum;
      }
      if (other.Sus != 0D) {
        Sus = other.Sus;
      }
      if (other.Status != global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus.None) {
        Status = other.Status;
      }
      if (other.CaughtMonsterNum != 0) {
        CaughtMonsterNum = other.CaughtMonsterNum;
      }
      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(pb::CodedInputStream input) {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      input.ReadRawMessage(this);
    #else
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
            break;
          case 8: {
            RemainMonsterNum = input.ReadUInt32();
            break;
          }
          case 24: {
            CaughtMonsterNum = input.ReadUInt32();
            break;
          }
          case 41: {
            Sus = input.ReadDouble();
            break;
          }
          case 82: {
            if (queryInfo_ == null) {
              QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
            }
            input.ReadMessage(QueryInfo);
            break;
          }
          case 88: {
            ScoreId = input.ReadUInt32();
            break;
          }
          case 104: {
            Status = (global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus) input.ReadEnum();
            break;
          }
        }
      }
    #endif
    }

    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
      uint tag;
      while ((tag = input.ReadTag()) != 0) {
        switch(tag) {
          default:
            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
            break;
          case 8: {
            RemainMonsterNum = input.ReadUInt32();
            break;
          }
          case 24: {
            CaughtMonsterNum = input.ReadUInt32();
            break;
          }
          case 41: {
            Sus = input.ReadDouble();
            break;
          }
          case 82: {
            if (queryInfo_ == null) {
              QueryInfo = new global::EggLink.DanhengServer.Proto.RogueAdventureRoomGameplayWolfGunInfo();
            }
            input.ReadMessage(QueryInfo);
            break;
          }
          case 88: {
            ScoreId = input.ReadUInt32();
            break;
          }
          case 104: {
            Status = (global::EggLink.DanhengServer.Proto.RogueAdventureRoomStatus) input.ReadEnum();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
