mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
488 lines
16 KiB
C#
488 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BuffInfo.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 BuffInfo.proto</summary>
|
|
public static partial class BuffInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for BuffInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static BuffInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg5CdWZmSW5mby5wcm90byKEAgoIQnVmZkluZm8SNAoOZHluYW1pY192YWx1",
|
|
"ZXMYAyADKAsyHC5CdWZmSW5mby5EeW5hbWljVmFsdWVzRW50cnkSDQoFY291",
|
|
"bnQYDSABKA0SDQoFbGV2ZWwYBSABKA0SDwoHYnVmZl9pZBgHIAEoDRIdChVi",
|
|
"dWZmX3N1bW1vbl9lbnRpdHlfaWQYBiABKA0SEwoLYWRkX3RpbWVfbXMYCSAB",
|
|
"KAQSEQoJbGlmZV90aW1lGAEgASgCEhYKDmJhc2VfYXZhdGFyX2lkGA4gASgN",
|
|
"GjQKEkR5bmFtaWNWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUY",
|
|
"AiABKAI6AjgBQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
|
|
"b3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.BuffInfo), global::EggLink.DanhengServer.Proto.BuffInfo.Parser, new[]{ "DynamicValues", "Count", "Level", "BuffId", "BuffSummonEntityId", "AddTimeMs", "LifeTime", "BaseAvatarId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class BuffInfo : pb::IMessage<BuffInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<BuffInfo> _parser = new pb::MessageParser<BuffInfo>(() => new BuffInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<BuffInfo> 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.BuffInfoReflection.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 BuffInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BuffInfo(BuffInfo other) : this() {
|
|
dynamicValues_ = other.dynamicValues_.Clone();
|
|
count_ = other.count_;
|
|
level_ = other.level_;
|
|
buffId_ = other.buffId_;
|
|
buffSummonEntityId_ = other.buffSummonEntityId_;
|
|
addTimeMs_ = other.addTimeMs_;
|
|
lifeTime_ = other.lifeTime_;
|
|
baseAvatarId_ = other.baseAvatarId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public BuffInfo Clone() {
|
|
return new BuffInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "dynamic_values" field.</summary>
|
|
public const int DynamicValuesFieldNumber = 3;
|
|
private static readonly pbc::MapField<string, float>.Codec _map_dynamicValues_codec
|
|
= new pbc::MapField<string, float>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForFloat(21, 0F), 26);
|
|
private readonly pbc::MapField<string, float> dynamicValues_ = new pbc::MapField<string, float>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::MapField<string, float> DynamicValues {
|
|
get { return dynamicValues_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "count" field.</summary>
|
|
public const int CountFieldNumber = 13;
|
|
private uint count_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Count {
|
|
get { return count_; }
|
|
set {
|
|
count_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "level" field.</summary>
|
|
public const int LevelFieldNumber = 5;
|
|
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 "buff_id" field.</summary>
|
|
public const int BuffIdFieldNumber = 7;
|
|
private uint buffId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BuffId {
|
|
get { return buffId_; }
|
|
set {
|
|
buffId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_summon_entity_id" field.</summary>
|
|
public const int BuffSummonEntityIdFieldNumber = 6;
|
|
private uint buffSummonEntityId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BuffSummonEntityId {
|
|
get { return buffSummonEntityId_; }
|
|
set {
|
|
buffSummonEntityId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "add_time_ms" field.</summary>
|
|
public const int AddTimeMsFieldNumber = 9;
|
|
private ulong addTimeMs_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ulong AddTimeMs {
|
|
get { return addTimeMs_; }
|
|
set {
|
|
addTimeMs_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "life_time" field.</summary>
|
|
public const int LifeTimeFieldNumber = 1;
|
|
private float lifeTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float LifeTime {
|
|
get { return lifeTime_; }
|
|
set {
|
|
lifeTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "base_avatar_id" field.</summary>
|
|
public const int BaseAvatarIdFieldNumber = 14;
|
|
private uint baseAvatarId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint BaseAvatarId {
|
|
get { return baseAvatarId_; }
|
|
set {
|
|
baseAvatarId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as BuffInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(BuffInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!DynamicValues.Equals(other.DynamicValues)) return false;
|
|
if (Count != other.Count) return false;
|
|
if (Level != other.Level) return false;
|
|
if (BuffId != other.BuffId) return false;
|
|
if (BuffSummonEntityId != other.BuffSummonEntityId) return false;
|
|
if (AddTimeMs != other.AddTimeMs) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LifeTime, other.LifeTime)) return false;
|
|
if (BaseAvatarId != other.BaseAvatarId) 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 ^= DynamicValues.GetHashCode();
|
|
if (Count != 0) hash ^= Count.GetHashCode();
|
|
if (Level != 0) hash ^= Level.GetHashCode();
|
|
if (BuffId != 0) hash ^= BuffId.GetHashCode();
|
|
if (BuffSummonEntityId != 0) hash ^= BuffSummonEntityId.GetHashCode();
|
|
if (AddTimeMs != 0UL) hash ^= AddTimeMs.GetHashCode();
|
|
if (LifeTime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LifeTime);
|
|
if (BaseAvatarId != 0) hash ^= BaseAvatarId.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 (LifeTime != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(LifeTime);
|
|
}
|
|
dynamicValues_.WriteTo(output, _map_dynamicValues_codec);
|
|
if (Level != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (BuffSummonEntityId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(BuffSummonEntityId);
|
|
}
|
|
if (BuffId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(BuffId);
|
|
}
|
|
if (AddTimeMs != 0UL) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt64(AddTimeMs);
|
|
}
|
|
if (Count != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Count);
|
|
}
|
|
if (BaseAvatarId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(BaseAvatarId);
|
|
}
|
|
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 (LifeTime != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(LifeTime);
|
|
}
|
|
dynamicValues_.WriteTo(ref output, _map_dynamicValues_codec);
|
|
if (Level != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteUInt32(Level);
|
|
}
|
|
if (BuffSummonEntityId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(BuffSummonEntityId);
|
|
}
|
|
if (BuffId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(BuffId);
|
|
}
|
|
if (AddTimeMs != 0UL) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt64(AddTimeMs);
|
|
}
|
|
if (Count != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Count);
|
|
}
|
|
if (BaseAvatarId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(BaseAvatarId);
|
|
}
|
|
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 += dynamicValues_.CalculateSize(_map_dynamicValues_codec);
|
|
if (Count != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count);
|
|
}
|
|
if (Level != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level);
|
|
}
|
|
if (BuffId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffId);
|
|
}
|
|
if (BuffSummonEntityId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffSummonEntityId);
|
|
}
|
|
if (AddTimeMs != 0UL) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AddTimeMs);
|
|
}
|
|
if (LifeTime != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (BaseAvatarId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseAvatarId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(BuffInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
dynamicValues_.MergeFrom(other.dynamicValues_);
|
|
if (other.Count != 0) {
|
|
Count = other.Count;
|
|
}
|
|
if (other.Level != 0) {
|
|
Level = other.Level;
|
|
}
|
|
if (other.BuffId != 0) {
|
|
BuffId = other.BuffId;
|
|
}
|
|
if (other.BuffSummonEntityId != 0) {
|
|
BuffSummonEntityId = other.BuffSummonEntityId;
|
|
}
|
|
if (other.AddTimeMs != 0UL) {
|
|
AddTimeMs = other.AddTimeMs;
|
|
}
|
|
if (other.LifeTime != 0F) {
|
|
LifeTime = other.LifeTime;
|
|
}
|
|
if (other.BaseAvatarId != 0) {
|
|
BaseAvatarId = other.BaseAvatarId;
|
|
}
|
|
_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 13: {
|
|
LifeTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 26: {
|
|
dynamicValues_.AddEntriesFrom(input, _map_dynamicValues_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
BuffSummonEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
BuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
AddTimeMs = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Count = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
BaseAvatarId = 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 13: {
|
|
LifeTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 26: {
|
|
dynamicValues_.AddEntriesFrom(ref input, _map_dynamicValues_codec);
|
|
break;
|
|
}
|
|
case 40: {
|
|
Level = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
BuffSummonEntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
BuffId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
AddTimeMs = input.ReadUInt64();
|
|
break;
|
|
}
|
|
case 104: {
|
|
Count = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
BaseAvatarId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|