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",
|
|
"aXJpdEluZm8SKAoNcGFzc2l2ZV9za2lsbBgBIAMoCzIRLlBhc3NpdmVTa2ls",
|
|
"bEl0ZW0SCwoDZXhwGAsgASgNEhgKEGFldGhlcl9hdmF0YXJfaWQYAiABKA0S",
|
|
"EQoJcHJvbW90aW9uGAYgASgNEhMKC0JCRUpCT0pGTExQGAQgASgNEhoKBnNw",
|
|
"X2JhchgNIAEoCzIKLlNwQmFySW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2Vy",
|
|
"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[]{ "PassiveSkill", "Exp", "AetherAvatarId", "Promotion", "BBEJBOJFLLP", "SpBar" }, 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() {
|
|
passiveSkill_ = other.passiveSkill_.Clone();
|
|
exp_ = other.exp_;
|
|
aetherAvatarId_ = other.aetherAvatarId_;
|
|
promotion_ = other.promotion_;
|
|
bBEJBOJFLLP_ = other.bBEJBOJFLLP_;
|
|
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 AetherDivideSpiritInfo Clone() {
|
|
return new AetherDivideSpiritInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "passive_skill" field.</summary>
|
|
public const int PassiveSkillFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PassiveSkillItem> _repeated_passiveSkill_codec
|
|
= pb::FieldCodec.ForMessage(10, 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 "exp" field.</summary>
|
|
public const int ExpFieldNumber = 11;
|
|
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 = 2;
|
|
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 "promotion" field.</summary>
|
|
public const int PromotionFieldNumber = 6;
|
|
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 "BBEJBOJFLLP" field.</summary>
|
|
public const int BBEJBOJFLLPFieldNumber = 4;
|
|
private uint bBEJBOJFLLP_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BBEJBOJFLLP {
|
|
get { return bBEJBOJFLLP_; }
|
|
set {
|
|
bBEJBOJFLLP_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sp_bar" field.</summary>
|
|
public const int SpBarFieldNumber = 13;
|
|
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 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(!passiveSkill_.Equals(other.passiveSkill_)) return false;
|
|
if (Exp != other.Exp) return false;
|
|
if (AetherAvatarId != other.AetherAvatarId) return false;
|
|
if (Promotion != other.Promotion) return false;
|
|
if (BBEJBOJFLLP != other.BBEJBOJFLLP) 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;
|
|
hash ^= passiveSkill_.GetHashCode();
|
|
if (Exp != 0) hash ^= Exp.GetHashCode();
|
|
if (AetherAvatarId != 0) hash ^= AetherAvatarId.GetHashCode();
|
|
if (Promotion != 0) hash ^= Promotion.GetHashCode();
|
|
if (BBEJBOJFLLP != 0) hash ^= BBEJBOJFLLP.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
|
|
passiveSkill_.WriteTo(output, _repeated_passiveSkill_codec);
|
|
if (AetherAvatarId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(AetherAvatarId);
|
|
}
|
|
if (BBEJBOJFLLP != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(BBEJBOJFLLP);
|
|
}
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(106);
|
|
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) {
|
|
passiveSkill_.WriteTo(ref output, _repeated_passiveSkill_codec);
|
|
if (AetherAvatarId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(AetherAvatarId);
|
|
}
|
|
if (BBEJBOJFLLP != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(BBEJBOJFLLP);
|
|
}
|
|
if (Promotion != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(Promotion);
|
|
}
|
|
if (Exp != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(Exp);
|
|
}
|
|
if (spBar_ != null) {
|
|
output.WriteRawTag(106);
|
|
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;
|
|
size += passiveSkill_.CalculateSize(_repeated_passiveSkill_codec);
|
|
if (Exp != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp);
|
|
}
|
|
if (AetherAvatarId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AetherAvatarId);
|
|
}
|
|
if (Promotion != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Promotion);
|
|
}
|
|
if (BBEJBOJFLLP != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BBEJBOJFLLP);
|
|
}
|
|
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(AetherDivideSpiritInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
passiveSkill_.Add(other.passiveSkill_);
|
|
if (other.Exp != 0) {
|
|
Exp = other.Exp;
|
|
}
|
|
if (other.AetherAvatarId != 0) {
|
|
AetherAvatarId = other.AetherAvatarId;
|
|
}
|
|
if (other.Promotion != 0) {
|
|
Promotion = other.Promotion;
|
|
}
|
|
if (other.BBEJBOJFLLP != 0) {
|
|
BBEJBOJFLLP = other.BBEJBOJFLLP;
|
|
}
|
|
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 10: {
|
|
passiveSkill_.AddEntriesFrom(input, _repeated_passiveSkill_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
AetherAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BBEJBOJFLLP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
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 10: {
|
|
passiveSkill_.AddEntriesFrom(ref input, _repeated_passiveSkill_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
AetherAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
BBEJBOJFLLP = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Promotion = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
Exp = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (spBar_ == null) {
|
|
SpBar = new global::EggLink.DanhengServer.Proto.SpBarInfo();
|
|
}
|
|
input.ReadMessage(SpBar);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|