Files
DanhengServer-OpenSource/Proto/AetherAvatarInfo.cs
2025-06-07 17:24:14 +08:00

424 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AetherAvatarInfo.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 AetherAvatarInfo.proto</summary>
public static partial class AetherAvatarInfoReflection {
#region Descriptor
/// <summary>File descriptor for AetherAvatarInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static AetherAvatarInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZBZXRoZXJBdmF0YXJJbmZvLnByb3RvGiJBZXRoZXJkaXZpZGVTcGlyaXRM",
"aW5ldXBUeXBlLnByb3RvGg9TcEJhckluZm8ucHJvdG8irgEKEEFldGhlckF2",
"YXRhckluZm8SCgoCaWQYASABKA0SDQoFaW5kZXgYAiABKA0SEQoJcHJvbW90",
"aW9uGAMgASgNEhUKDXBhc3NpdmVfc2tpbGwYBCADKA0SOQoSc3Bpcml0X2xp",
"bmV1cF90eXBlGAUgASgOMh0uQWV0aGVyZGl2aWRlU3Bpcml0TGluZXVwVHlw",
"ZRIaCgZzcF9iYXIYBiABKAsyCi5TcEJhckluZm9CHqoCG0VnZ0xpbmsuRGFu",
"aGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.SpBarInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherAvatarInfo), global::EggLink.DanhengServer.Proto.AetherAvatarInfo.Parser, new[]{ "Id", "Index", "Promotion", "PassiveSkill", "SpiritLineupType", "SpBar" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AetherAvatarInfo : pb::IMessage<AetherAvatarInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AetherAvatarInfo> _parser = new pb::MessageParser<AetherAvatarInfo>(() => new AetherAvatarInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AetherAvatarInfo> 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.AetherAvatarInfoReflection.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 AetherAvatarInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AetherAvatarInfo(AetherAvatarInfo other) : this() {
id_ = other.id_;
index_ = other.index_;
promotion_ = other.promotion_;
passiveSkill_ = other.passiveSkill_.Clone();
spiritLineupType_ = other.spiritLineupType_;
spBar_ = other.spBar_ != null ? other.spBar_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AetherAvatarInfo Clone() {
return new AetherAvatarInfo(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "index" field.</summary>
public const int IndexFieldNumber = 2;
private uint index_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Index {
get { return index_; }
set {
index_ = value;
}
}
/// <summary>Field number for the "promotion" field.</summary>
public const int PromotionFieldNumber = 3;
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 "passive_skill" field.</summary>
public const int PassiveSkillFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_passiveSkill_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> passiveSkill_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> PassiveSkill {
get { return passiveSkill_; }
}
/// <summary>Field number for the "spirit_lineup_type" field.</summary>
public const int SpiritLineupTypeFieldNumber = 5;
private global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType spiritLineupType_ = global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType SpiritLineupType {
get { return spiritLineupType_; }
set {
spiritLineupType_ = value;
}
}
/// <summary>Field number for the "sp_bar" field.</summary>
public const int SpBarFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.SpBarInfo spBar_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.SpBarInfo SpBar {
get { return spBar_; }
set {
spBar_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AetherAvatarInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AetherAvatarInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Index != other.Index) return false;
if (Promotion != other.Promotion) return false;
if(!passiveSkill_.Equals(other.passiveSkill_)) return false;
if (SpiritLineupType != other.SpiritLineupType) return false;
if (!object.Equals(SpBar, other.SpBar)) 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 (Id != 0) hash ^= Id.GetHashCode();
if (Index != 0) hash ^= Index.GetHashCode();
if (Promotion != 0) hash ^= Promotion.GetHashCode();
hash ^= passiveSkill_.GetHashCode();
if (SpiritLineupType != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) hash ^= SpiritLineupType.GetHashCode();
if (spBar_ != null) hash ^= SpBar.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Index != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Index);
}
if (Promotion != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Promotion);
}
passiveSkill_.WriteTo(output, _repeated_passiveSkill_codec);
if (SpiritLineupType != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
output.WriteRawTag(40);
output.WriteEnum((int) SpiritLineupType);
}
if (spBar_ != null) {
output.WriteRawTag(50);
output.WriteMessage(SpBar);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (Index != 0) {
output.WriteRawTag(16);
output.WriteUInt32(Index);
}
if (Promotion != 0) {
output.WriteRawTag(24);
output.WriteUInt32(Promotion);
}
passiveSkill_.WriteTo(ref output, _repeated_passiveSkill_codec);
if (SpiritLineupType != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
output.WriteRawTag(40);
output.WriteEnum((int) SpiritLineupType);
}
if (spBar_ != null) {
output.WriteRawTag(50);
output.WriteMessage(SpBar);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
}
if (Promotion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
}
size += passiveSkill_.CalculateSize(_repeated_passiveSkill_codec);
if (SpiritLineupType != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SpiritLineupType);
}
if (spBar_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpBar);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AetherAvatarInfo other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Index != 0) {
Index = other.Index;
}
if (other.Promotion != 0) {
Promotion = other.Promotion;
}
passiveSkill_.Add(other.passiveSkill_);
if (other.SpiritLineupType != global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType.AetherdivideSpiritLineupNone) {
SpiritLineupType = other.SpiritLineupType;
}
if (other.spBar_ != null) {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
SpBar.MergeFrom(other.SpBar);
}
_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 8: {
Id = input.ReadUInt32();
break;
}
case 16: {
Index = input.ReadUInt32();
break;
}
case 24: {
Promotion = input.ReadUInt32();
break;
}
case 34:
case 32: {
passiveSkill_.AddEntriesFrom(input, _repeated_passiveSkill_codec);
break;
}
case 40: {
SpiritLineupType = (global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType) input.ReadEnum();
break;
}
case 50: {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
input.ReadMessage(SpBar);
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 8: {
Id = input.ReadUInt32();
break;
}
case 16: {
Index = input.ReadUInt32();
break;
}
case 24: {
Promotion = input.ReadUInt32();
break;
}
case 34:
case 32: {
passiveSkill_.AddEntriesFrom(ref input, _repeated_passiveSkill_codec);
break;
}
case 40: {
SpiritLineupType = (global::EggLink.DanhengServer.Proto.AetherdivideSpiritLineupType) input.ReadEnum();
break;
}
case 50: {
if (spBar_ == null) {
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
}
input.ReadMessage(SpBar);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code