// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: BuffInfo.proto // #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 { /// Holder for reflection information generated from BuffInfo.proto public static partial class BuffInfoReflection { #region Descriptor /// File descriptor for BuffInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static BuffInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg5CdWZmSW5mby5wcm90byKEAgoIQnVmZkluZm8SFgoOYmFzZV9hdmF0YXJf", "aWQYDiABKA0SDQoFbGV2ZWwYAyABKA0SHQoVYnVmZl9zdW1tb25fZW50aXR5", "X2lkGAcgASgNEg8KB2J1ZmZfaWQYDCABKA0SNAoOZHluYW1pY192YWx1ZXMY", "ASADKAsyHC5CdWZmSW5mby5EeW5hbWljVmFsdWVzRW50cnkSEQoJbGlmZV90", "aW1lGAggASgCEg0KBWNvdW50GAQgASgNEhMKC2FkZF90aW1lX21zGAogASgE", "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[]{ "BaseAvatarId", "Level", "BuffSummonEntityId", "BuffId", "DynamicValues", "LifeTime", "Count", "AddTimeMs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BuffInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuffInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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() { baseAvatarId_ = other.baseAvatarId_; level_ = other.level_; buffSummonEntityId_ = other.buffSummonEntityId_; buffId_ = other.buffId_; dynamicValues_ = other.dynamicValues_.Clone(); lifeTime_ = other.lifeTime_; count_ = other.count_; addTimeMs_ = other.addTimeMs_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BuffInfo Clone() { return new BuffInfo(this); } /// Field number for the "base_avatar_id" field. 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; } } /// Field number for the "level" field. public const int LevelFieldNumber = 3; private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Level { get { return level_; } set { level_ = value; } } /// Field number for the "buff_summon_entity_id" field. public const int BuffSummonEntityIdFieldNumber = 7; private uint buffSummonEntityId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuffSummonEntityId { get { return buffSummonEntityId_; } set { buffSummonEntityId_ = value; } } /// Field number for the "buff_id" field. public const int BuffIdFieldNumber = 12; private uint buffId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint BuffId { get { return buffId_; } set { buffId_ = value; } } /// Field number for the "dynamic_values" field. public const int DynamicValuesFieldNumber = 1; private static readonly pbc::MapField.Codec _map_dynamicValues_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForFloat(21, 0F), 10); private readonly pbc::MapField dynamicValues_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField DynamicValues { get { return dynamicValues_; } } /// Field number for the "life_time" field. public const int LifeTimeFieldNumber = 8; private float lifeTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float LifeTime { get { return lifeTime_; } set { lifeTime_ = value; } } /// Field number for the "count" field. public const int CountFieldNumber = 4; private uint count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Count { get { return count_; } set { count_ = value; } } /// Field number for the "add_time_ms" field. public const int AddTimeMsFieldNumber = 10; private ulong addTimeMs_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ulong AddTimeMs { get { return addTimeMs_; } set { addTimeMs_ = 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 (BaseAvatarId != other.BaseAvatarId) return false; if (Level != other.Level) return false; if (BuffSummonEntityId != other.BuffSummonEntityId) return false; if (BuffId != other.BuffId) return false; if (!DynamicValues.Equals(other.DynamicValues)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LifeTime, other.LifeTime)) return false; if (Count != other.Count) return false; if (AddTimeMs != other.AddTimeMs) 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 (BaseAvatarId != 0) hash ^= BaseAvatarId.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (BuffSummonEntityId != 0) hash ^= BuffSummonEntityId.GetHashCode(); if (BuffId != 0) hash ^= BuffId.GetHashCode(); hash ^= DynamicValues.GetHashCode(); if (LifeTime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LifeTime); if (Count != 0) hash ^= Count.GetHashCode(); if (AddTimeMs != 0UL) hash ^= AddTimeMs.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 dynamicValues_.WriteTo(output, _map_dynamicValues_codec); if (Level != 0) { output.WriteRawTag(24); output.WriteUInt32(Level); } if (Count != 0) { output.WriteRawTag(32); output.WriteUInt32(Count); } if (BuffSummonEntityId != 0) { output.WriteRawTag(56); output.WriteUInt32(BuffSummonEntityId); } if (LifeTime != 0F) { output.WriteRawTag(69); output.WriteFloat(LifeTime); } if (AddTimeMs != 0UL) { output.WriteRawTag(80); output.WriteUInt64(AddTimeMs); } if (BuffId != 0) { output.WriteRawTag(96); output.WriteUInt32(BuffId); } 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) { dynamicValues_.WriteTo(ref output, _map_dynamicValues_codec); if (Level != 0) { output.WriteRawTag(24); output.WriteUInt32(Level); } if (Count != 0) { output.WriteRawTag(32); output.WriteUInt32(Count); } if (BuffSummonEntityId != 0) { output.WriteRawTag(56); output.WriteUInt32(BuffSummonEntityId); } if (LifeTime != 0F) { output.WriteRawTag(69); output.WriteFloat(LifeTime); } if (AddTimeMs != 0UL) { output.WriteRawTag(80); output.WriteUInt64(AddTimeMs); } if (BuffId != 0) { output.WriteRawTag(96); output.WriteUInt32(BuffId); } 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; if (BaseAvatarId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseAvatarId); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (BuffSummonEntityId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffSummonEntityId); } if (BuffId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuffId); } size += dynamicValues_.CalculateSize(_map_dynamicValues_codec); if (LifeTime != 0F) { size += 1 + 4; } if (Count != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); } if (AddTimeMs != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AddTimeMs); } 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; } if (other.BaseAvatarId != 0) { BaseAvatarId = other.BaseAvatarId; } if (other.Level != 0) { Level = other.Level; } if (other.BuffSummonEntityId != 0) { BuffSummonEntityId = other.BuffSummonEntityId; } if (other.BuffId != 0) { BuffId = other.BuffId; } dynamicValues_.MergeFrom(other.dynamicValues_); if (other.LifeTime != 0F) { LifeTime = other.LifeTime; } if (other.Count != 0) { Count = other.Count; } if (other.AddTimeMs != 0UL) { AddTimeMs = other.AddTimeMs; } _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: { dynamicValues_.AddEntriesFrom(input, _map_dynamicValues_codec); break; } case 24: { Level = input.ReadUInt32(); break; } case 32: { Count = input.ReadUInt32(); break; } case 56: { BuffSummonEntityId = input.ReadUInt32(); break; } case 69: { LifeTime = input.ReadFloat(); break; } case 80: { AddTimeMs = input.ReadUInt64(); break; } case 96: { BuffId = 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 10: { dynamicValues_.AddEntriesFrom(ref input, _map_dynamicValues_codec); break; } case 24: { Level = input.ReadUInt32(); break; } case 32: { Count = input.ReadUInt32(); break; } case 56: { BuffSummonEntityId = input.ReadUInt32(); break; } case 69: { LifeTime = input.ReadFloat(); break; } case 80: { AddTimeMs = input.ReadUInt64(); break; } case 96: { BuffId = input.ReadUInt32(); break; } case 112: { BaseAvatarId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code