mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
312 lines
12 KiB
C#
312 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: FFIMGFMPCDG.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 FFIMGFMPCDG.proto</summary>
|
|
public static partial class FFIMGFMPCDGReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for FFIMGFMPCDG.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static FFIMGFMPCDGReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFGRklNR0ZNUENERy5wcm90bxoRUENIRE1OTEVOSk8ucHJvdG8aHkRpZmZp",
|
|
"Y3VsdHlBZGp1c3RtZW50VHlwZS5wcm90byJ1CgtGRklNR0ZNUENERxIuCgtD",
|
|
"TkJQSElOS05OSRgLIAEoDjIZLkRpZmZpY3VsdHlBZGp1c3RtZW50VHlwZRIK",
|
|
"CgJpZBgKIAEoDRIqChRtb2RpZmllcl9zb3VyY2VfdHlwZRgBIAEoDjIMLlBD",
|
|
"SERNTkxFTkpPQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnBy",
|
|
"b3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PCHDMNLENJOReflection.Descriptor, global::EggLink.DanhengServer.Proto.DifficultyAdjustmentTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FFIMGFMPCDG), global::EggLink.DanhengServer.Proto.FFIMGFMPCDG.Parser, new[]{ "CNBPHINKNNI", "Id", "ModifierSourceType" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class FFIMGFMPCDG : pb::IMessage<FFIMGFMPCDG>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<FFIMGFMPCDG> _parser = new pb::MessageParser<FFIMGFMPCDG>(() => new FFIMGFMPCDG());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<FFIMGFMPCDG> 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.FFIMGFMPCDGReflection.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 FFIMGFMPCDG() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FFIMGFMPCDG(FFIMGFMPCDG other) : this() {
|
|
cNBPHINKNNI_ = other.cNBPHINKNNI_;
|
|
id_ = other.id_;
|
|
modifierSourceType_ = other.modifierSourceType_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FFIMGFMPCDG Clone() {
|
|
return new FFIMGFMPCDG(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "CNBPHINKNNI" field.</summary>
|
|
public const int CNBPHINKNNIFieldNumber = 11;
|
|
private global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType cNBPHINKNNI_ = global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType CNBPHINKNNI {
|
|
get { return cNBPHINKNNI_; }
|
|
set {
|
|
cNBPHINKNNI_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 10;
|
|
private uint id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "modifier_source_type" field.</summary>
|
|
public const int ModifierSourceTypeFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.PCHDMNLENJO modifierSourceType_ = global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PCHDMNLENJO ModifierSourceType {
|
|
get { return modifierSourceType_; }
|
|
set {
|
|
modifierSourceType_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as FFIMGFMPCDG);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(FFIMGFMPCDG other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (CNBPHINKNNI != other.CNBPHINKNNI) return false;
|
|
if (Id != other.Id) return false;
|
|
if (ModifierSourceType != other.ModifierSourceType) 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 (CNBPHINKNNI != global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault) hash ^= CNBPHINKNNI.GetHashCode();
|
|
if (Id != 0) hash ^= Id.GetHashCode();
|
|
if (ModifierSourceType != global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone) hash ^= ModifierSourceType.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 (ModifierSourceType != global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) ModifierSourceType);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (CNBPHINKNNI != global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault) {
|
|
output.WriteRawTag(88);
|
|
output.WriteEnum((int) CNBPHINKNNI);
|
|
}
|
|
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 (ModifierSourceType != global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) ModifierSourceType);
|
|
}
|
|
if (Id != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Id);
|
|
}
|
|
if (CNBPHINKNNI != global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault) {
|
|
output.WriteRawTag(88);
|
|
output.WriteEnum((int) CNBPHINKNNI);
|
|
}
|
|
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 (CNBPHINKNNI != global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CNBPHINKNNI);
|
|
}
|
|
if (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
|
}
|
|
if (ModifierSourceType != global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ModifierSourceType);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(FFIMGFMPCDG other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.CNBPHINKNNI != global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType.DifficultyAjustmentTypeDefault) {
|
|
CNBPHINKNNI = other.CNBPHINKNNI;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.ModifierSourceType != global::EggLink.DanhengServer.Proto.PCHDMNLENJO.DifficultyAjustmentSourceNone) {
|
|
ModifierSourceType = other.ModifierSourceType;
|
|
}
|
|
_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: {
|
|
ModifierSourceType = (global::EggLink.DanhengServer.Proto.PCHDMNLENJO) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CNBPHINKNNI = (global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType) 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 8: {
|
|
ModifierSourceType = (global::EggLink.DanhengServer.Proto.PCHDMNLENJO) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Id = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
CNBPHINKNNI = (global::EggLink.DanhengServer.Proto.DifficultyAdjustmentType) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|