Files
DanhengServer-OpenSource/Proto/GetAvatarDataScRsp.cs
letheriver2007 2b8b269a1d feat: skin system
2025-04-13 22:10:38 +08:00

394 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetAvatarDataScRsp.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 GetAvatarDataScRsp.proto</summary>
public static partial class GetAvatarDataScRspReflection {
#region Descriptor
/// <summary>File descriptor for GetAvatarDataScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GetAvatarDataScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChhHZXRBdmF0YXJEYXRhU2NSc3AucHJvdG8aEUJDTUxKQ0ZPRUZNLnByb3Rv",
"GgxBdmF0YXIucHJvdG8ipAEKEkdldEF2YXRhckRhdGFTY1JzcBISCgppc19n",
"ZXRfYWxsGA0gASgIEg8KB3JldGNvZGUYBCABKA0SEwoLQU5LSEVOSUlBQ0gY",
"CSADKA0SEwoLSlBOTFBPUE1LRUoYCCABKA0SHAoLYXZhdGFyX2xpc3QYAiAD",
"KAsyBy5BdmF0YXISIQoLUE5LQ0ZFQUxBTUkYCyADKA4yDC5CQ01MSkNGT0VG",
"TUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BCMLJCFOEFMReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetAvatarDataScRsp), global::EggLink.DanhengServer.Proto.GetAvatarDataScRsp.Parser, new[]{ "IsGetAll", "Retcode", "SkinList", "JPNLPOPMKEJ", "AvatarList", "PNKCFEALAMI" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetAvatarDataScRsp : pb::IMessage<GetAvatarDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetAvatarDataScRsp> _parser = new pb::MessageParser<GetAvatarDataScRsp>(() => new GetAvatarDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetAvatarDataScRsp> 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.GetAvatarDataScRspReflection.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 GetAvatarDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAvatarDataScRsp(GetAvatarDataScRsp other) : this() {
isGetAll_ = other.isGetAll_;
retcode_ = other.retcode_;
skinList_ = other.skinList_.Clone();
jPNLPOPMKEJ_ = other.jPNLPOPMKEJ_;
avatarList_ = other.avatarList_.Clone();
pNKCFEALAMI_ = other.pNKCFEALAMI_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAvatarDataScRsp Clone() {
return new GetAvatarDataScRsp(this);
}
/// <summary>Field number for the "is_get_all" field.</summary>
public const int IsGetAllFieldNumber = 13;
private bool isGetAll_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsGetAll {
get { return isGetAll_; }
set {
isGetAll_ = 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 "skin_list" field.</summary>
public const int SkinListFieldNumber = 9;
private static readonly pb::FieldCodec<uint> _repeated_skinList_codec
= pb::FieldCodec.ForUInt32(74);
private readonly pbc::RepeatedField<uint> skinList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> SkinList {
get { return skinList_; }
}
/// <summary>Field number for the "JPNLPOPMKEJ" field.</summary>
public const int JPNLPOPMKEJFieldNumber = 8;
private uint jPNLPOPMKEJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint JPNLPOPMKEJ {
get { return jPNLPOPMKEJ_; }
set {
jPNLPOPMKEJ_ = value;
}
}
/// <summary>Field number for the "avatar_list" field.</summary>
public const int AvatarListFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Avatar> _repeated_avatarList_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.Avatar.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Avatar> avatarList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Avatar>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Avatar> AvatarList {
get { return avatarList_; }
}
/// <summary>Field number for the "PNKCFEALAMI" field.</summary>
public const int PNKCFEALAMIFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.BCMLJCFOEFM> _repeated_pNKCFEALAMI_codec
= pb::FieldCodec.ForEnum(90, x => (int) x, x => (global::EggLink.DanhengServer.Proto.BCMLJCFOEFM) x);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BCMLJCFOEFM> pNKCFEALAMI_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BCMLJCFOEFM>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.BCMLJCFOEFM> PNKCFEALAMI {
get { return pNKCFEALAMI_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetAvatarDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetAvatarDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IsGetAll != other.IsGetAll) return false;
if (Retcode != other.Retcode) return false;
if(!skinList_.Equals(other.skinList_)) return false;
if (JPNLPOPMKEJ != other.JPNLPOPMKEJ) return false;
if(!avatarList_.Equals(other.avatarList_)) return false;
if(!pNKCFEALAMI_.Equals(other.pNKCFEALAMI_)) 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 (IsGetAll != false) hash ^= IsGetAll.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= skinList_.GetHashCode();
if (JPNLPOPMKEJ != 0) hash ^= JPNLPOPMKEJ.GetHashCode();
hash ^= avatarList_.GetHashCode();
hash ^= pNKCFEALAMI_.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
avatarList_.WriteTo(output, _repeated_avatarList_codec);
if (Retcode != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Retcode);
}
if (JPNLPOPMKEJ != 0) {
output.WriteRawTag(64);
output.WriteUInt32(JPNLPOPMKEJ);
}
skinList_.WriteTo(output, _repeated_skinList_codec);
pNKCFEALAMI_.WriteTo(output, _repeated_pNKCFEALAMI_codec);
if (IsGetAll != false) {
output.WriteRawTag(104);
output.WriteBool(IsGetAll);
}
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) {
avatarList_.WriteTo(ref output, _repeated_avatarList_codec);
if (Retcode != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Retcode);
}
if (JPNLPOPMKEJ != 0) {
output.WriteRawTag(64);
output.WriteUInt32(JPNLPOPMKEJ);
}
skinList_.WriteTo(ref output, _repeated_skinList_codec);
pNKCFEALAMI_.WriteTo(ref output, _repeated_pNKCFEALAMI_codec);
if (IsGetAll != false) {
output.WriteRawTag(104);
output.WriteBool(IsGetAll);
}
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 (IsGetAll != false) {
size += 1 + 1;
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += skinList_.CalculateSize(_repeated_skinList_codec);
if (JPNLPOPMKEJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JPNLPOPMKEJ);
}
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
size += pNKCFEALAMI_.CalculateSize(_repeated_pNKCFEALAMI_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetAvatarDataScRsp other) {
if (other == null) {
return;
}
if (other.IsGetAll != false) {
IsGetAll = other.IsGetAll;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
skinList_.Add(other.skinList_);
if (other.JPNLPOPMKEJ != 0) {
JPNLPOPMKEJ = other.JPNLPOPMKEJ;
}
avatarList_.Add(other.avatarList_);
pNKCFEALAMI_.Add(other.pNKCFEALAMI_);
_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 18: {
avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec);
break;
}
case 32: {
Retcode = input.ReadUInt32();
break;
}
case 64: {
JPNLPOPMKEJ = input.ReadUInt32();
break;
}
case 74:
case 72: {
skinList_.AddEntriesFrom(input, _repeated_skinList_codec);
break;
}
case 90:
case 88: {
pNKCFEALAMI_.AddEntriesFrom(input, _repeated_pNKCFEALAMI_codec);
break;
}
case 104: {
IsGetAll = input.ReadBool();
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 18: {
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
break;
}
case 32: {
Retcode = input.ReadUInt32();
break;
}
case 64: {
JPNLPOPMKEJ = input.ReadUInt32();
break;
}
case 74:
case 72: {
skinList_.AddEntriesFrom(ref input, _repeated_skinList_codec);
break;
}
case 90:
case 88: {
pNKCFEALAMI_.AddEntriesFrom(ref input, _repeated_pNKCFEALAMI_codec);
break;
}
case 104: {
IsGetAll = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code