mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
422 lines
15 KiB
C#
422 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AetherDivideSpiritInfo.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 AetherDivideSpiritInfo.proto</summary>
|
|
public static partial class AetherDivideSpiritInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for AetherDivideSpiritInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static AetherDivideSpiritInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChxBZXRoZXJEaXZpZGVTcGlyaXRJbmZvLnByb3RvGhZQYXNzaXZlU2tpbGxJ",
|
|
"dGVtLnByb3RvGg9TcEJhckluZm8ucHJvdG8irQEKFkFldGhlckRpdmlkZVNw",
|
|
"aXJpdEluZm8SCwoDZXhwGAggASgNEhgKEGFldGhlcl9hdmF0YXJfaWQYDCAB",
|
|
"KA0SGgoGc3BfYmFyGAogASgLMgouU3BCYXJJbmZvEhMKC0pESENIQUJDTEND",
|
|
"GAUgASgNEhEKCXByb21vdGlvbhgOIAEoDRIoCg1wYXNzaXZlX3NraWxsGAIg",
|
|
"AygLMhEuUGFzc2l2ZVNraWxsSXRlbUIeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
|
|
"dmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PassiveSkillItemReflection.Descriptor, global::EggLink.DanhengServer.Proto.SpBarInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo), global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo.Parser, new[]{ "Exp", "AetherAvatarId", "SpBar", "JDHCHABCLCC", "Promotion", "PassiveSkill" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class AetherDivideSpiritInfo : pb::IMessage<AetherDivideSpiritInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<AetherDivideSpiritInfo> _parser = new pb::MessageParser<AetherDivideSpiritInfo>(() => new AetherDivideSpiritInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<AetherDivideSpiritInfo> 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.AetherDivideSpiritInfoReflection.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 AetherDivideSpiritInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AetherDivideSpiritInfo(AetherDivideSpiritInfo other) : this() {
|
|
exp_ = other.exp_;
|
|
aetherAvatarId_ = other.aetherAvatarId_;
|
|
spBar_ = other.spBar_ != null ? other.spBar_.Clone() : null;
|
|
jDHCHABCLCC_ = other.jDHCHABCLCC_;
|
|
promotion_ = other.promotion_;
|
|
passiveSkill_ = other.passiveSkill_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AetherDivideSpiritInfo Clone() {
|
|
return new AetherDivideSpiritInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "exp" field.</summary>
|
|
public const int ExpFieldNumber = 8;
|
|
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 "aether_avatar_id" field.</summary>
|
|
public const int AetherAvatarIdFieldNumber = 12;
|
|
private uint aetherAvatarId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint AetherAvatarId {
|
|
get { return aetherAvatarId_; }
|
|
set {
|
|
aetherAvatarId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sp_bar" field.</summary>
|
|
public const int SpBarFieldNumber = 10;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "JDHCHABCLCC" field.</summary>
|
|
public const int JDHCHABCLCCFieldNumber = 5;
|
|
private uint jDHCHABCLCC_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint JDHCHABCLCC {
|
|
get { return jDHCHABCLCC_; }
|
|
set {
|
|
jDHCHABCLCC_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "promotion" field.</summary>
|
|
public const int PromotionFieldNumber = 14;
|
|
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 = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PassiveSkillItem> _repeated_passiveSkill_codec
|
|
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.PassiveSkillItem.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem> passiveSkill_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PassiveSkillItem> PassiveSkill {
|
|
get { return passiveSkill_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as AetherDivideSpiritInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(AetherDivideSpiritInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Exp != other.Exp) return false;
|
|
if (AetherAvatarId != other.AetherAvatarId) return false;
|
|
if (!object.Equals(SpBar, other.SpBar)) return false;
|
|
if (JDHCHABCLCC != other.JDHCHABCLCC) return false;
|
|
if (Promotion != other.Promotion) return false;
|
|
if(!passiveSkill_.Equals(other.passiveSkill_)) 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 (Exp != 0) hash ^= Exp.GetHashCode();
|
|
if (AetherAvatarId != 0) hash ^= AetherAvatarId.GetHashCode();
|
|
if (spBar_ != null) hash ^= SpBar.GetHashCode();
|
|
if (JDHCHABCLCC != 0) hash ^= JDHCHABCLCC.GetHashCode();
|
|
if (Promotion != 0) hash ^= Promotion.GetHashCode();
|
|
hash ^= passiveSkill_.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
|
|
passiveSkill_.WriteTo(output, _repeated_passiveSkill_codec);
|
|
if (JDHCHABCLCC != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(JDHCHABCLCC);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(SpBar);
|
|
}
|
|
if (AetherAvatarId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(AetherAvatarId);
|
|
}
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
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) {
|
|
passiveSkill_.WriteTo(ref output, _repeated_passiveSkill_codec);
|
|
if (JDHCHABCLCC != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(JDHCHABCLCC);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(SpBar);
|
|
}
|
|
if (AetherAvatarId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(AetherAvatarId);
|
|
}
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
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 (Exp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
|
|
}
|
|
if (AetherAvatarId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AetherAvatarId);
|
|
}
|
|
if (spBar_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpBar);
|
|
}
|
|
if (JDHCHABCLCC != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JDHCHABCLCC);
|
|
}
|
|
if (Promotion != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
|
|
}
|
|
size += passiveSkill_.CalculateSize(_repeated_passiveSkill_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(AetherDivideSpiritInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Exp != 0) {
|
|
Exp = other.Exp;
|
|
}
|
|
if (other.AetherAvatarId != 0) {
|
|
AetherAvatarId = other.AetherAvatarId;
|
|
}
|
|
if (other.spBar_ != null) {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
SpBar.MergeFrom(other.SpBar);
|
|
}
|
|
if (other.JDHCHABCLCC != 0) {
|
|
JDHCHABCLCC = other.JDHCHABCLCC;
|
|
}
|
|
if (other.Promotion != 0) {
|
|
Promotion = other.Promotion;
|
|
}
|
|
passiveSkill_.Add(other.passiveSkill_);
|
|
_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: {
|
|
passiveSkill_.AddEntriesFrom(input, _repeated_passiveSkill_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
JDHCHABCLCC = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
input.ReadMessage(SpBar);
|
|
break;
|
|
}
|
|
case 96: {
|
|
AetherAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Promotion = 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 18: {
|
|
passiveSkill_.AddEntriesFrom(ref input, _repeated_passiveSkill_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
JDHCHABCLCC = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
input.ReadMessage(SpBar);
|
|
break;
|
|
}
|
|
case 96: {
|
|
AetherAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|