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

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

    static ChallengePeakAvatarReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "ChlDaGFsbGVuZ2VQZWFrQXZhdGFyLnByb3RvGhBFcXVpcFJlbGljLnByb3Rv",
            "InsKE0NoYWxsZW5nZVBlYWtBdmF0YXISHwoKcmVsaWNfbGlzdBgIIAMoCzIL",
            "LkVxdWlwUmVsaWMSEwoLR0dESUlCQ0RPQkIYAiABKA0SEQoJYXZhdGFyX2lk",
            "GA8gASgNEhsKE2VxdWlwbWVudF91bmlxdWVfaWQYDSABKA1CHqoCG0VnZ0xp",
            "bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.EquipRelicReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengePeakAvatar), global::EggLink.DanhengServer.Proto.ChallengePeakAvatar.Parser, new[]{ "RelicList", "GGDIIBCDOBB", "AvatarId", "EquipmentUniqueId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ChallengePeakAvatar(ChallengePeakAvatar other) : this() {
      relicList_ = other.relicList_.Clone();
      gGDIIBCDOBB_ = other.gGDIIBCDOBB_;
      avatarId_ = other.avatarId_;
      equipmentUniqueId_ = other.equipmentUniqueId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

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

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

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

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(ChallengePeakAvatar other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if(!relicList_.Equals(other.relicList_)) return false;
      if (GGDIIBCDOBB != other.GGDIIBCDOBB) return false;
      if (AvatarId != other.AvatarId) return false;
      if (EquipmentUniqueId != other.EquipmentUniqueId) 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;
      hash ^= relicList_.GetHashCode();
      if (GGDIIBCDOBB != 0) hash ^= GGDIIBCDOBB.GetHashCode();
      if (AvatarId != 0) hash ^= AvatarId.GetHashCode();
      if (EquipmentUniqueId != 0) hash ^= EquipmentUniqueId.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 (GGDIIBCDOBB != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(GGDIIBCDOBB);
      }
      relicList_.WriteTo(output, _repeated_relicList_codec);
      if (EquipmentUniqueId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(EquipmentUniqueId);
      }
      if (AvatarId != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(AvatarId);
      }
      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 (GGDIIBCDOBB != 0) {
        output.WriteRawTag(16);
        output.WriteUInt32(GGDIIBCDOBB);
      }
      relicList_.WriteTo(ref output, _repeated_relicList_codec);
      if (EquipmentUniqueId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(EquipmentUniqueId);
      }
      if (AvatarId != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(AvatarId);
      }
      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;
      size += relicList_.CalculateSize(_repeated_relicList_codec);
      if (GGDIIBCDOBB != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GGDIIBCDOBB);
      }
      if (AvatarId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId);
      }
      if (EquipmentUniqueId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EquipmentUniqueId);
      }
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(ChallengePeakAvatar other) {
      if (other == null) {
        return;
      }
      relicList_.Add(other.relicList_);
      if (other.GGDIIBCDOBB != 0) {
        GGDIIBCDOBB = other.GGDIIBCDOBB;
      }
      if (other.AvatarId != 0) {
        AvatarId = other.AvatarId;
      }
      if (other.EquipmentUniqueId != 0) {
        EquipmentUniqueId = other.EquipmentUniqueId;
      }
      _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: {
            GGDIIBCDOBB = input.ReadUInt32();
            break;
          }
          case 66: {
            relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
            break;
          }
          case 104: {
            EquipmentUniqueId = input.ReadUInt32();
            break;
          }
          case 120: {
            AvatarId = 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: {
            GGDIIBCDOBB = input.ReadUInt32();
            break;
          }
          case 66: {
            relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
            break;
          }
          case 104: {
            EquipmentUniqueId = input.ReadUInt32();
            break;
          }
          case 120: {
            AvatarId = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
