// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetPlayerBoardDataScRsp.proto // #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 { /// Holder for reflection information generated from GetPlayerBoardDataScRsp.proto public static partial class GetPlayerBoardDataScRspReflection { #region Descriptor /// File descriptor for GetPlayerBoardDataScRsp.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GetPlayerBoardDataScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1HZXRQbGF5ZXJCb2FyZERhdGFTY1JzcC5wcm90bxoWRGlzcGxheUF2YXRh", "clZlYy5wcm90bxoSSGVhZEljb25EYXRhLnByb3RvIpgCChdHZXRQbGF5ZXJC", "b2FyZERhdGFTY1JzcBIRCglzaWduYXR1cmUYBCABKAkSIwobdW5sb2NrZWRf", "cGVyc29uYWxfY2FyZF9saXN0GAsgAygNEh0KFWFzc2lzdF9hdmF0YXJfaWRf", "bGlzdBgFIAMoDRItChJkaXNwbGF5X2F2YXRhcl92ZWMYDCABKAsyES5EaXNw", "bGF5QXZhdGFyVmVjEhwKFGN1cnJlbnRfaGVhZF9pY29uX2lkGAkgASgNEg8K", "B3JldGNvZGUYCCABKA0SGAoQcGVyc29uYWxfY2FyZF9pZBgPIAEoDRIuChd1", "bmxvY2tlZF9oZWFkX2ljb25fbGlzdBgBIAMoCzINLkhlYWRJY29uRGF0YUIe", "qgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.DisplayAvatarVecReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeadIconDataReflection.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[]{ "Signature", "UnlockedPersonalCardList", "AssistAvatarIdList", "DisplayAvatarVec", "CurrentHeadIconId", "Retcode", "PersonalCardId", "UnlockedHeadIconList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GetPlayerBoardDataScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetPlayerBoardDataScRsp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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() { signature_ = other.signature_; unlockedPersonalCardList_ = other.unlockedPersonalCardList_.Clone(); assistAvatarIdList_ = other.assistAvatarIdList_.Clone(); displayAvatarVec_ = other.displayAvatarVec_ != null ? other.displayAvatarVec_.Clone() : null; currentHeadIconId_ = other.currentHeadIconId_; retcode_ = other.retcode_; personalCardId_ = other.personalCardId_; unlockedHeadIconList_ = other.unlockedHeadIconList_.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); } /// Field number for the "signature" field. public const int SignatureFieldNumber = 4; 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"); } } /// Field number for the "unlocked_personal_card_list" field. public const int UnlockedPersonalCardListFieldNumber = 11; private static readonly pb::FieldCodec _repeated_unlockedPersonalCardList_codec = pb::FieldCodec.ForUInt32(90); private readonly pbc::RepeatedField unlockedPersonalCardList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnlockedPersonalCardList { get { return unlockedPersonalCardList_; } } /// Field number for the "assist_avatar_id_list" field. public const int AssistAvatarIdListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_assistAvatarIdList_codec = pb::FieldCodec.ForUInt32(42); private readonly pbc::RepeatedField assistAvatarIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AssistAvatarIdList { get { return assistAvatarIdList_; } } /// Field number for the "display_avatar_vec" field. public const int DisplayAvatarVecFieldNumber = 12; 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; } } /// Field number for the "current_head_icon_id" field. public const int CurrentHeadIconIdFieldNumber = 9; private uint currentHeadIconId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurrentHeadIconId { get { return currentHeadIconId_; } set { currentHeadIconId_ = value; } } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 8; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "personal_card_id" field. public const int PersonalCardIdFieldNumber = 15; private uint personalCardId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PersonalCardId { get { return personalCardId_; } set { personalCardId_ = value; } } /// Field number for the "unlocked_head_icon_list" field. public const int UnlockedHeadIconListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_unlockedHeadIconList_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.HeadIconData.Parser); private readonly pbc::RepeatedField unlockedHeadIconList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnlockedHeadIconList { get { return unlockedHeadIconList_; } } [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 (Signature != other.Signature) return false; if(!unlockedPersonalCardList_.Equals(other.unlockedPersonalCardList_)) return false; if(!assistAvatarIdList_.Equals(other.assistAvatarIdList_)) return false; if (!object.Equals(DisplayAvatarVec, other.DisplayAvatarVec)) return false; if (CurrentHeadIconId != other.CurrentHeadIconId) return false; if (Retcode != other.Retcode) return false; if (PersonalCardId != other.PersonalCardId) return false; if(!unlockedHeadIconList_.Equals(other.unlockedHeadIconList_)) 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 (Signature.Length != 0) hash ^= Signature.GetHashCode(); hash ^= unlockedPersonalCardList_.GetHashCode(); hash ^= assistAvatarIdList_.GetHashCode(); if (displayAvatarVec_ != null) hash ^= DisplayAvatarVec.GetHashCode(); if (CurrentHeadIconId != 0) hash ^= CurrentHeadIconId.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); if (PersonalCardId != 0) hash ^= PersonalCardId.GetHashCode(); hash ^= unlockedHeadIconList_.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 unlockedHeadIconList_.WriteTo(output, _repeated_unlockedHeadIconList_codec); if (Signature.Length != 0) { output.WriteRawTag(34); output.WriteString(Signature); } assistAvatarIdList_.WriteTo(output, _repeated_assistAvatarIdList_codec); if (Retcode != 0) { output.WriteRawTag(64); output.WriteUInt32(Retcode); } if (CurrentHeadIconId != 0) { output.WriteRawTag(72); output.WriteUInt32(CurrentHeadIconId); } unlockedPersonalCardList_.WriteTo(output, _repeated_unlockedPersonalCardList_codec); if (displayAvatarVec_ != null) { output.WriteRawTag(98); output.WriteMessage(DisplayAvatarVec); } if (PersonalCardId != 0) { output.WriteRawTag(120); output.WriteUInt32(PersonalCardId); } 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) { unlockedHeadIconList_.WriteTo(ref output, _repeated_unlockedHeadIconList_codec); if (Signature.Length != 0) { output.WriteRawTag(34); output.WriteString(Signature); } assistAvatarIdList_.WriteTo(ref output, _repeated_assistAvatarIdList_codec); if (Retcode != 0) { output.WriteRawTag(64); output.WriteUInt32(Retcode); } if (CurrentHeadIconId != 0) { output.WriteRawTag(72); output.WriteUInt32(CurrentHeadIconId); } unlockedPersonalCardList_.WriteTo(ref output, _repeated_unlockedPersonalCardList_codec); if (displayAvatarVec_ != null) { output.WriteRawTag(98); output.WriteMessage(DisplayAvatarVec); } if (PersonalCardId != 0) { output.WriteRawTag(120); output.WriteUInt32(PersonalCardId); } 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 (Signature.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); } size += unlockedPersonalCardList_.CalculateSize(_repeated_unlockedPersonalCardList_codec); size += assistAvatarIdList_.CalculateSize(_repeated_assistAvatarIdList_codec); if (displayAvatarVec_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayAvatarVec); } if (CurrentHeadIconId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentHeadIconId); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } if (PersonalCardId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PersonalCardId); } size += unlockedHeadIconList_.CalculateSize(_repeated_unlockedHeadIconList_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.Signature.Length != 0) { Signature = other.Signature; } unlockedPersonalCardList_.Add(other.unlockedPersonalCardList_); assistAvatarIdList_.Add(other.assistAvatarIdList_); if (other.displayAvatarVec_ != null) { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } DisplayAvatarVec.MergeFrom(other.DisplayAvatarVec); } if (other.CurrentHeadIconId != 0) { CurrentHeadIconId = other.CurrentHeadIconId; } if (other.Retcode != 0) { Retcode = other.Retcode; } if (other.PersonalCardId != 0) { PersonalCardId = other.PersonalCardId; } unlockedHeadIconList_.Add(other.unlockedHeadIconList_); _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 10: { unlockedHeadIconList_.AddEntriesFrom(input, _repeated_unlockedHeadIconList_codec); break; } case 34: { Signature = input.ReadString(); break; } case 42: case 40: { assistAvatarIdList_.AddEntriesFrom(input, _repeated_assistAvatarIdList_codec); break; } case 64: { Retcode = input.ReadUInt32(); break; } case 72: { CurrentHeadIconId = input.ReadUInt32(); break; } case 90: case 88: { unlockedPersonalCardList_.AddEntriesFrom(input, _repeated_unlockedPersonalCardList_codec); break; } case 98: { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } input.ReadMessage(DisplayAvatarVec); break; } case 120: { PersonalCardId = 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 10: { unlockedHeadIconList_.AddEntriesFrom(ref input, _repeated_unlockedHeadIconList_codec); break; } case 34: { Signature = input.ReadString(); break; } case 42: case 40: { assistAvatarIdList_.AddEntriesFrom(ref input, _repeated_assistAvatarIdList_codec); break; } case 64: { Retcode = input.ReadUInt32(); break; } case 72: { CurrentHeadIconId = input.ReadUInt32(); break; } case 90: case 88: { unlockedPersonalCardList_.AddEntriesFrom(ref input, _repeated_unlockedPersonalCardList_codec); break; } case 98: { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } input.ReadMessage(DisplayAvatarVec); break; } case 120: { PersonalCardId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code