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

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

    static AetherDivideSpiritInfoReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChxBZXRoZXJEaXZpZGVTcGlyaXRJbmZvLnByb3RvGg9TcEJhckluZm8ucHJv",
            "dG8aFlBhc3NpdmVTa2lsbEl0ZW0ucHJvdG8irQEKFkFldGhlckRpdmlkZVNw",
            "aXJpdEluZm8SEwoLSkRIQ0hBQkNMQ0MYAiABKA0SCwoDZXhwGAcgASgNEhgK",
            "EGFldGhlcl9hdmF0YXJfaWQYDyABKA0SKAoNcGFzc2l2ZV9za2lsbBgIIAMo",
            "CzIRLlBhc3NpdmVTa2lsbEl0ZW0SEQoJcHJvbW90aW9uGAkgASgNEhoKBnNw",
            "X2JhchgMIAEoCzIKLlNwQmFySW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
            "dmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SpBarInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PassiveSkillItemReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo), global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo.Parser, new[]{ "JDHCHABCLCC", "Exp", "AetherAvatarId", "PassiveSkill", "Promotion", "SpBar" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public AetherDivideSpiritInfo(AetherDivideSpiritInfo other) : this() {
      jDHCHABCLCC_ = other.jDHCHABCLCC_;
      exp_ = other.exp_;
      aetherAvatarId_ = other.aetherAvatarId_;
      passiveSkill_ = other.passiveSkill_.Clone();
      promotion_ = other.promotion_;
      spBar_ = other.spBar_ != null ? other.spBar_.Clone() : null;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "exp" field.</summary>
    public const int ExpFieldNumber = 7;
    private uint exp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public uint Exp {
      get { return exp_; }
      set {
        exp_ = value;
      }
    }

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

    /// <summary>Field number for the "passive_skill" field.</summary>
    public const int PassiveSkillFieldNumber = 8;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PassiveSkillItem> _repeated_passiveSkill_codec
        = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.PassiveSkillItem.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem> passiveSkill_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem> PassiveSkill {
      get { return passiveSkill_; }
    }

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

    /// <summary>Field number for the "sp_bar" field.</summary>
    public const int SpBarFieldNumber = 12;
    private global::EggLink.DanhengServer.Proto.SpBarInfo spBar_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.SpBarInfo SpBar {
      get { return spBar_; }
      set {
        spBar_ = value;
      }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(AetherDivideSpiritInfo other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (JDHCHABCLCC != other.JDHCHABCLCC) return false;
      if (Exp != other.Exp) return false;
      if (AetherAvatarId != other.AetherAvatarId) return false;
      if(!passiveSkill_.Equals(other.passiveSkill_)) return false;
      if (Promotion != other.Promotion) return false;
      if (!object.Equals(SpBar, other.SpBar)) 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 (JDHCHABCLCC != 0) hash ^= JDHCHABCLCC.GetHashCode();
      if (Exp != 0) hash ^= Exp.GetHashCode();
      if (AetherAvatarId != 0) hash ^= AetherAvatarId.GetHashCode();
      hash ^= passiveSkill_.GetHashCode();
      if (Promotion != 0) hash ^= Promotion.GetHashCode();
      if (spBar_ != null) hash ^= SpBar.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 (JDHCHABCLCC != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(JDHCHABCLCC);
      }
      if (Exp != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(Exp);
      }
      passiveSkill_.WriteTo(output, _repeated_passiveSkill_codec);
      if (Promotion != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(Promotion);
      }
      if (spBar_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(SpBar);
      }
      if (AetherAvatarId != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(AetherAvatarId);
      }
      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 (JDHCHABCLCC != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(JDHCHABCLCC);
      }
      if (Exp != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(Exp);
      }
      passiveSkill_.WriteTo(ref output, _repeated_passiveSkill_codec);
      if (Promotion != 0) {
        output.WriteRawTag(72);
        output.WriteUInt32(Promotion);
      }
      if (spBar_ != null) {
        output.WriteRawTag(98);
        output.WriteMessage(SpBar);
      }
      if (AetherAvatarId != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(AetherAvatarId);
      }
      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 (JDHCHABCLCC != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JDHCHABCLCC);
      }
      if (Exp != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
      }
      if (AetherAvatarId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AetherAvatarId);
      }
      size += passiveSkill_.CalculateSize(_repeated_passiveSkill_codec);
      if (Promotion != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
      }
      if (spBar_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpBar);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(AetherDivideSpiritInfo other) {
      if (other == null) {
        return;
      }
      if (other.JDHCHABCLCC != 0) {
        JDHCHABCLCC = other.JDHCHABCLCC;
      }
      if (other.Exp != 0) {
        Exp = other.Exp;
      }
      if (other.AetherAvatarId != 0) {
        AetherAvatarId = other.AetherAvatarId;
      }
      passiveSkill_.Add(other.passiveSkill_);
      if (other.Promotion != 0) {
        Promotion = other.Promotion;
      }
      if (other.spBar_ != null) {
        if (spBar_ == null) {
          SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
        }
        SpBar.MergeFrom(other.SpBar);
      }
      _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 16: {
            JDHCHABCLCC = input.ReadUInt32();
            break;
          }
          case 56: {
            Exp = input.ReadUInt32();
            break;
          }
          case 66: {
            passiveSkill_.AddEntriesFrom(input, _repeated_passiveSkill_codec);
            break;
          }
          case 72: {
            Promotion = input.ReadUInt32();
            break;
          }
          case 98: {
            if (spBar_ == null) {
              SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
            }
            input.ReadMessage(SpBar);
            break;
          }
          case 120: {
            AetherAvatarId = 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 16: {
            JDHCHABCLCC = input.ReadUInt32();
            break;
          }
          case 56: {
            Exp = input.ReadUInt32();
            break;
          }
          case 66: {
            passiveSkill_.AddEntriesFrom(ref input, _repeated_passiveSkill_codec);
            break;
          }
          case 72: {
            Promotion = input.ReadUInt32();
            break;
          }
          case 98: {
            if (spBar_ == null) {
              SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
            }
            input.ReadMessage(SpBar);
            break;
          }
          case 120: {
            AetherAvatarId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
