Feature: Move Proto to Proto project, Move Kcp & Connection to DanhengKcpSharp project

This commit is contained in:
Somebody
2024-08-02 21:53:07 +08:00
parent 3d4f5aa44f
commit 98cdaded14
2860 changed files with 1131 additions and 612 deletions

View File

@@ -0,0 +1,309 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AetherDivideSpiritInfoScNotify.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 AetherDivideSpiritInfoScNotify.proto</summary>
public static partial class AetherDivideSpiritInfoScNotifyReflection {
#region Descriptor
/// <summary>File descriptor for AetherDivideSpiritInfoScNotify.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static AetherDivideSpiritInfoScNotifyReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRBZXRoZXJEaXZpZGVTcGlyaXRJbmZvU2NOb3RpZnkucHJvdG8aHEFldGhl",
"ckRpdmlkZVNwaXJpdEluZm8ucHJvdG8ikQEKHkFldGhlckRpdmlkZVNwaXJp",
"dEluZm9TY05vdGlmeRITCgtNTUlKTE5PTk9PSRgBIAEoDRIsCgtQTUxIT0pE",
"TE9DUBgCIAEoCzIXLkFldGhlckRpdmlkZVNwaXJpdEluZm8SLAoLT0dBQ0ZD",
"TkpGUEwYCiADKAsyFy5BZXRoZXJEaXZpZGVTcGlyaXRJbmZvQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfoScNotify), global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfoScNotify.Parser, new[]{ "MMIJLNONOOI", "PMLHOJDLOCP", "OGACFCNJFPL" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AetherDivideSpiritInfoScNotify : pb::IMessage<AetherDivideSpiritInfoScNotify>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AetherDivideSpiritInfoScNotify> _parser = new pb::MessageParser<AetherDivideSpiritInfoScNotify>(() => new AetherDivideSpiritInfoScNotify());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AetherDivideSpiritInfoScNotify> 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.AetherDivideSpiritInfoScNotifyReflection.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 AetherDivideSpiritInfoScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AetherDivideSpiritInfoScNotify(AetherDivideSpiritInfoScNotify other) : this() {
mMIJLNONOOI_ = other.mMIJLNONOOI_;
pMLHOJDLOCP_ = other.pMLHOJDLOCP_ != null ? other.pMLHOJDLOCP_.Clone() : null;
oGACFCNJFPL_ = other.oGACFCNJFPL_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AetherDivideSpiritInfoScNotify Clone() {
return new AetherDivideSpiritInfoScNotify(this);
}
/// <summary>Field number for the "MMIJLNONOOI" field.</summary>
public const int MMIJLNONOOIFieldNumber = 1;
private uint mMIJLNONOOI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MMIJLNONOOI {
get { return mMIJLNONOOI_; }
set {
mMIJLNONOOI_ = value;
}
}
/// <summary>Field number for the "PMLHOJDLOCP" field.</summary>
public const int PMLHOJDLOCPFieldNumber = 2;
private global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo pMLHOJDLOCP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo PMLHOJDLOCP {
get { return pMLHOJDLOCP_; }
set {
pMLHOJDLOCP_ = value;
}
}
/// <summary>Field number for the "OGACFCNJFPL" field.</summary>
public const int OGACFCNJFPLFieldNumber = 10;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo> _repeated_oGACFCNJFPL_codec
= pb::FieldCodec.ForMessage(82, global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo> oGACFCNJFPL_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo> OGACFCNJFPL {
get { return oGACFCNJFPL_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AetherDivideSpiritInfoScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AetherDivideSpiritInfoScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MMIJLNONOOI != other.MMIJLNONOOI) return false;
if (!object.Equals(PMLHOJDLOCP, other.PMLHOJDLOCP)) return false;
if(!oGACFCNJFPL_.Equals(other.oGACFCNJFPL_)) 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 (MMIJLNONOOI != 0) hash ^= MMIJLNONOOI.GetHashCode();
if (pMLHOJDLOCP_ != null) hash ^= PMLHOJDLOCP.GetHashCode();
hash ^= oGACFCNJFPL_.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 (MMIJLNONOOI != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MMIJLNONOOI);
}
if (pMLHOJDLOCP_ != null) {
output.WriteRawTag(18);
output.WriteMessage(PMLHOJDLOCP);
}
oGACFCNJFPL_.WriteTo(output, _repeated_oGACFCNJFPL_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 (MMIJLNONOOI != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MMIJLNONOOI);
}
if (pMLHOJDLOCP_ != null) {
output.WriteRawTag(18);
output.WriteMessage(PMLHOJDLOCP);
}
oGACFCNJFPL_.WriteTo(ref output, _repeated_oGACFCNJFPL_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 (MMIJLNONOOI != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MMIJLNONOOI);
}
if (pMLHOJDLOCP_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PMLHOJDLOCP);
}
size += oGACFCNJFPL_.CalculateSize(_repeated_oGACFCNJFPL_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AetherDivideSpiritInfoScNotify other) {
if (other == null) {
return;
}
if (other.MMIJLNONOOI != 0) {
MMIJLNONOOI = other.MMIJLNONOOI;
}
if (other.pMLHOJDLOCP_ != null) {
if (pMLHOJDLOCP_ == null) {
PMLHOJDLOCP = new global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo();
}
PMLHOJDLOCP.MergeFrom(other.PMLHOJDLOCP);
}
oGACFCNJFPL_.Add(other.oGACFCNJFPL_);
_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: {
MMIJLNONOOI = input.ReadUInt32();
break;
}
case 18: {
if (pMLHOJDLOCP_ == null) {
PMLHOJDLOCP = new global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo();
}
input.ReadMessage(PMLHOJDLOCP);
break;
}
case 82: {
oGACFCNJFPL_.AddEntriesFrom(input, _repeated_oGACFCNJFPL_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: {
MMIJLNONOOI = input.ReadUInt32();
break;
}
case 18: {
if (pMLHOJDLOCP_ == null) {
PMLHOJDLOCP = new global::EggLink.DanhengServer.Proto.AetherDivideSpiritInfo();
}
input.ReadMessage(PMLHOJDLOCP);
break;
}
case 82: {
oGACFCNJFPL_.AddEntriesFrom(ref input, _repeated_oGACFCNJFPL_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code