Files
DanhengServer-OpenSource/Proto/DisplayAvatarDetailInfo.cs
2025-08-29 19:40:06 +08:00

599 lines
21 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DisplayAvatarDetailInfo.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 DisplayAvatarDetailInfo.proto</summary>
public static partial class DisplayAvatarDetailInfoReflection {
#region Descriptor
/// <summary>File descriptor for DisplayAvatarDetailInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static DisplayAvatarDetailInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1EaXNwbGF5QXZhdGFyRGV0YWlsSW5mby5wcm90bxoaRGlzcGxheUVxdWlw",
"bWVudEluZm8ucHJvdG8aFkRpc3BsYXlSZWxpY0luZm8ucHJvdG8aFUF2YXRh",
"clNraWxsVHJlZS5wcm90byKZAgoXRGlzcGxheUF2YXRhckRldGFpbEluZm8S",
"EAoIQXZhdGFySWQYAiABKA0SEQoJUHJvbW90aW9uGAcgASgNEhUKDURyZXNz",
"ZWRTa2luSWQYCSABKA0SJAoJUmVsaWNMaXN0GAYgAygLMhEuRGlzcGxheVJl",
"bGljSW5mbxILCgNQb3MYBCABKA0SKAoJRXF1aXBtZW50GAogASgLMhUuRGlz",
"cGxheUVxdWlwbWVudEluZm8SDAoEUmFuaxgFIAEoDRInCg1Ta2lsbHRyZWVM",
"aXN0GAMgAygLMhAuQXZhdGFyU2tpbGxUcmVlEgsKA0V4cBgOIAEoDRINCgVM",
"ZXZlbBgIIAEoDRISCgpFbmhhbmNlZElkGAsgASgNQh6qAhtFZ2dMaW5rLkRh",
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.DisplayEquipmentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.DisplayRelicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.AvatarSkillTreeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo), global::EggLink.DanhengServer.Proto.DisplayAvatarDetailInfo.Parser, new[]{ "AvatarId", "Promotion", "DressedSkinId", "RelicList", "Pos", "Equipment", "Rank", "SkilltreeList", "Exp", "Level", "EnhancedId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DisplayAvatarDetailInfo : pb::IMessage<DisplayAvatarDetailInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DisplayAvatarDetailInfo> _parser = new pb::MessageParser<DisplayAvatarDetailInfo>(() => new DisplayAvatarDetailInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DisplayAvatarDetailInfo> 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.DisplayAvatarDetailInfoReflection.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 DisplayAvatarDetailInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DisplayAvatarDetailInfo(DisplayAvatarDetailInfo other) : this() {
avatarId_ = other.avatarId_;
promotion_ = other.promotion_;
dressedSkinId_ = other.dressedSkinId_;
relicList_ = other.relicList_.Clone();
pos_ = other.pos_;
equipment_ = other.equipment_ != null ? other.equipment_.Clone() : null;
rank_ = other.rank_;
skilltreeList_ = other.skilltreeList_.Clone();
exp_ = other.exp_;
level_ = other.level_;
enhancedId_ = other.enhancedId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DisplayAvatarDetailInfo Clone() {
return new DisplayAvatarDetailInfo(this);
}
/// <summary>Field number for the "AvatarId" field.</summary>
public const int AvatarIdFieldNumber = 2;
private uint avatarId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AvatarId {
get { return avatarId_; }
set {
avatarId_ = value;
}
}
/// <summary>Field number for the "Promotion" field.</summary>
public const int PromotionFieldNumber = 7;
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 "DressedSkinId" field.</summary>
public const int DressedSkinIdFieldNumber = 9;
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 "RelicList" field.</summary>
public const int RelicListFieldNumber = 6;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.DisplayRelicInfo> _repeated_relicList_codec
= pb::FieldCodec.ForMessage(50, global::EggLink.DanhengServer.Proto.DisplayRelicInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DisplayRelicInfo> relicList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DisplayRelicInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DisplayRelicInfo> RelicList {
get { return relicList_; }
}
/// <summary>Field number for the "Pos" field.</summary>
public const int PosFieldNumber = 4;
private uint pos_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Pos {
get { return pos_; }
set {
pos_ = value;
}
}
/// <summary>Field number for the "Equipment" field.</summary>
public const int EquipmentFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.DisplayEquipmentInfo equipment_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.DisplayEquipmentInfo Equipment {
get { return equipment_; }
set {
equipment_ = value;
}
}
/// <summary>Field number for the "Rank" field.</summary>
public const int RankFieldNumber = 5;
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 "SkilltreeList" field.</summary>
public const int SkilltreeListFieldNumber = 3;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AvatarSkillTree> _repeated_skilltreeList_codec
= pb::FieldCodec.ForMessage(26, 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 "Exp" field.</summary>
public const int ExpFieldNumber = 14;
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 "Level" field.</summary>
public const int LevelFieldNumber = 8;
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 "EnhancedId" field.</summary>
public const int EnhancedIdFieldNumber = 11;
private uint enhancedId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EnhancedId {
get { return enhancedId_; }
set {
enhancedId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DisplayAvatarDetailInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DisplayAvatarDetailInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AvatarId != other.AvatarId) return false;
if (Promotion != other.Promotion) return false;
if (DressedSkinId != other.DressedSkinId) return false;
if(!relicList_.Equals(other.relicList_)) return false;
if (Pos != other.Pos) return false;
if (!object.Equals(Equipment, other.Equipment)) return false;
if (Rank != other.Rank) return false;
if(!skilltreeList_.Equals(other.skilltreeList_)) return false;
if (Exp != other.Exp) return false;
if (Level != other.Level) return false;
if (EnhancedId != other.EnhancedId) 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 (AvatarId != 0) hash ^= AvatarId.GetHashCode();
if (Promotion != 0) hash ^= Promotion.GetHashCode();
if (DressedSkinId != 0) hash ^= DressedSkinId.GetHashCode();
hash ^= relicList_.GetHashCode();
if (Pos != 0) hash ^= Pos.GetHashCode();
if (equipment_ != null) hash ^= Equipment.GetHashCode();
if (Rank != 0) hash ^= Rank.GetHashCode();
hash ^= skilltreeList_.GetHashCode();
if (Exp != 0) hash ^= Exp.GetHashCode();
if (Level != 0) hash ^= Level.GetHashCode();
if (EnhancedId != 0) hash ^= EnhancedId.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 (AvatarId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AvatarId);
}
skilltreeList_.WriteTo(output, _repeated_skilltreeList_codec);
if (Pos != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Pos);
}
if (Rank != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Rank);
}
relicList_.WriteTo(output, _repeated_relicList_codec);
if (Promotion != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Promotion);
}
if (Level != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Level);
}
if (DressedSkinId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(DressedSkinId);
}
if (equipment_ != null) {
output.WriteRawTag(82);
output.WriteMessage(Equipment);
}
if (EnhancedId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(EnhancedId);
}
if (Exp != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Exp);
}
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 (AvatarId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(AvatarId);
}
skilltreeList_.WriteTo(ref output, _repeated_skilltreeList_codec);
if (Pos != 0) {
output.WriteRawTag(32);
output.WriteUInt32(Pos);
}
if (Rank != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Rank);
}
relicList_.WriteTo(ref output, _repeated_relicList_codec);
if (Promotion != 0) {
output.WriteRawTag(56);
output.WriteUInt32(Promotion);
}
if (Level != 0) {
output.WriteRawTag(64);
output.WriteUInt32(Level);
}
if (DressedSkinId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(DressedSkinId);
}
if (equipment_ != null) {
output.WriteRawTag(82);
output.WriteMessage(Equipment);
}
if (EnhancedId != 0) {
output.WriteRawTag(88);
output.WriteUInt32(EnhancedId);
}
if (Exp != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Exp);
}
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 (AvatarId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AvatarId);
}
if (Promotion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
}
if (DressedSkinId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DressedSkinId);
}
size += relicList_.CalculateSize(_repeated_relicList_codec);
if (Pos != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Pos);
}
if (equipment_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Equipment);
}
if (Rank != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank);
}
size += skilltreeList_.CalculateSize(_repeated_skilltreeList_codec);
if (Exp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
}
if (Level != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
}
if (EnhancedId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EnhancedId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DisplayAvatarDetailInfo other) {
if (other == null) {
return;
}
if (other.AvatarId != 0) {
AvatarId = other.AvatarId;
}
if (other.Promotion != 0) {
Promotion = other.Promotion;
}
if (other.DressedSkinId != 0) {
DressedSkinId = other.DressedSkinId;
}
relicList_.Add(other.relicList_);
if (other.Pos != 0) {
Pos = other.Pos;
}
if (other.equipment_ != null) {
if (equipment_ == null) {
Equipment = new global::EggLink.DanhengServer.Proto.DisplayEquipmentInfo();
}
Equipment.MergeFrom(other.Equipment);
}
if (other.Rank != 0) {
Rank = other.Rank;
}
skilltreeList_.Add(other.skilltreeList_);
if (other.Exp != 0) {
Exp = other.Exp;
}
if (other.Level != 0) {
Level = other.Level;
}
if (other.EnhancedId != 0) {
EnhancedId = other.EnhancedId;
}
_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 16: {
AvatarId = input.ReadUInt32();
break;
}
case 26: {
skilltreeList_.AddEntriesFrom(input, _repeated_skilltreeList_codec);
break;
}
case 32: {
Pos = input.ReadUInt32();
break;
}
case 40: {
Rank = input.ReadUInt32();
break;
}
case 50: {
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
break;
}
case 56: {
Promotion = input.ReadUInt32();
break;
}
case 64: {
Level = input.ReadUInt32();
break;
}
case 72: {
DressedSkinId = input.ReadUInt32();
break;
}
case 82: {
if (equipment_ == null) {
Equipment = new global::EggLink.DanhengServer.Proto.DisplayEquipmentInfo();
}
input.ReadMessage(Equipment);
break;
}
case 88: {
EnhancedId = input.ReadUInt32();
break;
}
case 112: {
Exp = 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 16: {
AvatarId = input.ReadUInt32();
break;
}
case 26: {
skilltreeList_.AddEntriesFrom(ref input, _repeated_skilltreeList_codec);
break;
}
case 32: {
Pos = input.ReadUInt32();
break;
}
case 40: {
Rank = input.ReadUInt32();
break;
}
case 50: {
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
break;
}
case 56: {
Promotion = input.ReadUInt32();
break;
}
case 64: {
Level = input.ReadUInt32();
break;
}
case 72: {
DressedSkinId = input.ReadUInt32();
break;
}
case 82: {
if (equipment_ == null) {
Equipment = new global::EggLink.DanhengServer.Proto.DisplayEquipmentInfo();
}
input.ReadMessage(Equipment);
break;
}
case 88: {
EnhancedId = input.ReadUInt32();
break;
}
case 112: {
Exp = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code