mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
358 lines
13 KiB
C#
358 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: EntityBuffChange.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 EntityBuffChange.proto</summary>
|
|
public static partial class EntityBuffChangeReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for EntityBuffChange.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static EntityBuffChangeReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChZFbnRpdHlCdWZmQ2hhbmdlLnByb3RvGhFBRUNITU1IT0lOTS5wcm90bxoO",
|
|
"QnVmZkluZm8ucHJvdG8ifQoQRW50aXR5QnVmZkNoYW5nZRIcCgZyZWFzb24Y",
|
|
"ASABKA4yDC5BRUNITU1IT0lOTRIjChBidWZmX2NoYW5nZV9pbmZvGA0gASgL",
|
|
"MgkuQnVmZkluZm8SEwoLSE9KS0NLTkRPQkYYDyABKA0SEQoJZW50aXR5X2lk",
|
|
"GAwgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AECHMMHOINMReflection.Descriptor, global::EggLink.DanhengServer.Proto.BuffInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EntityBuffChange), global::EggLink.DanhengServer.Proto.EntityBuffChange.Parser, new[]{ "Reason", "BuffChangeInfo", "HOJKCKNDOBF", "EntityId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class EntityBuffChange : pb::IMessage<EntityBuffChange>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<EntityBuffChange> _parser = new pb::MessageParser<EntityBuffChange>(() => new EntityBuffChange());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<EntityBuffChange> 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.EntityBuffChangeReflection.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 EntityBuffChange() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EntityBuffChange(EntityBuffChange other) : this() {
|
|
reason_ = other.reason_;
|
|
buffChangeInfo_ = other.buffChangeInfo_ != null ? other.buffChangeInfo_.Clone() : null;
|
|
hOJKCKNDOBF_ = other.hOJKCKNDOBF_;
|
|
entityId_ = other.entityId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EntityBuffChange Clone() {
|
|
return new EntityBuffChange(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "reason" field.</summary>
|
|
public const int ReasonFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.AECHMMHOINM reason_ = global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.AECHMMHOINM Reason {
|
|
get { return reason_; }
|
|
set {
|
|
reason_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "buff_change_info" field.</summary>
|
|
public const int BuffChangeInfoFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.BuffInfo buffChangeInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.BuffInfo BuffChangeInfo {
|
|
get { return buffChangeInfo_; }
|
|
set {
|
|
buffChangeInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HOJKCKNDOBF" field.</summary>
|
|
public const int HOJKCKNDOBFFieldNumber = 15;
|
|
private uint hOJKCKNDOBF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint HOJKCKNDOBF {
|
|
get { return hOJKCKNDOBF_; }
|
|
set {
|
|
hOJKCKNDOBF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "entity_id" field.</summary>
|
|
public const int EntityIdFieldNumber = 12;
|
|
private uint entityId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EntityId {
|
|
get { return entityId_; }
|
|
set {
|
|
entityId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as EntityBuffChange);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(EntityBuffChange other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Reason != other.Reason) return false;
|
|
if (!object.Equals(BuffChangeInfo, other.BuffChangeInfo)) return false;
|
|
if (HOJKCKNDOBF != other.HOJKCKNDOBF) return false;
|
|
if (EntityId != other.EntityId) 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 (Reason != global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault) hash ^= Reason.GetHashCode();
|
|
if (buffChangeInfo_ != null) hash ^= BuffChangeInfo.GetHashCode();
|
|
if (HOJKCKNDOBF != 0) hash ^= HOJKCKNDOBF.GetHashCode();
|
|
if (EntityId != 0) hash ^= EntityId.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 (Reason != global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (EntityId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(EntityId);
|
|
}
|
|
if (buffChangeInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(BuffChangeInfo);
|
|
}
|
|
if (HOJKCKNDOBF != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(HOJKCKNDOBF);
|
|
}
|
|
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 (Reason != global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (EntityId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(EntityId);
|
|
}
|
|
if (buffChangeInfo_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(BuffChangeInfo);
|
|
}
|
|
if (HOJKCKNDOBF != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(HOJKCKNDOBF);
|
|
}
|
|
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 (Reason != global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
|
|
}
|
|
if (buffChangeInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BuffChangeInfo);
|
|
}
|
|
if (HOJKCKNDOBF != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HOJKCKNDOBF);
|
|
}
|
|
if (EntityId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntityId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(EntityBuffChange other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Reason != global::EggLink.DanhengServer.Proto.AECHMMHOINM.SceneEntityBuffChangeTypeDefault) {
|
|
Reason = other.Reason;
|
|
}
|
|
if (other.buffChangeInfo_ != null) {
|
|
if (buffChangeInfo_ == null) {
|
|
BuffChangeInfo = new global::EggLink.DanhengServer.Proto.BuffInfo();
|
|
}
|
|
BuffChangeInfo.MergeFrom(other.BuffChangeInfo);
|
|
}
|
|
if (other.HOJKCKNDOBF != 0) {
|
|
HOJKCKNDOBF = other.HOJKCKNDOBF;
|
|
}
|
|
if (other.EntityId != 0) {
|
|
EntityId = other.EntityId;
|
|
}
|
|
_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: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.AECHMMHOINM) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 96: {
|
|
EntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (buffChangeInfo_ == null) {
|
|
BuffChangeInfo = new global::EggLink.DanhengServer.Proto.BuffInfo();
|
|
}
|
|
input.ReadMessage(BuffChangeInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
HOJKCKNDOBF = 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 8: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.AECHMMHOINM) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 96: {
|
|
EntityId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (buffChangeInfo_ == null) {
|
|
BuffChangeInfo = new global::EggLink.DanhengServer.Proto.BuffInfo();
|
|
}
|
|
input.ReadMessage(BuffChangeInfo);
|
|
break;
|
|
}
|
|
case 120: {
|
|
HOJKCKNDOBF = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|