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

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

    static ChallengeBossPhaseSettleNotifyReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CiRDaGFsbGVuZ2VCb3NzUGhhc2VTZXR0bGVOb3RpZnkucHJvdG8aEkJhdHRs",
            "ZVRhcmdldC5wcm90byKFAgoeQ2hhbGxlbmdlQm9zc1BoYXNlU2V0dGxlTm90",
            "aWZ5EhcKD2NoYWxsZW5nZV9zY29yZRgKIAEoDRIMCgRzdGFyGAwgASgNEg0K",
            "BXBoYXNlGA4gASgNEhEKCWlzX3Jld2FyZBgBIAEoCBIOCgZpc193aW4YCSAB",
            "KAgSGgoSY3VyX2NoYWxsZW5nZV90eXBlGA8gASgNEhQKDGNoYWxsZW5nZV9p",
            "ZBgGIAEoDRIaChJzaG93X3JlbWFpbl9hY3Rpb24YCCABKAgSEQoJc2NvcmVf",
            "dHdvGAUgASgNEikKEmJhdHRsZV90YXJnZXRfbGlzdBgHIAMoCzINLkJhdHRs",
            "ZVRhcmdldEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
            "bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify), global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify.Parser, new[]{ "ChallengeScore", "Star", "Phase", "IsReward", "IsWin", "CurChallengeType", "ChallengeId", "ShowRemainAction", "ScoreTwo", "BattleTargetList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengeBossPhaseSettleNotify(ChallengeBossPhaseSettleNotify other) : this() {
      challengeScore_ = other.challengeScore_;
      star_ = other.star_;
      phase_ = other.phase_;
      isReward_ = other.isReward_;
      isWin_ = other.isWin_;
      curChallengeType_ = other.curChallengeType_;
      challengeId_ = other.challengeId_;
      showRemainAction_ = other.showRemainAction_;
      scoreTwo_ = other.scoreTwo_;
      battleTargetList_ = other.battleTargetList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "challenge_score" field.</summary>
    public const int ChallengeScoreFieldNumber = 10;
    private uint challengeScore_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ChallengeScore {
      get { return challengeScore_; }
      set {
        challengeScore_ = value;
      }
    }

    /// <summary>Field number for the "star" field.</summary>
    public const int StarFieldNumber = 12;
    private uint star_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Star {
      get { return star_; }
      set {
        star_ = value;
      }
    }

    /// <summary>Field number for the "phase" field.</summary>
    public const int PhaseFieldNumber = 14;
    private uint phase_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Phase {
      get { return phase_; }
      set {
        phase_ = value;
      }
    }

    /// <summary>Field number for the "is_reward" field.</summary>
    public const int IsRewardFieldNumber = 1;
    private bool isReward_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsReward {
      get { return isReward_; }
      set {
        isReward_ = value;
      }
    }

    /// <summary>Field number for the "is_win" field.</summary>
    public const int IsWinFieldNumber = 9;
    private bool isWin_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsWin {
      get { return isWin_; }
      set {
        isWin_ = value;
      }
    }

    /// <summary>Field number for the "cur_challenge_type" field.</summary>
    public const int CurChallengeTypeFieldNumber = 15;
    private uint curChallengeType_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint CurChallengeType {
      get { return curChallengeType_; }
      set {
        curChallengeType_ = value;
      }
    }

    /// <summary>Field number for the "challenge_id" field.</summary>
    public const int ChallengeIdFieldNumber = 6;
    private uint challengeId_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint ChallengeId {
      get { return challengeId_; }
      set {
        challengeId_ = value;
      }
    }

    /// <summary>Field number for the "show_remain_action" field.</summary>
    public const int ShowRemainActionFieldNumber = 8;
    private bool showRemainAction_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool ShowRemainAction {
      get { return showRemainAction_; }
      set {
        showRemainAction_ = value;
      }
    }

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

    /// <summary>Field number for the "battle_target_list" field.</summary>
    public const int BattleTargetListFieldNumber = 7;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BattleTarget> _repeated_battleTargetList_codec
        = pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.BattleTarget.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> battleTargetList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BattleTarget> BattleTargetList {
      get { return battleTargetList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengeBossPhaseSettleNotify other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (ChallengeScore != other.ChallengeScore) return false;
      if (Star != other.Star) return false;
      if (Phase != other.Phase) return false;
      if (IsReward != other.IsReward) return false;
      if (IsWin != other.IsWin) return false;
      if (CurChallengeType != other.CurChallengeType) return false;
      if (ChallengeId != other.ChallengeId) return false;
      if (ShowRemainAction != other.ShowRemainAction) return false;
      if (ScoreTwo != other.ScoreTwo) return false;
      if(!battleTargetList_.Equals(other.battleTargetList_)) 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 (ChallengeScore != 0) hash ^= ChallengeScore.GetHashCode();
      if (Star != 0) hash ^= Star.GetHashCode();
      if (Phase != 0) hash ^= Phase.GetHashCode();
      if (IsReward != false) hash ^= IsReward.GetHashCode();
      if (IsWin != false) hash ^= IsWin.GetHashCode();
      if (CurChallengeType != 0) hash ^= CurChallengeType.GetHashCode();
      if (ChallengeId != 0) hash ^= ChallengeId.GetHashCode();
      if (ShowRemainAction != false) hash ^= ShowRemainAction.GetHashCode();
      if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode();
      hash ^= battleTargetList_.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 (IsReward != false) {
        output.WriteRawTag(8);
        output.WriteBool(IsReward);
      }
      if (ScoreTwo != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(ScoreTwo);
      }
      if (ChallengeId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(ChallengeId);
      }
      battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec);
      if (ShowRemainAction != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShowRemainAction);
      }
      if (IsWin != false) {
        output.WriteRawTag(72);
        output.WriteBool(IsWin);
      }
      if (ChallengeScore != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(ChallengeScore);
      }
      if (Star != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(Star);
      }
      if (Phase != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(Phase);
      }
      if (CurChallengeType != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(CurChallengeType);
      }
      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 (IsReward != false) {
        output.WriteRawTag(8);
        output.WriteBool(IsReward);
      }
      if (ScoreTwo != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(ScoreTwo);
      }
      if (ChallengeId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(ChallengeId);
      }
      battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec);
      if (ShowRemainAction != false) {
        output.WriteRawTag(64);
        output.WriteBool(ShowRemainAction);
      }
      if (IsWin != false) {
        output.WriteRawTag(72);
        output.WriteBool(IsWin);
      }
      if (ChallengeScore != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(ChallengeScore);
      }
      if (Star != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(Star);
      }
      if (Phase != 0) {
        output.WriteRawTag(112);
        output.WriteUInt32(Phase);
      }
      if (CurChallengeType != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(CurChallengeType);
      }
      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 (ChallengeScore != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeScore);
      }
      if (Star != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star);
      }
      if (Phase != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase);
      }
      if (IsReward != false) {
        size += 1 + 1;
      }
      if (IsWin != false) {
        size += 1 + 1;
      }
      if (CurChallengeType != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurChallengeType);
      }
      if (ChallengeId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId);
      }
      if (ShowRemainAction != false) {
        size += 1 + 1;
      }
      if (ScoreTwo != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo);
      }
      size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengeBossPhaseSettleNotify other) {
      if (other == null) {
        return;
      }
      if (other.ChallengeScore != 0) {
        ChallengeScore = other.ChallengeScore;
      }
      if (other.Star != 0) {
        Star = other.Star;
      }
      if (other.Phase != 0) {
        Phase = other.Phase;
      }
      if (other.IsReward != false) {
        IsReward = other.IsReward;
      }
      if (other.IsWin != false) {
        IsWin = other.IsWin;
      }
      if (other.CurChallengeType != 0) {
        CurChallengeType = other.CurChallengeType;
      }
      if (other.ChallengeId != 0) {
        ChallengeId = other.ChallengeId;
      }
      if (other.ShowRemainAction != false) {
        ShowRemainAction = other.ShowRemainAction;
      }
      if (other.ScoreTwo != 0) {
        ScoreTwo = other.ScoreTwo;
      }
      battleTargetList_.Add(other.battleTargetList_);
      _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: {
            IsReward = input.ReadBool();
            break;
          }
          case 40: {
            ScoreTwo = input.ReadUInt32();
            break;
          }
          case 48: {
            ChallengeId = input.ReadUInt32();
            break;
          }
          case 58: {
            battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec);
            break;
          }
          case 64: {
            ShowRemainAction = input.ReadBool();
            break;
          }
          case 72: {
            IsWin = input.ReadBool();
            break;
          }
          case 80: {
            ChallengeScore = input.ReadUInt32();
            break;
          }
          case 96: {
            Star = input.ReadUInt32();
            break;
          }
          case 112: {
            Phase = input.ReadUInt32();
            break;
          }
          case 120: {
            CurChallengeType = input.ReadUInt32();
            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: {
            IsReward = input.ReadBool();
            break;
          }
          case 40: {
            ScoreTwo = input.ReadUInt32();
            break;
          }
          case 48: {
            ChallengeId = input.ReadUInt32();
            break;
          }
          case 58: {
            battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec);
            break;
          }
          case 64: {
            ShowRemainAction = input.ReadBool();
            break;
          }
          case 72: {
            IsWin = input.ReadBool();
            break;
          }
          case 80: {
            ChallengeScore = input.ReadUInt32();
            break;
          }
          case 96: {
            Star = input.ReadUInt32();
            break;
          }
          case 112: {
            Phase = input.ReadUInt32();
            break;
          }
          case 120: {
            CurChallengeType = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
