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

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

    static AvatarReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "CgxBdmF0YXIucHJvdG8aFUF2YXRhclNraWxsVHJlZS5wcm90bxoQRXF1aXBS",
            "ZWxpYy5wcm90byLWAgoGQXZhdGFyEhcKD2RyZXNzZWRfc2tpbl9pZBgHIAEo",
            "DRILCgNleHAYCCABKA0SHAoUZmlyc3RfbWV0X3RpbWVfc3RhbXAYAiABKAQS",
            "DAoEcmFuaxgDIAEoDRIlChBlcXVpcF9yZWxpY19saXN0GA4gAygLMgsuRXF1",
            "aXBSZWxpYxIRCglpc19tYXJrZWQYCyABKAgSDQoFbGV2ZWwYCiABKA0SJwof",
            "aGFzX3Rha2VuX3Byb21vdGlvbl9yZXdhcmRfbGlzdBgEIAMoDRIWCg5jdXJf",
            "ZW5oYW5jZV9pZBgMIAEoDRIoCg5za2lsbHRyZWVfbGlzdBgJIAMoCzIQLkF2",
            "YXRhclNraWxsVHJlZRIWCg5iYXNlX2F2YXRhcl9pZBgBIAEoDRIRCglwcm9t",
            "b3Rpb24YDyABKA0SGwoTZXF1aXBtZW50X3VuaXF1ZV9pZBgGIAEoDUIeqgIb",
            "RWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AvatarSkillTreeReflection.Descriptor, global::EggLink.DanhengServer.Proto.EquipRelicReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.Avatar), global::EggLink.DanhengServer.Proto.Avatar.Parser, new[]{ "DressedSkinId", "Exp", "FirstMetTimeStamp", "Rank", "EquipRelicList", "IsMarked", "Level", "HasTakenPromotionRewardList", "CurEnhanceId", "SkilltreeList", "BaseAvatarId", "Promotion", "EquipmentUniqueId" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public Avatar(Avatar other) : this() {
      dressedSkinId_ = other.dressedSkinId_;
      exp_ = other.exp_;
      firstMetTimeStamp_ = other.firstMetTimeStamp_;
      rank_ = other.rank_;
      equipRelicList_ = other.equipRelicList_.Clone();
      isMarked_ = other.isMarked_;
      level_ = other.level_;
      hasTakenPromotionRewardList_ = other.hasTakenPromotionRewardList_.Clone();
      curEnhanceId_ = other.curEnhanceId_;
      skilltreeList_ = other.skilltreeList_.Clone();
      baseAvatarId_ = other.baseAvatarId_;
      promotion_ = other.promotion_;
      equipmentUniqueId_ = other.equipmentUniqueId_;
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

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

    /// <summary>Field number for the "exp" field.</summary>
    public const int ExpFieldNumber = 8;
    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 "first_met_time_stamp" field.</summary>
    public const int FirstMetTimeStampFieldNumber = 2;
    private ulong firstMetTimeStamp_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public ulong FirstMetTimeStamp {
      get { return firstMetTimeStamp_; }
      set {
        firstMetTimeStamp_ = value;
      }
    }

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

    /// <summary>Field number for the "equip_relic_list" field.</summary>
    public const int EquipRelicListFieldNumber = 14;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.EquipRelic> _repeated_equipRelicList_codec
        = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.EquipRelic.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.EquipRelic> equipRelicList_ = 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> EquipRelicList {
      get { return equipRelicList_; }
    }

    /// <summary>Field number for the "is_marked" field.</summary>
    public const int IsMarkedFieldNumber = 11;
    private bool isMarked_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool IsMarked {
      get { return isMarked_; }
      set {
        isMarked_ = value;
      }
    }

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

    /// <summary>Field number for the "has_taken_promotion_reward_list" field.</summary>
    public const int HasTakenPromotionRewardListFieldNumber = 4;
    private static readonly pb::FieldCodec<uint> _repeated_hasTakenPromotionRewardList_codec
        = pb::FieldCodec.ForUInt32(34);
    private readonly pbc::RepeatedField<uint> hasTakenPromotionRewardList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> HasTakenPromotionRewardList {
      get { return hasTakenPromotionRewardList_; }
    }

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

    /// <summary>Field number for the "skilltree_list" field.</summary>
    public const int SkilltreeListFieldNumber = 9;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AvatarSkillTree> _repeated_skilltreeList_codec
        = pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.AvatarSkillTree.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree> skilltreeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AvatarSkillTree> SkilltreeList {
      get { return skilltreeList_; }
    }

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

    /// <summary>Field number for the "promotion" field.</summary>
    public const int PromotionFieldNumber = 15;
    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 "equipment_unique_id" field.</summary>
    public const int EquipmentUniqueIdFieldNumber = 6;
    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 Avatar);
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(Avatar other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (DressedSkinId != other.DressedSkinId) return false;
      if (Exp != other.Exp) return false;
      if (FirstMetTimeStamp != other.FirstMetTimeStamp) return false;
      if (Rank != other.Rank) return false;
      if(!equipRelicList_.Equals(other.equipRelicList_)) return false;
      if (IsMarked != other.IsMarked) return false;
      if (Level != other.Level) return false;
      if(!hasTakenPromotionRewardList_.Equals(other.hasTakenPromotionRewardList_)) return false;
      if (CurEnhanceId != other.CurEnhanceId) return false;
      if(!skilltreeList_.Equals(other.skilltreeList_)) return false;
      if (BaseAvatarId != other.BaseAvatarId) return false;
      if (Promotion != other.Promotion) 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;
      if (DressedSkinId != 0) hash ^= DressedSkinId.GetHashCode();
      if (Exp != 0) hash ^= Exp.GetHashCode();
      if (FirstMetTimeStamp != 0UL) hash ^= FirstMetTimeStamp.GetHashCode();
      if (Rank != 0) hash ^= Rank.GetHashCode();
      hash ^= equipRelicList_.GetHashCode();
      if (IsMarked != false) hash ^= IsMarked.GetHashCode();
      if (Level != 0) hash ^= Level.GetHashCode();
      hash ^= hasTakenPromotionRewardList_.GetHashCode();
      if (CurEnhanceId != 0) hash ^= CurEnhanceId.GetHashCode();
      hash ^= skilltreeList_.GetHashCode();
      if (BaseAvatarId != 0) hash ^= BaseAvatarId.GetHashCode();
      if (Promotion != 0) hash ^= Promotion.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 (BaseAvatarId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(BaseAvatarId);
      }
      if (FirstMetTimeStamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(FirstMetTimeStamp);
      }
      if (Rank != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Rank);
      }
      hasTakenPromotionRewardList_.WriteTo(output, _repeated_hasTakenPromotionRewardList_codec);
      if (EquipmentUniqueId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(EquipmentUniqueId);
      }
      if (DressedSkinId != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(DressedSkinId);
      }
      if (Exp != 0) {
        output.WriteRawTag(64);
        output.WriteUInt32(Exp);
      }
      skilltreeList_.WriteTo(output, _repeated_skilltreeList_codec);
      if (Level != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(Level);
      }
      if (IsMarked != false) {
        output.WriteRawTag(88);
        output.WriteBool(IsMarked);
      }
      if (CurEnhanceId != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(CurEnhanceId);
      }
      equipRelicList_.WriteTo(output, _repeated_equipRelicList_codec);
      if (Promotion != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(Promotion);
      }
      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 (BaseAvatarId != 0) {
        output.WriteRawTag(8);
        output.WriteUInt32(BaseAvatarId);
      }
      if (FirstMetTimeStamp != 0UL) {
        output.WriteRawTag(16);
        output.WriteUInt64(FirstMetTimeStamp);
      }
      if (Rank != 0) {
        output.WriteRawTag(24);
        output.WriteUInt32(Rank);
      }
      hasTakenPromotionRewardList_.WriteTo(ref output, _repeated_hasTakenPromotionRewardList_codec);
      if (EquipmentUniqueId != 0) {
        output.WriteRawTag(48);
        output.WriteUInt32(EquipmentUniqueId);
      }
      if (DressedSkinId != 0) {
        output.WriteRawTag(56);
        output.WriteUInt32(DressedSkinId);
      }
      if (Exp != 0) {
        output.WriteRawTag(64);
        output.WriteUInt32(Exp);
      }
      skilltreeList_.WriteTo(ref output, _repeated_skilltreeList_codec);
      if (Level != 0) {
        output.WriteRawTag(80);
        output.WriteUInt32(Level);
      }
      if (IsMarked != false) {
        output.WriteRawTag(88);
        output.WriteBool(IsMarked);
      }
      if (CurEnhanceId != 0) {
        output.WriteRawTag(96);
        output.WriteUInt32(CurEnhanceId);
      }
      equipRelicList_.WriteTo(ref output, _repeated_equipRelicList_codec);
      if (Promotion != 0) {
        output.WriteRawTag(120);
        output.WriteUInt32(Promotion);
      }
      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 (DressedSkinId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressedSkinId);
      }
      if (Exp != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
      }
      if (FirstMetTimeStamp != 0UL) {
        size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FirstMetTimeStamp);
      }
      if (Rank != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
      }
      size += equipRelicList_.CalculateSize(_repeated_equipRelicList_codec);
      if (IsMarked != false) {
        size += 1 + 1;
      }
      if (Level != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
      }
      size += hasTakenPromotionRewardList_.CalculateSize(_repeated_hasTakenPromotionRewardList_codec);
      if (CurEnhanceId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurEnhanceId);
      }
      size += skilltreeList_.CalculateSize(_repeated_skilltreeList_codec);
      if (BaseAvatarId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseAvatarId);
      }
      if (Promotion != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
      }
      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(Avatar other) {
      if (other == null) {
        return;
      }
      if (other.DressedSkinId != 0) {
        DressedSkinId = other.DressedSkinId;
      }
      if (other.Exp != 0) {
        Exp = other.Exp;
      }
      if (other.FirstMetTimeStamp != 0UL) {
        FirstMetTimeStamp = other.FirstMetTimeStamp;
      }
      if (other.Rank != 0) {
        Rank = other.Rank;
      }
      equipRelicList_.Add(other.equipRelicList_);
      if (other.IsMarked != false) {
        IsMarked = other.IsMarked;
      }
      if (other.Level != 0) {
        Level = other.Level;
      }
      hasTakenPromotionRewardList_.Add(other.hasTakenPromotionRewardList_);
      if (other.CurEnhanceId != 0) {
        CurEnhanceId = other.CurEnhanceId;
      }
      skilltreeList_.Add(other.skilltreeList_);
      if (other.BaseAvatarId != 0) {
        BaseAvatarId = other.BaseAvatarId;
      }
      if (other.Promotion != 0) {
        Promotion = other.Promotion;
      }
      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 8: {
            BaseAvatarId = input.ReadUInt32();
            break;
          }
          case 16: {
            FirstMetTimeStamp = input.ReadUInt64();
            break;
          }
          case 24: {
            Rank = input.ReadUInt32();
            break;
          }
          case 34:
          case 32: {
            hasTakenPromotionRewardList_.AddEntriesFrom(input, _repeated_hasTakenPromotionRewardList_codec);
            break;
          }
          case 48: {
            EquipmentUniqueId = input.ReadUInt32();
            break;
          }
          case 56: {
            DressedSkinId = input.ReadUInt32();
            break;
          }
          case 64: {
            Exp = input.ReadUInt32();
            break;
          }
          case 74: {
            skilltreeList_.AddEntriesFrom(input, _repeated_skilltreeList_codec);
            break;
          }
          case 80: {
            Level = input.ReadUInt32();
            break;
          }
          case 88: {
            IsMarked = input.ReadBool();
            break;
          }
          case 96: {
            CurEnhanceId = input.ReadUInt32();
            break;
          }
          case 114: {
            equipRelicList_.AddEntriesFrom(input, _repeated_equipRelicList_codec);
            break;
          }
          case 120: {
            Promotion = 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: {
            BaseAvatarId = input.ReadUInt32();
            break;
          }
          case 16: {
            FirstMetTimeStamp = input.ReadUInt64();
            break;
          }
          case 24: {
            Rank = input.ReadUInt32();
            break;
          }
          case 34:
          case 32: {
            hasTakenPromotionRewardList_.AddEntriesFrom(ref input, _repeated_hasTakenPromotionRewardList_codec);
            break;
          }
          case 48: {
            EquipmentUniqueId = input.ReadUInt32();
            break;
          }
          case 56: {
            DressedSkinId = input.ReadUInt32();
            break;
          }
          case 64: {
            Exp = input.ReadUInt32();
            break;
          }
          case 74: {
            skilltreeList_.AddEntriesFrom(ref input, _repeated_skilltreeList_codec);
            break;
          }
          case 80: {
            Level = input.ReadUInt32();
            break;
          }
          case 88: {
            IsMarked = input.ReadBool();
            break;
          }
          case 96: {
            CurEnhanceId = input.ReadUInt32();
            break;
          }
          case 114: {
            equipRelicList_.AddEntriesFrom(ref input, _repeated_equipRelicList_codec);
            break;
          }
          case 120: {
            Promotion = input.ReadUInt32();
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
