Files
DanhengServer-OpenSource/Proto/EOFJGFCLIEF.cs
2025-11-16 12:35:40 +08:00

311 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EOFJGFCLIEF.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 EOFJGFCLIEF.proto</summary>
public static partial class EOFJGFCLIEFReflection {
#region Descriptor
/// <summary>File descriptor for EOFJGFCLIEF.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EOFJGFCLIEFReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFFT0ZKR0ZDTElFRi5wcm90bxojR3JpZEZpZ2h0R2xvYmFsSHBDaGFuZ2VS",
"ZWFzb24ucHJvdG8iXwoLRU9GSkdGQ0xJRUYSDwoHcHJldl9ocBgJIAEoDRIP",
"CgduZXh0X2hwGAcgASgNEi4KBnJlYXNvbhgNIAEoDjIeLkdyaWRGaWdodEds",
"b2JhbEhwQ2hhbmdlUmVhc29uQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReasonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.EOFJGFCLIEF), global::EggLink.DanhengServer.Proto.EOFJGFCLIEF.Parser, new[]{ "PrevHp", "NextHp", "Reason" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EOFJGFCLIEF : pb::IMessage<EOFJGFCLIEF>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EOFJGFCLIEF> _parser = new pb::MessageParser<EOFJGFCLIEF>(() => new EOFJGFCLIEF());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EOFJGFCLIEF> 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.EOFJGFCLIEFReflection.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 EOFJGFCLIEF() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EOFJGFCLIEF(EOFJGFCLIEF other) : this() {
prevHp_ = other.prevHp_;
nextHp_ = other.nextHp_;
reason_ = other.reason_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public EOFJGFCLIEF Clone() {
return new EOFJGFCLIEF(this);
}
/// <summary>Field number for the "prev_hp" field.</summary>
public const int PrevHpFieldNumber = 9;
private uint prevHp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PrevHp {
get { return prevHp_; }
set {
prevHp_ = value;
}
}
/// <summary>Field number for the "next_hp" field.</summary>
public const int NextHpFieldNumber = 7;
private uint nextHp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NextHp {
get { return nextHp_; }
set {
nextHp_ = value;
}
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 13;
private global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason reason_ = global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason Reason {
get { return reason_; }
set {
reason_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as EOFJGFCLIEF);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(EOFJGFCLIEF other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PrevHp != other.PrevHp) return false;
if (NextHp != other.NextHp) return false;
if (Reason != other.Reason) 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 (PrevHp != 0) hash ^= PrevHp.GetHashCode();
if (NextHp != 0) hash ^= NextHp.GetHashCode();
if (Reason != global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone) hash ^= Reason.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 (NextHp != 0) {
output.WriteRawTag(56);
output.WriteUInt32(NextHp);
}
if (PrevHp != 0) {
output.WriteRawTag(72);
output.WriteUInt32(PrevHp);
}
if (Reason != global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone) {
output.WriteRawTag(104);
output.WriteEnum((int) Reason);
}
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 (NextHp != 0) {
output.WriteRawTag(56);
output.WriteUInt32(NextHp);
}
if (PrevHp != 0) {
output.WriteRawTag(72);
output.WriteUInt32(PrevHp);
}
if (Reason != global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone) {
output.WriteRawTag(104);
output.WriteEnum((int) Reason);
}
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 (PrevHp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PrevHp);
}
if (NextHp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NextHp);
}
if (Reason != global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(EOFJGFCLIEF other) {
if (other == null) {
return;
}
if (other.PrevHp != 0) {
PrevHp = other.PrevHp;
}
if (other.NextHp != 0) {
NextHp = other.NextHp;
}
if (other.Reason != global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason.KGridFightGlobalHpChangeReasonNone) {
Reason = other.Reason;
}
_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 56: {
NextHp = input.ReadUInt32();
break;
}
case 72: {
PrevHp = input.ReadUInt32();
break;
}
case 104: {
Reason = (global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason) input.ReadEnum();
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 56: {
NextHp = input.ReadUInt32();
break;
}
case 72: {
PrevHp = input.ReadUInt32();
break;
}
case 104: {
Reason = (global::EggLink.DanhengServer.Proto.GridFightGlobalHpChangeReason) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code