Files
DanhengServer-OpenSource/Proto/DGFFNOPFLNE.cs
2025-09-27 13:58:04 +08:00

338 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DGFFNOPFLNE.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 DGFFNOPFLNE.proto</summary>
public static partial class DGFFNOPFLNEReflection {
#region Descriptor
/// <summary>File descriptor for DGFFNOPFLNE.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static DGFFNOPFLNEReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFER0ZGTk9QRkxORS5wcm90byJzCgtER0ZGTk9QRkxORRIVCg1wZWFrX2xl",
"dmVsX2lkGAEgASgNEhgKEHBlYWtfdGFyZ2V0X2xpc3QYDyADKA0SGQoRcGVh",
"a19yb3VuZHNfY291bnQYAyABKA0SGAoQaXNfc2NvcmVfY2hhbmdlZBgNIAEo",
"CEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DGFFNOPFLNE), global::EggLink.DanhengServer.Proto.DGFFNOPFLNE.Parser, new[]{ "PeakLevelId", "PeakTargetList", "PeakRoundsCount", "IsScoreChanged" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DGFFNOPFLNE : pb::IMessage<DGFFNOPFLNE>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<DGFFNOPFLNE> _parser = new pb::MessageParser<DGFFNOPFLNE>(() => new DGFFNOPFLNE());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<DGFFNOPFLNE> 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.DGFFNOPFLNEReflection.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 DGFFNOPFLNE() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DGFFNOPFLNE(DGFFNOPFLNE other) : this() {
peakLevelId_ = other.peakLevelId_;
peakTargetList_ = other.peakTargetList_.Clone();
peakRoundsCount_ = other.peakRoundsCount_;
isScoreChanged_ = other.isScoreChanged_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DGFFNOPFLNE Clone() {
return new DGFFNOPFLNE(this);
}
/// <summary>Field number for the "peak_level_id" field.</summary>
public const int PeakLevelIdFieldNumber = 1;
private uint peakLevelId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PeakLevelId {
get { return peakLevelId_; }
set {
peakLevelId_ = value;
}
}
/// <summary>Field number for the "peak_target_list" field.</summary>
public const int PeakTargetListFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_peakTargetList_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> peakTargetList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> PeakTargetList {
get { return peakTargetList_; }
}
/// <summary>Field number for the "peak_rounds_count" field.</summary>
public const int PeakRoundsCountFieldNumber = 3;
private uint peakRoundsCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PeakRoundsCount {
get { return peakRoundsCount_; }
set {
peakRoundsCount_ = value;
}
}
/// <summary>Field number for the "is_score_changed" field.</summary>
public const int IsScoreChangedFieldNumber = 13;
private bool isScoreChanged_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsScoreChanged {
get { return isScoreChanged_; }
set {
isScoreChanged_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DGFFNOPFLNE);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DGFFNOPFLNE other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (PeakLevelId != other.PeakLevelId) return false;
if(!peakTargetList_.Equals(other.peakTargetList_)) return false;
if (PeakRoundsCount != other.PeakRoundsCount) return false;
if (IsScoreChanged != other.IsScoreChanged) 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 (PeakLevelId != 0) hash ^= PeakLevelId.GetHashCode();
hash ^= peakTargetList_.GetHashCode();
if (PeakRoundsCount != 0) hash ^= PeakRoundsCount.GetHashCode();
if (IsScoreChanged != false) hash ^= IsScoreChanged.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 (PeakLevelId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PeakLevelId);
}
if (PeakRoundsCount != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PeakRoundsCount);
}
if (IsScoreChanged != false) {
output.WriteRawTag(104);
output.WriteBool(IsScoreChanged);
}
peakTargetList_.WriteTo(output, _repeated_peakTargetList_codec);
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 (PeakLevelId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PeakLevelId);
}
if (PeakRoundsCount != 0) {
output.WriteRawTag(24);
output.WriteUInt32(PeakRoundsCount);
}
if (IsScoreChanged != false) {
output.WriteRawTag(104);
output.WriteBool(IsScoreChanged);
}
peakTargetList_.WriteTo(ref output, _repeated_peakTargetList_codec);
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 (PeakLevelId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakLevelId);
}
size += peakTargetList_.CalculateSize(_repeated_peakTargetList_codec);
if (PeakRoundsCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PeakRoundsCount);
}
if (IsScoreChanged != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DGFFNOPFLNE other) {
if (other == null) {
return;
}
if (other.PeakLevelId != 0) {
PeakLevelId = other.PeakLevelId;
}
peakTargetList_.Add(other.peakTargetList_);
if (other.PeakRoundsCount != 0) {
PeakRoundsCount = other.PeakRoundsCount;
}
if (other.IsScoreChanged != false) {
IsScoreChanged = other.IsScoreChanged;
}
_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: {
PeakLevelId = input.ReadUInt32();
break;
}
case 24: {
PeakRoundsCount = input.ReadUInt32();
break;
}
case 104: {
IsScoreChanged = input.ReadBool();
break;
}
case 122:
case 120: {
peakTargetList_.AddEntriesFrom(input, _repeated_peakTargetList_codec);
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: {
PeakLevelId = input.ReadUInt32();
break;
}
case 24: {
PeakRoundsCount = input.ReadUInt32();
break;
}
case 104: {
IsScoreChanged = input.ReadBool();
break;
}
case 122:
case 120: {
peakTargetList_.AddEntriesFrom(ref input, _repeated_peakTargetList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code