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(
|
|
"ChxBZXRoZXJEaXZpZGVTcGlyaXRJbmZvLnByb3RvGg9TcEJhckluZm8ucHJv",
|
|
"dG8aFlBhc3NpdmVTa2lsbEl0ZW0ucHJvdG8ipgEKFkFldGhlckRpdmlkZVNw",
|
|
"aXJpdEluZm8SEQoJYXZhdGFyX2lkGAcgASgNEhoKBnNwX2JhchgIIAEoCzIK",
|
|
"LlNwQmFySW5mbxILCgNleHAYCSABKA0SEwoLRUxCRk9EQU5NQ1AYAyABKA0S",
|
|
"KAoNcGFzc2l2ZV9za2lsbBgLIAMoCzIRLlBhc3NpdmVTa2lsbEl0ZW0SEQoJ",
|
|
"cHJvbW90aW9uGAEgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
|
|
"dG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.SpBarInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PassiveSkillItemReflection.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[]{ "AvatarId", "SpBar", "Exp", "ELBFODANMCP", "PassiveSkill", "Promotion" }, 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() {
|
|
avatarId_ = other.avatarId_;
|
|
spBar_ = other.spBar_ != null ? other.spBar_.Clone() : null;
|
|
exp_ = other.exp_;
|
|
eLBFODANMCP_ = other.eLBFODANMCP_;
|
|
passiveSkill_ = other.passiveSkill_.Clone();
|
|
promotion_ = other.promotion_;
|
|
_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 "avatar_id" field.</summary>
|
|
public const int AvatarIdFieldNumber = 7;
|
|
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 "sp_bar" field.</summary>
|
|
public const int SpBarFieldNumber = 8;
|
|
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 "exp" field.</summary>
|
|
public const int ExpFieldNumber = 9;
|
|
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 "ELBFODANMCP" field.</summary>
|
|
public const int ELBFODANMCPFieldNumber = 3;
|
|
private uint eLBFODANMCP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ELBFODANMCP {
|
|
get { return eLBFODANMCP_; }
|
|
set {
|
|
eLBFODANMCP_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "passive_skill" field.</summary>
|
|
public const int PassiveSkillFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PassiveSkillItem> _repeated_passiveSkill_codec
|
|
= pb::FieldCodec.ForMessage(90, 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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "promotion" field.</summary>
|
|
public const int PromotionFieldNumber = 1;
|
|
private uint promotion_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Promotion {
|
|
get { return promotion_; }
|
|
set {
|
|
promotion_ = value;
|
|
}
|
|
}
|
|
|
|
[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 (AvatarId != other.AvatarId) return false;
|
|
if (!object.Equals(SpBar, other.SpBar)) return false;
|
|
if (Exp != other.Exp) return false;
|
|
if (ELBFODANMCP != other.ELBFODANMCP) return false;
|
|
if(!passiveSkill_.Equals(other.passiveSkill_)) return false;
|
|
if (Promotion != other.Promotion) 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 (spBar_ != null) hash ^= SpBar.GetHashCode();
|
|
if (Exp != 0) hash ^= Exp.GetHashCode();
|
|
if (ELBFODANMCP != 0) hash ^= ELBFODANMCP.GetHashCode();
|
|
hash ^= passiveSkill_.GetHashCode();
|
|
if (Promotion != 0) hash ^= Promotion.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 (Promotion != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (ELBFODANMCP != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ELBFODANMCP);
|
|
}
|
|
if (AvatarId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AvatarId);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(SpBar);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
passiveSkill_.WriteTo(output, _repeated_passiveSkill_codec);
|
|
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 (Promotion != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (ELBFODANMCP != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ELBFODANMCP);
|
|
}
|
|
if (AvatarId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(AvatarId);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(SpBar);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
passiveSkill_.WriteTo(ref output, _repeated_passiveSkill_codec);
|
|
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 (spBar_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpBar);
|
|
}
|
|
if (Exp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
|
|
}
|
|
if (ELBFODANMCP != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ELBFODANMCP);
|
|
}
|
|
size += passiveSkill_.CalculateSize(_repeated_passiveSkill_codec);
|
|
if (Promotion != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
|
|
}
|
|
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.AvatarId != 0) {
|
|
AvatarId = other.AvatarId;
|
|
}
|
|
if (other.spBar_ != null) {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
SpBar.MergeFrom(other.SpBar);
|
|
}
|
|
if (other.Exp != 0) {
|
|
Exp = other.Exp;
|
|
}
|
|
if (other.ELBFODANMCP != 0) {
|
|
ELBFODANMCP = other.ELBFODANMCP;
|
|
}
|
|
passiveSkill_.Add(other.passiveSkill_);
|
|
if (other.Promotion != 0) {
|
|
Promotion = other.Promotion;
|
|
}
|
|
_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: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ELBFODANMCP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
input.ReadMessage(SpBar);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
passiveSkill_.AddEntriesFrom(input, _repeated_passiveSkill_codec);
|
|
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: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ELBFODANMCP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
AvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
input.ReadMessage(SpBar);
|
|
break;
|
|
}
|
|
case 72: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
passiveSkill_.AddEntriesFrom(ref input, _repeated_passiveSkill_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|