// // 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", "clZlYy5wcm90bxoSSGVhZEljb25EYXRhLnByb3RvItkBChdHZXRQbGF5ZXJC", "b2FyZERhdGFTY1JzcBIdChVhc3Npc3RfYXZhdGFyX2lkX2xpc3QYBCADKA0S", "LQoSZGlzcGxheV9hdmF0YXJfdmVjGAogASgLMhEuRGlzcGxheUF2YXRhclZl", "YxIuChd1bmxvY2tlZF9oZWFkX2ljb25fbGlzdBgBIAMoCzINLkhlYWRJY29u", "RGF0YRIcChRjdXJyZW50X2hlYWRfaWNvbl9pZBgIIAEoDRIRCglzaWduYXR1", "cmUYDCABKAkSDwoHcmV0Y29kZRgJIAEoDUIeqgIbRWdnTGluay5EYW5oZW5n", "U2VydmVyLlByb3RvYgZwcm90bzM=")); 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[]{ "AssistAvatarIdList", "DisplayAvatarVec", "UnlockedHeadIconList", "CurrentHeadIconId", "Signature", "Retcode" }, 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() { assistAvatarIdList_ = other.assistAvatarIdList_.Clone(); displayAvatarVec_ = other.displayAvatarVec_ != null ? other.displayAvatarVec_.Clone() : null; unlockedHeadIconList_ = other.unlockedHeadIconList_.Clone(); currentHeadIconId_ = other.currentHeadIconId_; signature_ = other.signature_; retcode_ = other.retcode_; _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 "assist_avatar_id_list" field. public const int AssistAvatarIdListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_assistAvatarIdList_codec = pb::FieldCodec.ForUInt32(34); 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 = 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; } } /// 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_; } } /// Field number for the "current_head_icon_id" field. public const int CurrentHeadIconIdFieldNumber = 8; 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 "signature" field. 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"); } } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 9; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } [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(!assistAvatarIdList_.Equals(other.assistAvatarIdList_)) return false; if (!object.Equals(DisplayAvatarVec, other.DisplayAvatarVec)) return false; if(!unlockedHeadIconList_.Equals(other.unlockedHeadIconList_)) return false; if (CurrentHeadIconId != other.CurrentHeadIconId) return false; if (Signature != other.Signature) return false; if (Retcode != other.Retcode) 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 ^= assistAvatarIdList_.GetHashCode(); if (displayAvatarVec_ != null) hash ^= DisplayAvatarVec.GetHashCode(); hash ^= unlockedHeadIconList_.GetHashCode(); if (CurrentHeadIconId != 0) hash ^= CurrentHeadIconId.GetHashCode(); if (Signature.Length != 0) hash ^= Signature.GetHashCode(); if (Retcode != 0) hash ^= Retcode.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); assistAvatarIdList_.WriteTo(output, _repeated_assistAvatarIdList_codec); if (CurrentHeadIconId != 0) { output.WriteRawTag(64); output.WriteUInt32(CurrentHeadIconId); } if (Retcode != 0) { output.WriteRawTag(72); output.WriteUInt32(Retcode); } if (displayAvatarVec_ != null) { output.WriteRawTag(82); output.WriteMessage(DisplayAvatarVec); } if (Signature.Length != 0) { output.WriteRawTag(98); output.WriteString(Signature); } 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); assistAvatarIdList_.WriteTo(ref output, _repeated_assistAvatarIdList_codec); if (CurrentHeadIconId != 0) { output.WriteRawTag(64); output.WriteUInt32(CurrentHeadIconId); } if (Retcode != 0) { output.WriteRawTag(72); output.WriteUInt32(Retcode); } if (displayAvatarVec_ != null) { output.WriteRawTag(82); output.WriteMessage(DisplayAvatarVec); } if (Signature.Length != 0) { output.WriteRawTag(98); output.WriteString(Signature); } 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 += assistAvatarIdList_.CalculateSize(_repeated_assistAvatarIdList_codec); if (displayAvatarVec_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayAvatarVec); } size += unlockedHeadIconList_.CalculateSize(_repeated_unlockedHeadIconList_codec); if (CurrentHeadIconId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrentHeadIconId); } if (Signature.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } 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; } assistAvatarIdList_.Add(other.assistAvatarIdList_); if (other.displayAvatarVec_ != null) { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } DisplayAvatarVec.MergeFrom(other.DisplayAvatarVec); } unlockedHeadIconList_.Add(other.unlockedHeadIconList_); if (other.CurrentHeadIconId != 0) { CurrentHeadIconId = other.CurrentHeadIconId; } if (other.Signature.Length != 0) { Signature = other.Signature; } if (other.Retcode != 0) { Retcode = other.Retcode; } _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: case 32: { assistAvatarIdList_.AddEntriesFrom(input, _repeated_assistAvatarIdList_codec); break; } case 64: { CurrentHeadIconId = input.ReadUInt32(); break; } case 72: { Retcode = input.ReadUInt32(); break; } case 82: { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } input.ReadMessage(DisplayAvatarVec); break; } case 98: { Signature = input.ReadString(); 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: case 32: { assistAvatarIdList_.AddEntriesFrom(ref input, _repeated_assistAvatarIdList_codec); break; } case 64: { CurrentHeadIconId = input.ReadUInt32(); break; } case 72: { Retcode = input.ReadUInt32(); break; } case 82: { if (displayAvatarVec_ == null) { DisplayAvatarVec = new global::EggLink.DanhengServer.Proto.DisplayAvatarVec(); } input.ReadMessage(DisplayAvatarVec); break; } case 98: { Signature = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code