From af3a9986c2d5a5a8d5051c2b7a2a9939d88978bc Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Tue, 25 Feb 2025 16:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8Protobuff=E4=BD=9C=E4=B8=BAEs?= =?UTF-8?q?sgee=E6=A0=B8=E5=BF=83=E5=8D=B3=E6=97=B6=E5=AD=98=E6=A1=A3?= =?UTF-8?q?=E5=92=8Cbyte[]=E7=9A=84=E4=BA=92=E8=BD=AC=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8DC#=E6=A8=AA=E8=B7=A8=E5=A4=9A=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E9=80=A0=E6=88=90=E7=9A=84=E8=BD=AC=E6=8D=A2byte=E5=B7=AE?= =?UTF-8?q?=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Emulator/EssgeeEmulator/UEssgee.cs | 4 +- .../UEssgeeInterface/UEGSaveByteConvert.cs | 86 ++ .../UEGSaveByteConvert.cs.meta | 2 + .../UEssgeeInterface/UniMouse.cs | 23 - .../UEssgeeInterface/UniMouse.cs.meta | 2 - .../Protobuf/ProtobufAxibugEmuSnapshot.cs | 973 ++++++++++++++++++ .../ProtobufAxibugEmuSnapshot.cs.meta | 2 + .../Protobuf/ProtobufAxibugEmuSnapshot.cs | 973 ++++++++++++++++++ AxibugEmuOnline.Web/Program.cs | 2 +- .../Protobuf/ProtobufAxibugEmuSnapshot.cs | 973 ++++++++++++++++++ .../out/CS/ProtobufAxibugEmuSnapshot.cs | 973 ++++++++++++++++++ .../proto/protobuf_AxibugEmuSnapshot.proto | 30 + 12 files changed, 4016 insertions(+), 27 deletions(-) create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs.meta delete mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs delete mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs.meta create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs.meta create mode 100644 AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs create mode 100644 AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs create mode 100644 ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs create mode 100644 ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs index b1f7e137..6a733dc0 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgee.cs @@ -42,6 +42,7 @@ public class UEssgee : MonoBehaviour, IEmuCore EmulatorHandler emulatorHandler; UEGResources uegResources; UEGLog uegLog; + UEGSaveByteConvert uegSaveByteConvert; private Canvas mCanvas; bool lastUserPauseState; double currentPixelAspectRatio; @@ -56,6 +57,7 @@ public class UEssgee : MonoBehaviour, IEmuCore instance = this; uegResources = new UEGResources(); uegLog = new UEGLog(); + uegSaveByteConvert = new UEGSaveByteConvert(); mCanvas = GameObject.Find("Canvas").GetComponent(); mCanvas.worldCamera = Camera.main; //InitAll(uegResources, App.PersistentDataPath(mPlatform)); @@ -503,7 +505,7 @@ public class UEssgee : MonoBehaviour, IEmuCore if (emulatorHandler != null) ShutdownEmulation(); - emulatorHandler = new EmulatorHandler(machineType, ExceptionHandler); + emulatorHandler = new EmulatorHandler(machineType, ExceptionHandler, uegSaveByteConvert); emulatorHandler.Initialize(); emulatorHandler.SendLogMessage += EmulatorHandler_SendLogMessage; diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs new file mode 100644 index 00000000..441a3192 --- /dev/null +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs @@ -0,0 +1,86 @@ +using System; +using AxibugProtobuf; +using AxibugEmuOnline.Client.Common; + +public class UEGSaveByteConvert : IAxiEssgssStatusBytesCover +{ + public AxiEssgssStatusData ToAxiEssgssStatusData(byte[] byteArray) + { + pb_AxiEssgssStatusData pbdata = ProtoBufHelper.DeSerizlize(byteArray); + return pbAxiEssgssStatusDataToSrcData(pbdata); + } + public byte[] ToByteArray(AxiEssgssStatusData data) + { + pb_AxiEssgssStatusData pbdata = AxiEssgssStatusDataToPbData(data); + return ProtoBufHelper.Serizlize(pbdata); + } + static AxiEssgssStatusData pbAxiEssgssStatusDataToSrcData(pb_AxiEssgssStatusData pbdata) + { + AxiEssgssStatusData data = new AxiEssgssStatusData(); + data.MemberData = new System.Collections.Generic.Dictionary(); + foreach (var memberData in pbdata.MemberData) + { + data.MemberData[memberData.KeyName] = memberData.Raw.ToByteArray(); + } + foreach (var arrayData in pbdata.Array2DMemberData) + { + data.Array2DMemberData[arrayData.KeyName] = new AxiEssgssStatusData_2DArray(CreateByteArray2D(arrayData.Raw.ToByteArray(), arrayData.Rows, arrayData.Cols)); + } + foreach (var classData in pbdata.ClassData) + { + data.ClassData[classData.KeyName] = pbAxiEssgssStatusDataToSrcData(classData.ClassData); + } + return data; + } + static pb_AxiEssgssStatusData AxiEssgssStatusDataToPbData(AxiEssgssStatusData data) + { + pb_AxiEssgssStatusData pbdata = new pb_AxiEssgssStatusData(); + foreach (var memberdata in data.MemberData) + { + pbdata.MemberData.Add(new pb_AxiEssgssStatusData_ByteData() + { + KeyName = memberdata.Key, + Raw = Google.Protobuf.ByteString.CopyFrom(memberdata.Value) + }); + } + + foreach (var arrayData in data.Array2DMemberData) + { + pbdata.Array2DMemberData.Add(new pb_AxiEssgssStatusData_2DArray() + { + KeyName = arrayData.Key, + Cols = arrayData.Value.cols, + Rows = arrayData.Value.rows, + Raw = Google.Protobuf.ByteString.CopyFrom(arrayData.Value.array1D) + }); + } + + foreach (var classdata in data.ClassData) + { + pbdata.ClassData.Add(new pb_AxiEssgssStatusData_ClassData() + { + KeyName = classdata.Key, + ClassData = AxiEssgssStatusDataToPbData(classdata.Value), + }); + } + + return pbdata; + } + static byte[,] CreateByteArray2D(byte[] array1D, int rows, int cols) + { + if (array1D.Length != rows * cols) + { + throw new ArgumentException("The length of the 1D array does not match the specified dimensions for the 2D array."); + } + byte[,] array2D = new byte[rows, cols]; + int index = 0; + for (int i = 0; i < rows; i++) + { + for (int j = 0; j < cols; j++) + { + array2D[i, j] = array1D[index++]; + } + } + return array2D; + } +} diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs.meta b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs.meta new file mode 100644 index 00000000..9b51605f --- /dev/null +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UEGSaveByteConvert.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9a09dfc866e362458165b925deb2c19 \ No newline at end of file diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs deleted file mode 100644 index 34e25a48..00000000 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs +++ /dev/null @@ -1,23 +0,0 @@ -//using MAME.Core; -//using UnityEngine; - -//public class UniMouse : MonoBehaviour, IMouse -//{ -// static int mX, mY; -// public byte[] buttons = new byte[2]; -// void Update() -// { -// mX = (int)Input.mousePosition.x; -// mY = (int)Input.mousePosition.y; -// buttons[0] = Input.GetMouseButton(0) ? (byte)1 : (byte)0; -// buttons[1] = Input.GetMouseButton(1) ? (byte)1 : (byte)0; -// } - -// public void MouseXY(out int X, out int Y, out byte[] MouseButtons) -// { -// X = mX; -// Y = mY * -1; -// MouseButtons = buttons; -// } - -//} diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs.meta b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs.meta deleted file mode 100644 index b9168f81..00000000 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/EssgeeEmulator/UEssgeeInterface/UniMouse.cs.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: d5855fd9c3285e144b7db2b76cf55d77 \ No newline at end of file diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs new file mode 100644 index 00000000..795c6d63 --- /dev/null +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs @@ -0,0 +1,973 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: protobuf_AxibugEmuSnapshot.proto +// +#pragma warning disable 1591, 0612, 3021 +#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 AxibugProtobuf { + + /// Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto + public static partial class ProtobufAxibugEmuSnapshotReflection { + + #region Descriptor + /// File descriptor for protobuf_AxibugEmuSnapshot.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProtobufAxibugEmuSnapshotReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBwcm90b2J1Zl9BeGlidWdFbXVTbmFwc2hvdC5wcm90bxIOQXhpYnVnUHJv", + "dG9idWYi7QEKFnBiX0F4aUVzc2dzc1N0YXR1c0RhdGESQwoKTWVtYmVyRGF0", + "YRgBIAMoCzIvLkF4aWJ1Z1Byb3RvYnVmLnBiX0F4aUVzc2dzc1N0YXR1c0Rh", + "dGFfQnl0ZURhdGESSQoRQXJyYXkyRE1lbWJlckRhdGEYAiADKAsyLi5BeGli", + "dWdQcm90b2J1Zi5wYl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSQwoJ", + "Q2xhc3NEYXRhGAMgAygLMjAuQXhpYnVnUHJvdG9idWYucGJfQXhpRXNzZ3Nz", + "U3RhdHVzRGF0YV9DbGFzc0RhdGEiPwofcGJfQXhpRXNzZ3NzU3RhdHVzRGF0", + "YV9CeXRlRGF0YRIPCgdLZXlOYW1lGAEgASgJEgsKA1JhdxgCIAEoDCJaCh5w", + "Yl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSDwoHS2V5TmFtZRgBIAEo", + "CRIMCgRyb3dzGAIgASgFEgwKBGNvbHMYAyABKAUSCwoDUmF3GAQgASgMIm4K", + "IHBiX0F4aUVzc2dzc1N0YXR1c0RhdGFfQ2xhc3NEYXRhEg8KB0tleU5hbWUY", + "ASABKAkSOQoJY2xhc3NEYXRhGAIgASgLMiYuQXhpYnVnUHJvdG9idWYucGJf", + "QXhpRXNzZ3NzU3RhdHVzRGF0YUICSAFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData), global::AxibugProtobuf.pb_AxiEssgssStatusData.Parser, new[]{ "MemberData", "Array2DMemberData", "ClassData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser, new[]{ "KeyName", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray), global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser, new[]{ "KeyName", "Rows", "Cols", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser, new[]{ "KeyName", "ClassData" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class pb_AxiEssgssStatusData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData(pb_AxiEssgssStatusData other) : this() { + memberData_ = other.memberData_.Clone(); + array2DMemberData_ = other.array2DMemberData_.Clone(); + classData_ = other.classData_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData Clone() { + return new pb_AxiEssgssStatusData(this); + } + + /// Field number for the "MemberData" field. + public const int MemberDataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_memberData_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser); + private readonly pbc::RepeatedField memberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField MemberData { + get { return memberData_; } + } + + /// Field number for the "Array2DMemberData" field. + public const int Array2DMemberDataFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_array2DMemberData_codec + = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser); + private readonly pbc::RepeatedField array2DMemberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField Array2DMemberData { + get { return array2DMemberData_; } + } + + /// Field number for the "ClassData" field. + public const int ClassDataFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_classData_codec + = pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser); + private readonly pbc::RepeatedField classData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField ClassData { + get { return classData_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!memberData_.Equals(other.memberData_)) return false; + if(!array2DMemberData_.Equals(other.array2DMemberData_)) return false; + if(!classData_.Equals(other.classData_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= memberData_.GetHashCode(); + hash ^= array2DMemberData_.GetHashCode(); + hash ^= classData_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + memberData_.WriteTo(output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(output, _repeated_array2DMemberData_codec); + classData_.WriteTo(output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + memberData_.WriteTo(ref output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(ref output, _repeated_array2DMemberData_codec); + classData_.WriteTo(ref output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += memberData_.CalculateSize(_repeated_memberData_codec); + size += array2DMemberData_.CalculateSize(_repeated_array2DMemberData_codec); + size += classData_.CalculateSize(_repeated_classData_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData other) { + if (other == null) { + return; + } + memberData_.Add(other.memberData_); + array2DMemberData_.Add(other.array2DMemberData_); + classData_.Add(other.classData_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(input, _repeated_classData_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(ref input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(ref input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(ref input, _repeated_classData_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ByteData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ByteData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData(pb_AxiEssgssStatusData_ByteData other) : this() { + keyName_ = other.keyName_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData Clone() { + return new pb_AxiEssgssStatusData_ByteData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 2; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ByteData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ByteData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ByteData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_2DArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_2DArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray(pb_AxiEssgssStatusData_2DArray other) : this() { + keyName_ = other.keyName_; + rows_ = other.rows_; + cols_ = other.cols_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray Clone() { + return new pb_AxiEssgssStatusData_2DArray(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "rows" field. + public const int RowsFieldNumber = 2; + private int rows_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Rows { + get { return rows_; } + set { + rows_ = value; + } + } + + /// Field number for the "cols" field. + public const int ColsFieldNumber = 3; + private int cols_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Cols { + get { return cols_; } + set { + cols_ = value; + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 4; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_2DArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_2DArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Rows != other.Rows) return false; + if (Cols != other.Cols) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Rows != 0) hash ^= Rows.GetHashCode(); + if (Cols != 0) hash ^= Cols.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Rows != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rows); + } + if (Cols != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cols); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_2DArray other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Rows != 0) { + Rows = other.Rows; + } + if (other.Cols != 0) { + Cols = other.Cols; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ClassData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ClassData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData(pb_AxiEssgssStatusData_ClassData other) : this() { + keyName_ = other.keyName_; + classData_ = other.classData_ != null ? other.classData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData Clone() { + return new pb_AxiEssgssStatusData_ClassData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "classData" field. + public const int ClassDataFieldNumber = 2; + private global::AxibugProtobuf.pb_AxiEssgssStatusData classData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::AxibugProtobuf.pb_AxiEssgssStatusData ClassData { + get { return classData_; } + set { + classData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ClassData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ClassData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (!object.Equals(ClassData, other.ClassData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (classData_ != null) hash ^= ClassData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (classData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ClassData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.classData_ != null) { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + ClassData.MergeFrom(other.ClassData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs.meta b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs.meta new file mode 100644 index 00000000..369d3e5e --- /dev/null +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuSnapshot.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8a7ec08393c95db449f017aaf723bff1 \ No newline at end of file diff --git a/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs new file mode 100644 index 00000000..795c6d63 --- /dev/null +++ b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs @@ -0,0 +1,973 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: protobuf_AxibugEmuSnapshot.proto +// +#pragma warning disable 1591, 0612, 3021 +#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 AxibugProtobuf { + + /// Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto + public static partial class ProtobufAxibugEmuSnapshotReflection { + + #region Descriptor + /// File descriptor for protobuf_AxibugEmuSnapshot.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProtobufAxibugEmuSnapshotReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBwcm90b2J1Zl9BeGlidWdFbXVTbmFwc2hvdC5wcm90bxIOQXhpYnVnUHJv", + "dG9idWYi7QEKFnBiX0F4aUVzc2dzc1N0YXR1c0RhdGESQwoKTWVtYmVyRGF0", + "YRgBIAMoCzIvLkF4aWJ1Z1Byb3RvYnVmLnBiX0F4aUVzc2dzc1N0YXR1c0Rh", + "dGFfQnl0ZURhdGESSQoRQXJyYXkyRE1lbWJlckRhdGEYAiADKAsyLi5BeGli", + "dWdQcm90b2J1Zi5wYl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSQwoJ", + "Q2xhc3NEYXRhGAMgAygLMjAuQXhpYnVnUHJvdG9idWYucGJfQXhpRXNzZ3Nz", + "U3RhdHVzRGF0YV9DbGFzc0RhdGEiPwofcGJfQXhpRXNzZ3NzU3RhdHVzRGF0", + "YV9CeXRlRGF0YRIPCgdLZXlOYW1lGAEgASgJEgsKA1JhdxgCIAEoDCJaCh5w", + "Yl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSDwoHS2V5TmFtZRgBIAEo", + "CRIMCgRyb3dzGAIgASgFEgwKBGNvbHMYAyABKAUSCwoDUmF3GAQgASgMIm4K", + "IHBiX0F4aUVzc2dzc1N0YXR1c0RhdGFfQ2xhc3NEYXRhEg8KB0tleU5hbWUY", + "ASABKAkSOQoJY2xhc3NEYXRhGAIgASgLMiYuQXhpYnVnUHJvdG9idWYucGJf", + "QXhpRXNzZ3NzU3RhdHVzRGF0YUICSAFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData), global::AxibugProtobuf.pb_AxiEssgssStatusData.Parser, new[]{ "MemberData", "Array2DMemberData", "ClassData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser, new[]{ "KeyName", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray), global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser, new[]{ "KeyName", "Rows", "Cols", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser, new[]{ "KeyName", "ClassData" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class pb_AxiEssgssStatusData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData(pb_AxiEssgssStatusData other) : this() { + memberData_ = other.memberData_.Clone(); + array2DMemberData_ = other.array2DMemberData_.Clone(); + classData_ = other.classData_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData Clone() { + return new pb_AxiEssgssStatusData(this); + } + + /// Field number for the "MemberData" field. + public const int MemberDataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_memberData_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser); + private readonly pbc::RepeatedField memberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField MemberData { + get { return memberData_; } + } + + /// Field number for the "Array2DMemberData" field. + public const int Array2DMemberDataFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_array2DMemberData_codec + = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser); + private readonly pbc::RepeatedField array2DMemberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField Array2DMemberData { + get { return array2DMemberData_; } + } + + /// Field number for the "ClassData" field. + public const int ClassDataFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_classData_codec + = pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser); + private readonly pbc::RepeatedField classData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField ClassData { + get { return classData_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!memberData_.Equals(other.memberData_)) return false; + if(!array2DMemberData_.Equals(other.array2DMemberData_)) return false; + if(!classData_.Equals(other.classData_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= memberData_.GetHashCode(); + hash ^= array2DMemberData_.GetHashCode(); + hash ^= classData_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + memberData_.WriteTo(output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(output, _repeated_array2DMemberData_codec); + classData_.WriteTo(output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + memberData_.WriteTo(ref output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(ref output, _repeated_array2DMemberData_codec); + classData_.WriteTo(ref output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += memberData_.CalculateSize(_repeated_memberData_codec); + size += array2DMemberData_.CalculateSize(_repeated_array2DMemberData_codec); + size += classData_.CalculateSize(_repeated_classData_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData other) { + if (other == null) { + return; + } + memberData_.Add(other.memberData_); + array2DMemberData_.Add(other.array2DMemberData_); + classData_.Add(other.classData_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(input, _repeated_classData_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(ref input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(ref input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(ref input, _repeated_classData_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ByteData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ByteData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData(pb_AxiEssgssStatusData_ByteData other) : this() { + keyName_ = other.keyName_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData Clone() { + return new pb_AxiEssgssStatusData_ByteData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 2; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ByteData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ByteData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ByteData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_2DArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_2DArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray(pb_AxiEssgssStatusData_2DArray other) : this() { + keyName_ = other.keyName_; + rows_ = other.rows_; + cols_ = other.cols_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray Clone() { + return new pb_AxiEssgssStatusData_2DArray(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "rows" field. + public const int RowsFieldNumber = 2; + private int rows_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Rows { + get { return rows_; } + set { + rows_ = value; + } + } + + /// Field number for the "cols" field. + public const int ColsFieldNumber = 3; + private int cols_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Cols { + get { return cols_; } + set { + cols_ = value; + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 4; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_2DArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_2DArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Rows != other.Rows) return false; + if (Cols != other.Cols) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Rows != 0) hash ^= Rows.GetHashCode(); + if (Cols != 0) hash ^= Cols.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Rows != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rows); + } + if (Cols != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cols); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_2DArray other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Rows != 0) { + Rows = other.Rows; + } + if (other.Cols != 0) { + Cols = other.Cols; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ClassData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ClassData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData(pb_AxiEssgssStatusData_ClassData other) : this() { + keyName_ = other.keyName_; + classData_ = other.classData_ != null ? other.classData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData Clone() { + return new pb_AxiEssgssStatusData_ClassData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "classData" field. + public const int ClassDataFieldNumber = 2; + private global::AxibugProtobuf.pb_AxiEssgssStatusData classData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::AxibugProtobuf.pb_AxiEssgssStatusData ClassData { + get { return classData_; } + set { + classData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ClassData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ClassData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (!object.Equals(ClassData, other.ClassData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (classData_ != null) hash ^= ClassData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (classData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ClassData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.classData_ != null) { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + ClassData.MergeFrom(other.ClassData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/AxibugEmuOnline.Web/Program.cs b/AxibugEmuOnline.Web/Program.cs index fe01bed1..66ea75ef 100644 --- a/AxibugEmuOnline.Web/Program.cs +++ b/AxibugEmuOnline.Web/Program.cs @@ -8,7 +8,7 @@ namespace AxibugEmuOnline.Web { Config.LoadConfig(); AESHelper.LoadKeyIVCfg(Config.cfg.AesKey, Config.cfg.AesIv); - SQLPool.InitConnMgr(); + SQLRUN.InitConnMgr(); var builder = WebApplication.CreateBuilder(args); diff --git a/AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs b/AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs new file mode 100644 index 00000000..795c6d63 --- /dev/null +++ b/AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs @@ -0,0 +1,973 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: protobuf_AxibugEmuSnapshot.proto +// +#pragma warning disable 1591, 0612, 3021 +#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 AxibugProtobuf { + + /// Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto + public static partial class ProtobufAxibugEmuSnapshotReflection { + + #region Descriptor + /// File descriptor for protobuf_AxibugEmuSnapshot.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProtobufAxibugEmuSnapshotReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBwcm90b2J1Zl9BeGlidWdFbXVTbmFwc2hvdC5wcm90bxIOQXhpYnVnUHJv", + "dG9idWYi7QEKFnBiX0F4aUVzc2dzc1N0YXR1c0RhdGESQwoKTWVtYmVyRGF0", + "YRgBIAMoCzIvLkF4aWJ1Z1Byb3RvYnVmLnBiX0F4aUVzc2dzc1N0YXR1c0Rh", + "dGFfQnl0ZURhdGESSQoRQXJyYXkyRE1lbWJlckRhdGEYAiADKAsyLi5BeGli", + "dWdQcm90b2J1Zi5wYl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSQwoJ", + "Q2xhc3NEYXRhGAMgAygLMjAuQXhpYnVnUHJvdG9idWYucGJfQXhpRXNzZ3Nz", + "U3RhdHVzRGF0YV9DbGFzc0RhdGEiPwofcGJfQXhpRXNzZ3NzU3RhdHVzRGF0", + "YV9CeXRlRGF0YRIPCgdLZXlOYW1lGAEgASgJEgsKA1JhdxgCIAEoDCJaCh5w", + "Yl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSDwoHS2V5TmFtZRgBIAEo", + "CRIMCgRyb3dzGAIgASgFEgwKBGNvbHMYAyABKAUSCwoDUmF3GAQgASgMIm4K", + "IHBiX0F4aUVzc2dzc1N0YXR1c0RhdGFfQ2xhc3NEYXRhEg8KB0tleU5hbWUY", + "ASABKAkSOQoJY2xhc3NEYXRhGAIgASgLMiYuQXhpYnVnUHJvdG9idWYucGJf", + "QXhpRXNzZ3NzU3RhdHVzRGF0YUICSAFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData), global::AxibugProtobuf.pb_AxiEssgssStatusData.Parser, new[]{ "MemberData", "Array2DMemberData", "ClassData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser, new[]{ "KeyName", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray), global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser, new[]{ "KeyName", "Rows", "Cols", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser, new[]{ "KeyName", "ClassData" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class pb_AxiEssgssStatusData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData(pb_AxiEssgssStatusData other) : this() { + memberData_ = other.memberData_.Clone(); + array2DMemberData_ = other.array2DMemberData_.Clone(); + classData_ = other.classData_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData Clone() { + return new pb_AxiEssgssStatusData(this); + } + + /// Field number for the "MemberData" field. + public const int MemberDataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_memberData_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser); + private readonly pbc::RepeatedField memberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField MemberData { + get { return memberData_; } + } + + /// Field number for the "Array2DMemberData" field. + public const int Array2DMemberDataFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_array2DMemberData_codec + = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser); + private readonly pbc::RepeatedField array2DMemberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField Array2DMemberData { + get { return array2DMemberData_; } + } + + /// Field number for the "ClassData" field. + public const int ClassDataFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_classData_codec + = pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser); + private readonly pbc::RepeatedField classData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField ClassData { + get { return classData_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!memberData_.Equals(other.memberData_)) return false; + if(!array2DMemberData_.Equals(other.array2DMemberData_)) return false; + if(!classData_.Equals(other.classData_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= memberData_.GetHashCode(); + hash ^= array2DMemberData_.GetHashCode(); + hash ^= classData_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + memberData_.WriteTo(output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(output, _repeated_array2DMemberData_codec); + classData_.WriteTo(output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + memberData_.WriteTo(ref output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(ref output, _repeated_array2DMemberData_codec); + classData_.WriteTo(ref output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += memberData_.CalculateSize(_repeated_memberData_codec); + size += array2DMemberData_.CalculateSize(_repeated_array2DMemberData_codec); + size += classData_.CalculateSize(_repeated_classData_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData other) { + if (other == null) { + return; + } + memberData_.Add(other.memberData_); + array2DMemberData_.Add(other.array2DMemberData_); + classData_.Add(other.classData_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(input, _repeated_classData_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(ref input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(ref input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(ref input, _repeated_classData_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ByteData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ByteData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData(pb_AxiEssgssStatusData_ByteData other) : this() { + keyName_ = other.keyName_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData Clone() { + return new pb_AxiEssgssStatusData_ByteData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 2; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ByteData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ByteData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ByteData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_2DArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_2DArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray(pb_AxiEssgssStatusData_2DArray other) : this() { + keyName_ = other.keyName_; + rows_ = other.rows_; + cols_ = other.cols_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray Clone() { + return new pb_AxiEssgssStatusData_2DArray(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "rows" field. + public const int RowsFieldNumber = 2; + private int rows_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Rows { + get { return rows_; } + set { + rows_ = value; + } + } + + /// Field number for the "cols" field. + public const int ColsFieldNumber = 3; + private int cols_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Cols { + get { return cols_; } + set { + cols_ = value; + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 4; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_2DArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_2DArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Rows != other.Rows) return false; + if (Cols != other.Cols) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Rows != 0) hash ^= Rows.GetHashCode(); + if (Cols != 0) hash ^= Cols.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Rows != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rows); + } + if (Cols != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cols); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_2DArray other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Rows != 0) { + Rows = other.Rows; + } + if (other.Cols != 0) { + Cols = other.Cols; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ClassData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ClassData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData(pb_AxiEssgssStatusData_ClassData other) : this() { + keyName_ = other.keyName_; + classData_ = other.classData_ != null ? other.classData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData Clone() { + return new pb_AxiEssgssStatusData_ClassData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "classData" field. + public const int ClassDataFieldNumber = 2; + private global::AxibugProtobuf.pb_AxiEssgssStatusData classData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::AxibugProtobuf.pb_AxiEssgssStatusData ClassData { + get { return classData_; } + set { + classData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ClassData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ClassData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (!object.Equals(ClassData, other.ClassData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (classData_ != null) hash ^= ClassData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (classData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ClassData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.classData_ != null) { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + ClassData.MergeFrom(other.ClassData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs b/ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs new file mode 100644 index 00000000..795c6d63 --- /dev/null +++ b/ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs @@ -0,0 +1,973 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: protobuf_AxibugEmuSnapshot.proto +// +#pragma warning disable 1591, 0612, 3021 +#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 AxibugProtobuf { + + /// Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto + public static partial class ProtobufAxibugEmuSnapshotReflection { + + #region Descriptor + /// File descriptor for protobuf_AxibugEmuSnapshot.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProtobufAxibugEmuSnapshotReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBwcm90b2J1Zl9BeGlidWdFbXVTbmFwc2hvdC5wcm90bxIOQXhpYnVnUHJv", + "dG9idWYi7QEKFnBiX0F4aUVzc2dzc1N0YXR1c0RhdGESQwoKTWVtYmVyRGF0", + "YRgBIAMoCzIvLkF4aWJ1Z1Byb3RvYnVmLnBiX0F4aUVzc2dzc1N0YXR1c0Rh", + "dGFfQnl0ZURhdGESSQoRQXJyYXkyRE1lbWJlckRhdGEYAiADKAsyLi5BeGli", + "dWdQcm90b2J1Zi5wYl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSQwoJ", + "Q2xhc3NEYXRhGAMgAygLMjAuQXhpYnVnUHJvdG9idWYucGJfQXhpRXNzZ3Nz", + "U3RhdHVzRGF0YV9DbGFzc0RhdGEiPwofcGJfQXhpRXNzZ3NzU3RhdHVzRGF0", + "YV9CeXRlRGF0YRIPCgdLZXlOYW1lGAEgASgJEgsKA1JhdxgCIAEoDCJaCh5w", + "Yl9BeGlFc3Nnc3NTdGF0dXNEYXRhXzJEQXJyYXkSDwoHS2V5TmFtZRgBIAEo", + "CRIMCgRyb3dzGAIgASgFEgwKBGNvbHMYAyABKAUSCwoDUmF3GAQgASgMIm4K", + "IHBiX0F4aUVzc2dzc1N0YXR1c0RhdGFfQ2xhc3NEYXRhEg8KB0tleU5hbWUY", + "ASABKAkSOQoJY2xhc3NEYXRhGAIgASgLMiYuQXhpYnVnUHJvdG9idWYucGJf", + "QXhpRXNzZ3NzU3RhdHVzRGF0YUICSAFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData), global::AxibugProtobuf.pb_AxiEssgssStatusData.Parser, new[]{ "MemberData", "Array2DMemberData", "ClassData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser, new[]{ "KeyName", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray), global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser, new[]{ "KeyName", "Rows", "Cols", "Raw" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData), global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser, new[]{ "KeyName", "ClassData" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class pb_AxiEssgssStatusData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData(pb_AxiEssgssStatusData other) : this() { + memberData_ = other.memberData_.Clone(); + array2DMemberData_ = other.array2DMemberData_.Clone(); + classData_ = other.classData_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData Clone() { + return new pb_AxiEssgssStatusData(this); + } + + /// Field number for the "MemberData" field. + public const int MemberDataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_memberData_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser); + private readonly pbc::RepeatedField memberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField MemberData { + get { return memberData_; } + } + + /// Field number for the "Array2DMemberData" field. + public const int Array2DMemberDataFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_array2DMemberData_codec + = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser); + private readonly pbc::RepeatedField array2DMemberData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField Array2DMemberData { + get { return array2DMemberData_; } + } + + /// Field number for the "ClassData" field. + public const int ClassDataFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_classData_codec + = pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser); + private readonly pbc::RepeatedField classData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField ClassData { + get { return classData_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!memberData_.Equals(other.memberData_)) return false; + if(!array2DMemberData_.Equals(other.array2DMemberData_)) return false; + if(!classData_.Equals(other.classData_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= memberData_.GetHashCode(); + hash ^= array2DMemberData_.GetHashCode(); + hash ^= classData_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + memberData_.WriteTo(output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(output, _repeated_array2DMemberData_codec); + classData_.WriteTo(output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + memberData_.WriteTo(ref output, _repeated_memberData_codec); + array2DMemberData_.WriteTo(ref output, _repeated_array2DMemberData_codec); + classData_.WriteTo(ref output, _repeated_classData_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += memberData_.CalculateSize(_repeated_memberData_codec); + size += array2DMemberData_.CalculateSize(_repeated_array2DMemberData_codec); + size += classData_.CalculateSize(_repeated_classData_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData other) { + if (other == null) { + return; + } + memberData_.Add(other.memberData_); + array2DMemberData_.Add(other.array2DMemberData_); + classData_.Add(other.classData_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(input, _repeated_classData_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + memberData_.AddEntriesFrom(ref input, _repeated_memberData_codec); + break; + } + case 18: { + array2DMemberData_.AddEntriesFrom(ref input, _repeated_array2DMemberData_codec); + break; + } + case 26: { + classData_.AddEntriesFrom(ref input, _repeated_classData_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ByteData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ByteData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData(pb_AxiEssgssStatusData_ByteData other) : this() { + keyName_ = other.keyName_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ByteData Clone() { + return new pb_AxiEssgssStatusData_ByteData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 2; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ByteData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ByteData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Raw.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ByteData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_2DArray : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_2DArray()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray(pb_AxiEssgssStatusData_2DArray other) : this() { + keyName_ = other.keyName_; + rows_ = other.rows_; + cols_ = other.cols_; + raw_ = other.raw_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_2DArray Clone() { + return new pb_AxiEssgssStatusData_2DArray(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "rows" field. + public const int RowsFieldNumber = 2; + private int rows_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Rows { + get { return rows_; } + set { + rows_ = value; + } + } + + /// Field number for the "cols" field. + public const int ColsFieldNumber = 3; + private int cols_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int Cols { + get { return cols_; } + set { + cols_ = value; + } + } + + /// Field number for the "Raw" field. + public const int RawFieldNumber = 4; + private pb::ByteString raw_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Raw { + get { return raw_; } + set { + raw_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_2DArray); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_2DArray other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (Rows != other.Rows) return false; + if (Cols != other.Cols) return false; + if (Raw != other.Raw) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (Rows != 0) hash ^= Rows.GetHashCode(); + if (Cols != 0) hash ^= Cols.GetHashCode(); + if (Raw.Length != 0) hash ^= Raw.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (Rows != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rows); + } + if (Cols != 0) { + output.WriteRawTag(24); + output.WriteInt32(Cols); + } + if (Raw.Length != 0) { + output.WriteRawTag(34); + output.WriteBytes(Raw); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (Rows != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rows); + } + if (Cols != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cols); + } + if (Raw.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Raw); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_2DArray other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.Rows != 0) { + Rows = other.Rows; + } + if (other.Cols != 0) { + Cols = other.Cols; + } + if (other.Raw.Length != 0) { + Raw = other.Raw; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 16: { + Rows = input.ReadInt32(); + break; + } + case 24: { + Cols = input.ReadInt32(); + break; + } + case 34: { + Raw = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class pb_AxiEssgssStatusData_ClassData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new pb_AxiEssgssStatusData_ClassData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuSnapshotReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData(pb_AxiEssgssStatusData_ClassData other) : this() { + keyName_ = other.keyName_; + classData_ = other.classData_ != null ? other.classData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb_AxiEssgssStatusData_ClassData Clone() { + return new pb_AxiEssgssStatusData_ClassData(this); + } + + /// Field number for the "KeyName" field. + public const int KeyNameFieldNumber = 1; + private string keyName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string KeyName { + get { return keyName_; } + set { + keyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "classData" field. + public const int ClassDataFieldNumber = 2; + private global::AxibugProtobuf.pb_AxiEssgssStatusData classData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::AxibugProtobuf.pb_AxiEssgssStatusData ClassData { + get { return classData_; } + set { + classData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as pb_AxiEssgssStatusData_ClassData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(pb_AxiEssgssStatusData_ClassData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KeyName != other.KeyName) return false; + if (!object.Equals(ClassData, other.ClassData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (KeyName.Length != 0) hash ^= KeyName.GetHashCode(); + if (classData_ != null) hash ^= ClassData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KeyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KeyName); + } + if (classData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ClassData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (KeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KeyName); + } + if (classData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb_AxiEssgssStatusData_ClassData other) { + if (other == null) { + return; + } + if (other.KeyName.Length != 0) { + KeyName = other.KeyName; + } + if (other.classData_ != null) { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + ClassData.MergeFrom(other.ClassData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + 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: { + KeyName = input.ReadString(); + break; + } + case 18: { + if (classData_ == null) { + ClassData = new global::AxibugProtobuf.pb_AxiEssgssStatusData(); + } + input.ReadMessage(ClassData); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto b/ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto new file mode 100644 index 00000000..8a5c70e9 --- /dev/null +++ b/ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; +package AxibugProtobuf; +option optimize_for = SPEED; + +message pb_AxiEssgssStatusData +{ + repeated pb_AxiEssgssStatusData_ByteData MemberData = 1; + repeated pb_AxiEssgssStatusData_2DArray Array2DMemberData = 2; + repeated pb_AxiEssgssStatusData_ClassData ClassData = 3; +} + +message pb_AxiEssgssStatusData_ByteData +{ + string KeyName = 1; + bytes Raw = 2; +} + +message pb_AxiEssgssStatusData_2DArray +{ + string KeyName = 1; + int32 rows = 2; + int32 cols = 3; + bytes Raw = 4; +} + +message pb_AxiEssgssStatusData_ClassData +{ + string KeyName = 1; + pb_AxiEssgssStatusData classData = 2; +} \ No newline at end of file