Files
DanhengServer-OpenSource/Common/Proto/ChessRogueCellUpdateNotify.cs
2024-04-14 17:41:19 +08:00

339 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChessRogueCellUpdateNotify.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 ChessRogueCellUpdateNotify.proto</summary>
public static partial class ChessRogueCellUpdateNotifyReflection {
#region Descriptor
/// <summary>File descriptor for ChessRogueCellUpdateNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChessRogueCellUpdateNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBDaGVzc1JvZ3VlQ2VsbFVwZGF0ZU5vdGlmeS5wcm90bxoRS0dPQ0tIUEdF",
"R0kucHJvdG8aHVJvZ3VlTW9kaWZpZXJTb3VyY2VUeXBlLnByb3RvGhFETEJG",
"TEZPSklNRS5wcm90byKhAQoaQ2hlc3NSb2d1ZUNlbGxVcGRhdGVOb3RpZnkS",
"EwoLTkNOR09HSEFQUE4YAyABKA0SIQoLSkhPQ01DUE9FTkIYASADKAsyDC5E",
"TEJGTEZPSklNRRItCgtPRkVBUEJNUEJLQxgJIAEoDjIYLlJvZ3VlTW9kaWZp",
"ZXJTb3VyY2VUeXBlEhwKBnJlYXNvbhgKIAEoDjIMLktHT0NLSFBHRUdJQh6q",
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.KGOCKHPGEGIReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueModifierSourceTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.DLBFLFOJIMEReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueCellUpdateNotify), global::EggLink.DanhengServer.Proto.ChessRogueCellUpdateNotify.Parser, new[]{ "NCNGOGHAPPN", "JHOCMCPOENB", "OFEAPBMPBKC", "Reason" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ChessRogueCellUpdateNotify : pb::IMessage<ChessRogueCellUpdateNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ChessRogueCellUpdateNotify> _parser = new pb::MessageParser<ChessRogueCellUpdateNotify>(() => new ChessRogueCellUpdateNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ChessRogueCellUpdateNotify> 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.ChessRogueCellUpdateNotifyReflection.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 ChessRogueCellUpdateNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueCellUpdateNotify(ChessRogueCellUpdateNotify other) : this() {
nCNGOGHAPPN_ = other.nCNGOGHAPPN_;
jHOCMCPOENB_ = other.jHOCMCPOENB_.Clone();
oFEAPBMPBKC_ = other.oFEAPBMPBKC_;
reason_ = other.reason_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ChessRogueCellUpdateNotify Clone() {
return new ChessRogueCellUpdateNotify(this);
}
/// <summary>Field number for the "NCNGOGHAPPN" field.</summary>
public const int NCNGOGHAPPNFieldNumber = 3;
private uint nCNGOGHAPPN_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NCNGOGHAPPN {
get { return nCNGOGHAPPN_; }
set {
nCNGOGHAPPN_ = value;
}
}
/// <summary>Field number for the "JHOCMCPOENB" field.</summary>
public const int JHOCMCPOENBFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.DLBFLFOJIME> _repeated_jHOCMCPOENB_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.DLBFLFOJIME.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DLBFLFOJIME> jHOCMCPOENB_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DLBFLFOJIME>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DLBFLFOJIME> JHOCMCPOENB {
get { return jHOCMCPOENB_; }
}
/// <summary>Field number for the "OFEAPBMPBKC" field.</summary>
public const int OFEAPBMPBKCFieldNumber = 9;
private global::EggLink.DanhengServer.Proto.RogueModifierSourceType oFEAPBMPBKC_ = global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueModifierSourceType OFEAPBMPBKC {
get { return oFEAPBMPBKC_; }
set {
oFEAPBMPBKC_ = value;
}
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 10;
private global::EggLink.DanhengServer.Proto.KGOCKHPGEGI reason_ = global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.KGOCKHPGEGI 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 ChessRogueCellUpdateNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ChessRogueCellUpdateNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NCNGOGHAPPN != other.NCNGOGHAPPN) return false;
if(!jHOCMCPOENB_.Equals(other.jHOCMCPOENB_)) return false;
if (OFEAPBMPBKC != other.OFEAPBMPBKC) 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 (NCNGOGHAPPN != 0) hash ^= NCNGOGHAPPN.GetHashCode();
hash ^= jHOCMCPOENB_.GetHashCode();
if (OFEAPBMPBKC != global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone) hash ^= OFEAPBMPBKC.GetHashCode();
if (Reason != global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone) 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
jHOCMCPOENB_.WriteTo(output, _repeated_jHOCMCPOENB_codec);
if (NCNGOGHAPPN != 0) {
output.WriteRawTag(24);
output.WriteUInt32(NCNGOGHAPPN);
}
if (OFEAPBMPBKC != global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone) {
output.WriteRawTag(72);
output.WriteEnum((int) OFEAPBMPBKC);
}
if (Reason != global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone) {
output.WriteRawTag(80);
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) {
jHOCMCPOENB_.WriteTo(ref output, _repeated_jHOCMCPOENB_codec);
if (NCNGOGHAPPN != 0) {
output.WriteRawTag(24);
output.WriteUInt32(NCNGOGHAPPN);
}
if (OFEAPBMPBKC != global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone) {
output.WriteRawTag(72);
output.WriteEnum((int) OFEAPBMPBKC);
}
if (Reason != global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone) {
output.WriteRawTag(80);
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 (NCNGOGHAPPN != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NCNGOGHAPPN);
}
size += jHOCMCPOENB_.CalculateSize(_repeated_jHOCMCPOENB_codec);
if (OFEAPBMPBKC != global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OFEAPBMPBKC);
}
if (Reason != global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone) {
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(ChessRogueCellUpdateNotify other) {
if (other == null) {
return;
}
if (other.NCNGOGHAPPN != 0) {
NCNGOGHAPPN = other.NCNGOGHAPPN;
}
jHOCMCPOENB_.Add(other.jHOCMCPOENB_);
if (other.OFEAPBMPBKC != global::EggLink.DanhengServer.Proto.RogueModifierSourceType.RogueModifierSourceNone) {
OFEAPBMPBKC = other.OFEAPBMPBKC;
}
if (other.Reason != global::EggLink.DanhengServer.Proto.KGOCKHPGEGI.ChessRogueCellUpdateReasonNone) {
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 10: {
jHOCMCPOENB_.AddEntriesFrom(input, _repeated_jHOCMCPOENB_codec);
break;
}
case 24: {
NCNGOGHAPPN = input.ReadUInt32();
break;
}
case 72: {
OFEAPBMPBKC = (global::EggLink.DanhengServer.Proto.RogueModifierSourceType) input.ReadEnum();
break;
}
case 80: {
Reason = (global::EggLink.DanhengServer.Proto.KGOCKHPGEGI) 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 10: {
jHOCMCPOENB_.AddEntriesFrom(ref input, _repeated_jHOCMCPOENB_codec);
break;
}
case 24: {
NCNGOGHAPPN = input.ReadUInt32();
break;
}
case 72: {
OFEAPBMPBKC = (global::EggLink.DanhengServer.Proto.RogueModifierSourceType) input.ReadEnum();
break;
}
case 80: {
Reason = (global::EggLink.DanhengServer.Proto.KGOCKHPGEGI) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code