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

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

    static GetPlayerBoardDataScRspReflection() {
      byte[] descriptorData = global::System.Convert.FromBase64String(
          string.Concat(
            "Ch1HZXRQbGF5ZXJCb2FyZERhdGFTY1JzcC5wcm90bxoTSGVhZEZyYW1lSW5m",
            "by5wcm90bxoSSGVhZEljb25EYXRhLnByb3RvGhZEaXNwbGF5QXZhdGFyVmVj",
            "LnByb3RvIrwCChdHZXRQbGF5ZXJCb2FyZERhdGFTY1JzcBIiCgpoZWFkX2Zy",
            "YW1lGAMgASgLMg4uSGVhZEZyYW1lSW5mbxItChJkaXNwbGF5X2F2YXRhcl92",
            "ZWMYCiABKAsyES5EaXNwbGF5QXZhdGFyVmVjEg8KB3JldGNvZGUYBCABKA0S",
            "LgoXdW5sb2NrZWRfaGVhZF9pY29uX2xpc3QYDiADKAsyDS5IZWFkSWNvbkRh",
            "dGESEQoJc2lnbmF0dXJlGAwgASgJEhwKFGN1cnJlbnRfaGVhZF9pY29uX2lk",
            "GA0gASgNEhgKEHBlcnNvbmFsX2NhcmRfaWQYBSABKA0SIwobdW5sb2NrZWRf",
            "cGVyc29uYWxfY2FyZF9saXN0GAggAygNEh0KFWFzc2lzdF9hdmF0YXJfaWRf",
            "bGlzdBgGIAMoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
            "cm90bzM="));
      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
          new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HeadFrameInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeadIconDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.DisplayAvatarVecReflection.Descriptor, },
          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
            new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetPlayerBoardDataScRsp), global::EggLink.DanhengServer.Proto.GetPlayerBoardDataScRsp.Parser, new[]{ "HeadFrame", "DisplayAvatarVec", "Retcode", "UnlockedHeadIconList", "Signature", "CurrentHeadIconId", "PersonalCardId", "UnlockedPersonalCardList", "AssistAvatarIdList" }, null, null, null, null)
          }));
    }
    #endregion

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

    partial void OnConstruction();

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public GetPlayerBoardDataScRsp(GetPlayerBoardDataScRsp other) : this() {
      headFrame_ = other.headFrame_ != null ? other.headFrame_.Clone() : null;
      displayAvatarVec_ = other.displayAvatarVec_ != null ? other.displayAvatarVec_.Clone() : null;
      retcode_ = other.retcode_;
      unlockedHeadIconList_ = other.unlockedHeadIconList_.Clone();
      signature_ = other.signature_;
      currentHeadIconId_ = other.currentHeadIconId_;
      personalCardId_ = other.personalCardId_;
      unlockedPersonalCardList_ = other.unlockedPersonalCardList_.Clone();
      assistAvatarIdList_ = other.assistAvatarIdList_.Clone();
      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
    }

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

    /// <summary>Field number for the "head_frame" field.</summary>
    public const int HeadFrameFieldNumber = 3;
    private global::EggLink.DanhengServer.Proto.HeadFrameInfo headFrame_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.HeadFrameInfo HeadFrame {
      get { return headFrame_; }
      set {
        headFrame_ = value;
      }
    }

    /// <summary>Field number for the "display_avatar_vec" field.</summary>
    public const int DisplayAvatarVecFieldNumber = 10;
    private global::EggLink.DanhengServer.Proto.DisplayAvatarVec displayAvatarVec_;
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public global::EggLink.DanhengServer.Proto.DisplayAvatarVec DisplayAvatarVec {
      get { return displayAvatarVec_; }
      set {
        displayAvatarVec_ = value;
      }
    }

    /// <summary>Field number for the "retcode" field.</summary>
    public const int RetcodeFieldNumber = 4;
    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 "unlocked_head_icon_list" field.</summary>
    public const int UnlockedHeadIconListFieldNumber = 14;
    private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.HeadIconData> _repeated_unlockedHeadIconList_codec
        = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.HeadIconData.Parser);
    private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData> unlockedHeadIconList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.HeadIconData> UnlockedHeadIconList {
      get { return unlockedHeadIconList_; }
    }

    /// <summary>Field number for the "signature" field.</summary>
    public const int SignatureFieldNumber = 12;
    private string signature_ = "";
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public string Signature {
      get { return signature_; }
      set {
        signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
      }
    }

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

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

    /// <summary>Field number for the "unlocked_personal_card_list" field.</summary>
    public const int UnlockedPersonalCardListFieldNumber = 8;
    private static readonly pb::FieldCodec<uint> _repeated_unlockedPersonalCardList_codec
        = pb::FieldCodec.ForUInt32(66);
    private readonly pbc::RepeatedField<uint> unlockedPersonalCardList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> UnlockedPersonalCardList {
      get { return unlockedPersonalCardList_; }
    }

    /// <summary>Field number for the "assist_avatar_id_list" field.</summary>
    public const int AssistAvatarIdListFieldNumber = 6;
    private static readonly pb::FieldCodec<uint> _repeated_assistAvatarIdList_codec
        = pb::FieldCodec.ForUInt32(50);
    private readonly pbc::RepeatedField<uint> assistAvatarIdList_ = new pbc::RepeatedField<uint>();
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public pbc::RepeatedField<uint> AssistAvatarIdList {
      get { return assistAvatarIdList_; }
    }

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

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public bool Equals(GetPlayerBoardDataScRsp other) {
      if (ReferenceEquals(other, null)) {
        return false;
      }
      if (ReferenceEquals(other, this)) {
        return true;
      }
      if (!object.Equals(HeadFrame, other.HeadFrame)) return false;
      if (!object.Equals(DisplayAvatarVec, other.DisplayAvatarVec)) return false;
      if (Retcode != other.Retcode) return false;
      if(!unlockedHeadIconList_.Equals(other.unlockedHeadIconList_)) return false;
      if (Signature != other.Signature) return false;
      if (CurrentHeadIconId != other.CurrentHeadIconId) return false;
      if (PersonalCardId != other.PersonalCardId) return false;
      if(!unlockedPersonalCardList_.Equals(other.unlockedPersonalCardList_)) return false;
      if(!assistAvatarIdList_.Equals(other.assistAvatarIdList_)) 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 (headFrame_ != null) hash ^= HeadFrame.GetHashCode();
      if (displayAvatarVec_ != null) hash ^= DisplayAvatarVec.GetHashCode();
      if (Retcode != 0) hash ^= Retcode.GetHashCode();
      hash ^= unlockedHeadIconList_.GetHashCode();
      if (Signature.Length != 0) hash ^= Signature.GetHashCode();
      if (CurrentHeadIconId != 0) hash ^= CurrentHeadIconId.GetHashCode();
      if (PersonalCardId != 0) hash ^= PersonalCardId.GetHashCode();
      hash ^= unlockedPersonalCardList_.GetHashCode();
      hash ^= assistAvatarIdList_.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 (headFrame_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(HeadFrame);
      }
      if (Retcode != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Retcode);
      }
      if (PersonalCardId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(PersonalCardId);
      }
      assistAvatarIdList_.WriteTo(output, _repeated_assistAvatarIdList_codec);
      unlockedPersonalCardList_.WriteTo(output, _repeated_unlockedPersonalCardList_codec);
      if (displayAvatarVec_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(DisplayAvatarVec);
      }
      if (Signature.Length != 0) {
        output.WriteRawTag(98);
        output.WriteString(Signature);
      }
      if (CurrentHeadIconId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(CurrentHeadIconId);
      }
      unlockedHeadIconList_.WriteTo(output, _repeated_unlockedHeadIconList_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 (headFrame_ != null) {
        output.WriteRawTag(26);
        output.WriteMessage(HeadFrame);
      }
      if (Retcode != 0) {
        output.WriteRawTag(32);
        output.WriteUInt32(Retcode);
      }
      if (PersonalCardId != 0) {
        output.WriteRawTag(40);
        output.WriteUInt32(PersonalCardId);
      }
      assistAvatarIdList_.WriteTo(ref output, _repeated_assistAvatarIdList_codec);
      unlockedPersonalCardList_.WriteTo(ref output, _repeated_unlockedPersonalCardList_codec);
      if (displayAvatarVec_ != null) {
        output.WriteRawTag(82);
        output.WriteMessage(DisplayAvatarVec);
      }
      if (Signature.Length != 0) {
        output.WriteRawTag(98);
        output.WriteString(Signature);
      }
      if (CurrentHeadIconId != 0) {
        output.WriteRawTag(104);
        output.WriteUInt32(CurrentHeadIconId);
      }
      unlockedHeadIconList_.WriteTo(ref output, _repeated_unlockedHeadIconList_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 (headFrame_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(HeadFrame);
      }
      if (displayAvatarVec_ != null) {
        size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayAvatarVec);
      }
      if (Retcode != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
      }
      size += unlockedHeadIconList_.CalculateSize(_repeated_unlockedHeadIconList_codec);
      if (Signature.Length != 0) {
        size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature);
      }
      if (CurrentHeadIconId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentHeadIconId);
      }
      if (PersonalCardId != 0) {
        size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PersonalCardId);
      }
      size += unlockedPersonalCardList_.CalculateSize(_repeated_unlockedPersonalCardList_codec);
      size += assistAvatarIdList_.CalculateSize(_repeated_assistAvatarIdList_codec);
      if (_unknownFields != null) {
        size += _unknownFields.CalculateSize();
      }
      return size;
    }

    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
    public void MergeFrom(GetPlayerBoardDataScRsp other) {
      if (other == null) {
        return;
      }
      if (other.headFrame_ != null) {
        if (headFrame_ == null) {
          HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
        }
        HeadFrame.MergeFrom(other.HeadFrame);
      }
      if (other.displayAvatarVec_ != null) {
        if (displayAvatarVec_ == null) {
          DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec();
        }
        DisplayAvatarVec.MergeFrom(other.DisplayAvatarVec);
      }
      if (other.Retcode != 0) {
        Retcode = other.Retcode;
      }
      unlockedHeadIconList_.Add(other.unlockedHeadIconList_);
      if (other.Signature.Length != 0) {
        Signature = other.Signature;
      }
      if (other.CurrentHeadIconId != 0) {
        CurrentHeadIconId = other.CurrentHeadIconId;
      }
      if (other.PersonalCardId != 0) {
        PersonalCardId = other.PersonalCardId;
      }
      unlockedPersonalCardList_.Add(other.unlockedPersonalCardList_);
      assistAvatarIdList_.Add(other.assistAvatarIdList_);
      _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 26: {
            if (headFrame_ == null) {
              HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
            }
            input.ReadMessage(HeadFrame);
            break;
          }
          case 32: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 40: {
            PersonalCardId = input.ReadUInt32();
            break;
          }
          case 50:
          case 48: {
            assistAvatarIdList_.AddEntriesFrom(input, _repeated_assistAvatarIdList_codec);
            break;
          }
          case 66:
          case 64: {
            unlockedPersonalCardList_.AddEntriesFrom(input, _repeated_unlockedPersonalCardList_codec);
            break;
          }
          case 82: {
            if (displayAvatarVec_ == null) {
              DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec();
            }
            input.ReadMessage(DisplayAvatarVec);
            break;
          }
          case 98: {
            Signature = input.ReadString();
            break;
          }
          case 104: {
            CurrentHeadIconId = input.ReadUInt32();
            break;
          }
          case 114: {
            unlockedHeadIconList_.AddEntriesFrom(input, _repeated_unlockedHeadIconList_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 26: {
            if (headFrame_ == null) {
              HeadFrame = new global::EggLink.DanhengServer.Proto.HeadFrameInfo();
            }
            input.ReadMessage(HeadFrame);
            break;
          }
          case 32: {
            Retcode = input.ReadUInt32();
            break;
          }
          case 40: {
            PersonalCardId = input.ReadUInt32();
            break;
          }
          case 50:
          case 48: {
            assistAvatarIdList_.AddEntriesFrom(ref input, _repeated_assistAvatarIdList_codec);
            break;
          }
          case 66:
          case 64: {
            unlockedPersonalCardList_.AddEntriesFrom(ref input, _repeated_unlockedPersonalCardList_codec);
            break;
          }
          case 82: {
            if (displayAvatarVec_ == null) {
              DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec();
            }
            input.ReadMessage(DisplayAvatarVec);
            break;
          }
          case 98: {
            Signature = input.ReadString();
            break;
          }
          case 104: {
            CurrentHeadIconId = input.ReadUInt32();
            break;
          }
          case 114: {
            unlockedHeadIconList_.AddEntriesFrom(ref input, _repeated_unlockedHeadIconList_codec);
            break;
          }
        }
      }
    }
    #endif

  }

  #endregion

}

#endregion Designer generated code
