Files
DanhengServer-OpenSource/Proto/GameplayCounterUpdateScNotify.cs
2024-10-05 22:40:41 +08:00

312 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GameplayCounterUpdateScNotify.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 GameplayCounterUpdateScNotify.proto</summary>
public static partial class GameplayCounterUpdateScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for GameplayCounterUpdateScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameplayCounterUpdateScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiNHYW1lcGxheUNvdW50ZXJVcGRhdGVTY05vdGlmeS5wcm90bxohR2FtZXBs",
"YXlDb3VudGVyVXBkYXRlUmVhc29uLnByb3RvIncKHUdhbWVwbGF5Q291bnRl",
"clVwZGF0ZVNjTm90aWZ5EhMKC05OQ0ZQRExDTkhOGAwgASgNEhMKC0dFRUpQ",
"SE5ISE9EGAQgASgNEiwKBnJlYXNvbhgDIAEoDjIcLkdhbWVwbGF5Q291bnRl",
"clVwZGF0ZVJlYXNvbkIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
"YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReasonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GameplayCounterUpdateScNotify), global::EggLink.DanhengServer.Proto.GameplayCounterUpdateScNotify.Parser, new[]{ "NNCFPDLCNHN", "GEEJPHNHHOD", "Reason" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GameplayCounterUpdateScNotify : pb::IMessage<GameplayCounterUpdateScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GameplayCounterUpdateScNotify> _parser = new pb::MessageParser<GameplayCounterUpdateScNotify>(() => new GameplayCounterUpdateScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GameplayCounterUpdateScNotify> 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.GameplayCounterUpdateScNotifyReflection.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 GameplayCounterUpdateScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameplayCounterUpdateScNotify(GameplayCounterUpdateScNotify other) : this() {
nNCFPDLCNHN_ = other.nNCFPDLCNHN_;
gEEJPHNHHOD_ = other.gEEJPHNHHOD_;
reason_ = other.reason_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GameplayCounterUpdateScNotify Clone() {
return new GameplayCounterUpdateScNotify(this);
}
/// <summary>Field number for the "NNCFPDLCNHN" field.</summary>
public const int NNCFPDLCNHNFieldNumber = 12;
private uint nNCFPDLCNHN_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint NNCFPDLCNHN {
get { return nNCFPDLCNHN_; }
set {
nNCFPDLCNHN_ = value;
}
}
/// <summary>Field number for the "GEEJPHNHHOD" field.</summary>
public const int GEEJPHNHHODFieldNumber = 4;
private uint gEEJPHNHHOD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GEEJPHNHHOD {
get { return gEEJPHNHHOD_; }
set {
gEEJPHNHHOD_ = value;
}
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 3;
private global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason reason_ = global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason 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 GameplayCounterUpdateScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GameplayCounterUpdateScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (NNCFPDLCNHN != other.NNCFPDLCNHN) return false;
if (GEEJPHNHHOD != other.GEEJPHNHHOD) 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 (NNCFPDLCNHN != 0) hash ^= NNCFPDLCNHN.GetHashCode();
if (GEEJPHNHHOD != 0) hash ^= GEEJPHNHHOD.GetHashCode();
if (Reason != global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason.None) 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 (Reason != global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason.None) {
output.WriteRawTag(24);
output.WriteEnum((int) Reason);
}
if (GEEJPHNHHOD != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GEEJPHNHHOD);
}
if (NNCFPDLCNHN != 0) {
output.WriteRawTag(96);
output.WriteUInt32(NNCFPDLCNHN);
}
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.GameplayCounterUpdateReason.None) {
output.WriteRawTag(24);
output.WriteEnum((int) Reason);
}
if (GEEJPHNHHOD != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GEEJPHNHHOD);
}
if (NNCFPDLCNHN != 0) {
output.WriteRawTag(96);
output.WriteUInt32(NNCFPDLCNHN);
}
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 (NNCFPDLCNHN != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NNCFPDLCNHN);
}
if (GEEJPHNHHOD != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GEEJPHNHHOD);
}
if (Reason != global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason.None) {
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(GameplayCounterUpdateScNotify other) {
if (other == null) {
return;
}
if (other.NNCFPDLCNHN != 0) {
NNCFPDLCNHN = other.NNCFPDLCNHN;
}
if (other.GEEJPHNHHOD != 0) {
GEEJPHNHHOD = other.GEEJPHNHHOD;
}
if (other.Reason != global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason.None) {
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 24: {
Reason = (global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason) input.ReadEnum();
break;
}
case 32: {
GEEJPHNHHOD = input.ReadUInt32();
break;
}
case 96: {
NNCFPDLCNHN = 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 24: {
Reason = (global::EggLink.DanhengServer.Proto.GameplayCounterUpdateReason) input.ReadEnum();
break;
}
case 32: {
GEEJPHNHHOD = input.ReadUInt32();
break;
}
case 96: {
NNCFPDLCNHN = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code