// <auto-generated>
//     Generated by the protocol buffer compiler.  DO NOT EDIT!
//     source: GetCurChallengePeakScRsp.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 GetCurChallengePeakScRsp.proto</summary>
  public static partial class GetCurChallengePeakScRspReflection {

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

    static GetCurChallengePeakScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch5HZXRDdXJDaGFsbGVuZ2VQZWFrU2NSc3AucHJvdG8ivgEKGEdldEN1ckNo",
            "YWxsZW5nZVBlYWtTY1JzcBIWCg5wZWFrX2Jvc3NfYnVmZhgBIAEoDRITCgtp",
            "c19maW5pc2hlZBgMIAEoCBIYChBpc19zY29yZV9jaGFuZ2VkGAQgASgIEg8K",
            "B3JldGNvZGUYBSABKA0SGQoRcGVha19yb3VuZHNfY291bnQYCSABKA0SGAoQ",
            "cGVha190YXJnZXRfbGlzdBgPIAMoDRIVCg1wZWFrX2xldmVsX2lkGA0gASgN",
            "Qh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetCurChallengePeakScRsp), global::EggLink.DanhengServer.Proto.GetCurChallengePeakScRsp.Parser, new[]{ "PeakBossBuff", "IsFinished", "IsScoreChanged", "Retcode", "PeakRoundsCount", "PeakTargetList", "PeakLevelId" }, null, null, null, null)
          }));
    }
    #endregion

  }
  #region Messages
  [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
  public sealed partial class GetCurChallengePeakScRsp : pb::IMessage<GetCurChallengePeakScRsp>
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
      , pb::IBufferMessage
  #endif
  {
    private static readonly pb::MessageParser<GetCurChallengePeakScRsp> _parser = new pb::MessageParser<GetCurChallengePeakScRsp>(() => new GetCurChallengePeakScRsp());
    private pb::UnknownFieldSet _unknownFields;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public static pb::MessageParser<GetCurChallengePeakScRsp> 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.GetCurChallengePeakScRspReflection.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 GetCurChallengePeakScRsp() {
      OnConstruction();
    }

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetCurChallengePeakScRsp(GetCurChallengePeakScRsp other) : this() {
      peakBossBuff_ = other.peakBossBuff_;
      isFinished_ = other.isFinished_;
      isScoreChanged_ = other.isScoreChanged_;
      retcode_ = other.retcode_;
      peakRoundsCount_ = other.peakRoundsCount_;
      peakTargetList_ = other.peakTargetList_.Clone();
      peakLevelId_ = other.peakLevelId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "is_finished" field.</summary>
    public const int IsFinishedFieldNumber = 12;
    private bool isFinished_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsFinished {
      get { return isFinished_; }
      set {
        isFinished_ = value;
      }
    }

    /// <summary>Field number for the "is_score_changed" field.</summary>
    public const int IsScoreChangedFieldNumber = 4;
    private bool isScoreChanged_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsScoreChanged {
      get { return isScoreChanged_; }
      set {
        isScoreChanged_ = value;
      }
    }

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 5;
    private uint retcode_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Retcode {
      get { return retcode_; }
      set {
        retcode_ = value;
      }
    }

    /// <summary>Field number for the "peak_rounds_count" field.</summary>
    public const int PeakRoundsCountFieldNumber = 9;
    private uint peakRoundsCount_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PeakRoundsCount {
      get { return peakRoundsCount_; }
      set {
        peakRoundsCount_ = value;
      }
    }

    /// <summary>Field number for the "peak_target_list" field.</summary>
    public const int PeakTargetListFieldNumber = 15;
    private static readonly pb::FieldCodec<uint> _repeated_peakTargetList_codec
        = pb::FieldCodec.ForUInt32(122);
    private readonly pbc::RepeatedField<uint> peakTargetList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> PeakTargetList {
      get { return peakTargetList_; }
    }

    /// <summary>Field number for the "peak_level_id" field.</summary>
    public const int PeakLevelIdFieldNumber = 13;
    private uint peakLevelId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint PeakLevelId {
      get { return peakLevelId_; }
      set {
        peakLevelId_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetCurChallengePeakScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (PeakBossBuff != other.PeakBossBuff) return false;
      if (IsFinished != other.IsFinished) return false;
      if (IsScoreChanged != other.IsScoreChanged) return false;
      if (Retcode != other.Retcode) return false;
      if (PeakRoundsCount != other.PeakRoundsCount) return false;
      if(!peakTargetList_.Equals(other.peakTargetList_)) return false;
      if (PeakLevelId != other.PeakLevelId) 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 (PeakBossBuff != 0) hash ^= PeakBossBuff.GetHashCode();
      if (IsFinished != false) hash ^= IsFinished.GetHashCode();
      if (IsScoreChanged != false) hash ^= IsScoreChanged.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      if (PeakRoundsCount != 0) hash ^= PeakRoundsCount.GetHashCode();
      hash ^= peakTargetList_.GetHashCode();
      if (PeakLevelId != 0) hash ^= PeakLevelId.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 (PeakBossBuff != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(PeakBossBuff);
      }
      if (IsScoreChanged != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsScoreChanged);
      }
      if (Retcode != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(Retcode);
      }
      if (PeakRoundsCount != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakRoundsCount);
      }
      if (IsFinished != false) {
        output.WriteRawTag(96);
        output.WriteBool(IsFinished);
      }
      if (PeakLevelId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(PeakLevelId);
      }
      peakTargetList_.WriteTo(output, _repeated_peakTargetList_codec);
      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 (PeakBossBuff != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(PeakBossBuff);
      }
      if (IsScoreChanged != false) {
        output.WriteRawTag(32);
        output.WriteBool(IsScoreChanged);
      }
      if (Retcode != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(Retcode);
      }
      if (PeakRoundsCount != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(PeakRoundsCount);
      }
      if (IsFinished != false) {
        output.WriteRawTag(96);
        output.WriteBool(IsFinished);
      }
      if (PeakLevelId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(PeakLevelId);
      }
      peakTargetList_.WriteTo(ref output, _repeated_peakTargetList_codec);
      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 (PeakBossBuff != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakBossBuff);
      }
      if (IsFinished != false) {
        size += 1 + 1;
      }
      if (IsScoreChanged != false) {
        size += 1 + 1;
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      if (PeakRoundsCount != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakRoundsCount);
      }
      size += peakTargetList_.CalculateSize(_repeated_peakTargetList_codec);
      if (PeakLevelId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakLevelId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetCurChallengePeakScRsp other) {
      if (other == null) {
        return;
      }
      if (other.PeakBossBuff != 0) {
        PeakBossBuff = other.PeakBossBuff;
      }
      if (other.IsFinished != false) {
        IsFinished = other.IsFinished;
      }
      if (other.IsScoreChanged != false) {
        IsScoreChanged = other.IsScoreChanged;
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      if (other.PeakRoundsCount != 0) {
        PeakRoundsCount = other.PeakRoundsCount;
      }
      peakTargetList_.Add(other.peakTargetList_);
      if (other.PeakLevelId != 0) {
        PeakLevelId = other.PeakLevelId;
      }
      _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: {
            PeakBossBuff = input.ReadUInt32();
            break;
          }
          case 32: {
            IsScoreChanged = input.ReadBool();
            break;
          }
          case 40: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 72: {
            PeakRoundsCount = input.ReadUInt32();
            break;
          }
          case 96: {
            IsFinished = input.ReadBool();
            break;
          }
          case 104: {
            PeakLevelId = input.ReadUInt32();
            break;
          }
          case 122:
          case 120: {
            peakTargetList_.AddEntriesFrom(input, _repeated_peakTargetList_codec);
            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: {
            PeakBossBuff = input.ReadUInt32();
            break;
          }
          case 32: {
            IsScoreChanged = input.ReadBool();
            break;
          }
          case 40: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 72: {
            PeakRoundsCount = input.ReadUInt32();
            break;
          }
          case 96: {
            IsFinished = input.ReadBool();
            break;
          }
          case 104: {
            PeakLevelId = input.ReadUInt32();
            break;
          }
          case 122:
          case 120: {
            peakTargetList_.AddEntriesFrom(ref input, _repeated_peakTargetList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
