Compare commits
2 Commits
48f465c35e
...
af3a9986c2
| Author | SHA1 | Date | |
|---|---|---|---|
| af3a9986c2 | |||
| 008a9bf6a5 |
@ -68,9 +68,9 @@ namespace Essgee.Emulation.CPU
|
|||||||
|
|
||||||
if (AppEnvironment.EnableSuperSlowCPULogger)
|
if (AppEnvironment.EnableSuperSlowCPULogger)
|
||||||
{
|
{
|
||||||
logFile = @"D:\Temp\Essgee\log-lr35902.txt";
|
//logFile = @"D:\Temp\Essgee\log-lr35902.txt";
|
||||||
numLogEntries = 0;
|
//numLogEntries = 0;
|
||||||
logEntries = new string[2000];
|
//logEntries = new string[2000];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -70,6 +70,7 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
//TODO GB相机暂时不实现
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace Essgee.Emulation.Cartridges.Nintendo
|
namespace Essgee.Emulation.Cartridges.Nintendo
|
||||||
{
|
{
|
||||||
@ -31,11 +32,26 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
ramData = data.MemberData[nameof(ramData)];
|
||||||
|
hasBattery = BitConverter.ToBoolean(data.MemberData[nameof(hasBattery)]);
|
||||||
|
|
||||||
|
romBank = data.MemberData[nameof(romBank)].First();
|
||||||
|
ramBank = data.MemberData[nameof(ramBank)].First();
|
||||||
|
ramEnable = BitConverter.ToBoolean(data.MemberData[nameof(ramEnable)]);
|
||||||
|
bankingMode = data.MemberData[nameof(bankingMode)].First();
|
||||||
|
//看是否还需要补存储字段
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
data.MemberData[nameof(ramData)] = ramData;
|
||||||
|
data.MemberData[nameof(hasBattery)] = BitConverter.GetBytes(hasBattery);
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
data.MemberData[nameof(romBank)] = BitConverter.GetBytes(romBank);
|
||||||
|
data.MemberData[nameof(ramBank)] = BitConverter.GetBytes(ramBank);
|
||||||
|
data.MemberData[nameof(ramEnable)] = BitConverter.GetBytes(ramEnable);
|
||||||
|
data.MemberData[nameof(bankingMode)] = BitConverter.GetBytes(bankingMode);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace Essgee.Emulation.Cartridges.Nintendo
|
namespace Essgee.Emulation.Cartridges.Nintendo
|
||||||
{
|
{
|
||||||
@ -23,13 +24,25 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
}
|
}
|
||||||
#region AxiState
|
#region AxiState
|
||||||
|
|
||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
ramData = data.MemberData[nameof(ramData)];
|
||||||
|
hasBattery = BitConverter.ToBoolean(data.MemberData[nameof(hasBattery)]);
|
||||||
|
|
||||||
|
romBank = data.MemberData[nameof(romBank)].First();
|
||||||
|
ramEnable = BitConverter.ToBoolean(data.MemberData[nameof(ramEnable)]);
|
||||||
|
//看是否还需要补存储字段
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
data.MemberData[nameof(ramData)] = ramData;
|
||||||
|
data.MemberData[nameof(hasBattery)] = BitConverter.GetBytes(hasBattery);
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
data.MemberData[nameof(romBank)] = BitConverter.GetBytes(romBank);
|
||||||
|
data.MemberData[nameof(ramEnable)] = BitConverter.GetBytes(ramEnable);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -135,11 +135,26 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
ramData = data.MemberData[nameof(ramData)];
|
||||||
|
hasBattery = BitConverter.ToBoolean(data.MemberData[nameof(hasBattery)]);
|
||||||
|
hasRTC = BitConverter.ToBoolean(data.MemberData[nameof(hasRTC)]);
|
||||||
|
|
||||||
|
romBank = data.MemberData[nameof(romBank)].First();
|
||||||
|
ramBank = data.MemberData[nameof(ramBank)].First();
|
||||||
|
ramEnable = BitConverter.ToBoolean(data.MemberData[nameof(ramEnable)]);
|
||||||
|
//看是否还需要补存储字段
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
data.MemberData[nameof(ramData)] = ramData;
|
||||||
|
data.MemberData[nameof(hasBattery)] = BitConverter.GetBytes(hasBattery);
|
||||||
|
data.MemberData[nameof(hasRTC)] = BitConverter.GetBytes(hasRTC);
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
data.MemberData[nameof(romBank)] = BitConverter.GetBytes(romBank);
|
||||||
|
data.MemberData[nameof(ramBank)] = BitConverter.GetBytes(ramBank);
|
||||||
|
data.MemberData[nameof(ramEnable)] = BitConverter.GetBytes(ramEnable);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace Essgee.Emulation.Cartridges.Nintendo
|
namespace Essgee.Emulation.Cartridges.Nintendo
|
||||||
{
|
{
|
||||||
@ -34,11 +35,26 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
ramData = data.MemberData[nameof(ramData)];
|
||||||
|
hasBattery = BitConverter.ToBoolean(data.MemberData[nameof(hasBattery)]);
|
||||||
|
hasRumble = BitConverter.ToBoolean(data.MemberData[nameof(hasRumble)]);
|
||||||
|
|
||||||
|
romBank = BitConverter.ToUInt16(data.MemberData[nameof(romBank)]);
|
||||||
|
ramBank = data.MemberData[nameof(ramBank)].First();
|
||||||
|
ramEnable = BitConverter.ToBoolean(data.MemberData[nameof(ramEnable)]);
|
||||||
|
//看是否还需要补存储字段
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
data.MemberData[nameof(ramData)] = ramData;
|
||||||
|
data.MemberData[nameof(hasBattery)] = BitConverter.GetBytes(hasBattery);
|
||||||
|
data.MemberData[nameof(hasRumble)] = BitConverter.GetBytes(hasRumble);
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
data.MemberData[nameof(romBank)] = BitConverter.GetBytes(romBank);
|
||||||
|
data.MemberData[nameof(ramBank)] = BitConverter.GetBytes(ramBank);
|
||||||
|
data.MemberData[nameof(ramEnable)] = BitConverter.GetBytes(ramEnable);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Xml;
|
||||||
|
|
||||||
namespace Essgee.Emulation.Cartridges.Nintendo
|
namespace Essgee.Emulation.Cartridges.Nintendo
|
||||||
{
|
{
|
||||||
@ -17,11 +18,17 @@ namespace Essgee.Emulation.Cartridges.Nintendo
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
ramData = data.MemberData[nameof(ramData)];
|
||||||
|
hasBattery = BitConverter.ToBoolean(data.MemberData[nameof(hasBattery)]);
|
||||||
|
//看是否还需要补存储字段
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
data.MemberData[nameof(ramData)] = ramData;
|
||||||
|
data.MemberData[nameof(hasBattery)] = BitConverter.GetBytes(hasBattery);
|
||||||
|
//看是否还需要补存储字段
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -99,11 +99,12 @@ namespace Essgee.Emulation
|
|||||||
public (string Manufacturer, string Model, string DatFileName, double RefreshRate, double PixelAspectRatio, (string Name, string Description)[] RuntimeOptions) Information =>
|
public (string Manufacturer, string Model, string DatFileName, double RefreshRate, double PixelAspectRatio, (string Name, string Description)[] RuntimeOptions) Information =>
|
||||||
(emulator.ManufacturerName, emulator.ModelName, emulator.DatFilename, emulator.RefreshRate, emulator.PixelAspectRatio, emulator.RuntimeOptions);
|
(emulator.ManufacturerName, emulator.ModelName, emulator.DatFilename, emulator.RefreshRate, emulator.PixelAspectRatio, emulator.RuntimeOptions);
|
||||||
|
|
||||||
public EmulatorHandler(Type type, Action<Exception> exceptionHandler = null)
|
public EmulatorHandler(Type type, Action<Exception> exceptionHandler = null, IAxiEssgssStatusBytesCover statusBytesCover = null)
|
||||||
{
|
{
|
||||||
this.exceptionHandler = exceptionHandler;
|
this.exceptionHandler = exceptionHandler;
|
||||||
|
|
||||||
emulator = (IMachine)Activator.CreateInstance(type);
|
emulator = (IMachine)Activator.CreateInstance(type);
|
||||||
|
AxiStatus.Init(statusBytesCover);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetConfiguration(IConfiguration config)
|
public void SetConfiguration(IConfiguration config)
|
||||||
|
|||||||
@ -136,11 +136,93 @@ namespace Essgee.Emulation.Machines
|
|||||||
|
|
||||||
public void LoadAxiStatus(AxiEssgssStatusData data)
|
public void LoadAxiStatus(AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
|
//config 暂时不需要存什么?
|
||||||
|
//configuration. = data.MemberData[nameof(configuration.)].ToEnum<TVStandard>();
|
||||||
|
|
||||||
|
if (data.MemberData.ContainsKey(nameof(bootstrap)))
|
||||||
|
bootstrap = data.MemberData[nameof(bootstrap)];
|
||||||
|
|
||||||
|
cartridge.LoadAxiStatus(data.ClassData[nameof(cartridge)]);
|
||||||
|
wram = data.MemberData[nameof(wram)];
|
||||||
|
hram = data.MemberData[nameof(hram)];
|
||||||
|
ie = data.MemberData[nameof(ie)].First();
|
||||||
|
cpu.LoadAxiStatus(data.ClassData[nameof(cpu)]);
|
||||||
|
video.LoadAxiStatus(data.ClassData[nameof(video)]);
|
||||||
|
audio.LoadAxiStatus(data.ClassData[nameof(audio)]);
|
||||||
|
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
|
||||||
|
|
||||||
|
joypadRegister = data.MemberData[nameof(joypadRegister)].First();
|
||||||
|
serialData = data.MemberData[nameof(serialData)].First();
|
||||||
|
serialUseInternalClock = BitConverter.ToBoolean(data.MemberData[nameof(serialUseInternalClock)]);
|
||||||
|
divider = data.MemberData[nameof(divider)].First();
|
||||||
|
timerCounter = data.MemberData[nameof(timerCounter)].First();
|
||||||
|
clockCycleCount = BitConverter.ToUInt16(data.MemberData[nameof(clockCycleCount)]);
|
||||||
|
timerModulo = data.MemberData[nameof(timerModulo)].First();
|
||||||
|
timerRunning = BitConverter.ToBoolean(data.MemberData[nameof(timerRunning)]);
|
||||||
|
timerInputClock = data.MemberData[nameof(timerInputClock)].First();
|
||||||
|
timerOverflow = BitConverter.ToBoolean(data.MemberData[nameof(timerOverflow)]);
|
||||||
|
timerLoading = BitConverter.ToBoolean(data.MemberData[nameof(timerLoading)]);
|
||||||
|
irqVBlank = BitConverter.ToBoolean(data.MemberData[nameof(irqVBlank)]);
|
||||||
|
irqLCDCStatus = BitConverter.ToBoolean(data.MemberData[nameof(irqLCDCStatus)]);
|
||||||
|
irqTimerOverflow = BitConverter.ToBoolean(data.MemberData[nameof(irqTimerOverflow)]);
|
||||||
|
irqSerialIO = BitConverter.ToBoolean(data.MemberData[nameof(irqSerialIO)]);
|
||||||
|
irqKeypad = BitConverter.ToBoolean(data.MemberData[nameof(irqKeypad)]);
|
||||||
|
bootstrapDisabled = BitConverter.ToBoolean(data.MemberData[nameof(bootstrapDisabled)]);
|
||||||
|
|
||||||
|
|
||||||
|
serialBitsCounter = BitConverter.ToInt32(data.MemberData[nameof(serialBitsCounter)]);
|
||||||
|
serialCycles = BitConverter.ToInt32(data.MemberData[nameof(serialCycles)]);
|
||||||
|
currentMasterClockCyclesInFrame = BitConverter.ToInt32(data.MemberData[nameof(currentMasterClockCyclesInFrame)]);
|
||||||
|
totalMasterClockCyclesInFrame = BitConverter.ToInt32(data.MemberData[nameof(totalMasterClockCyclesInFrame)]);
|
||||||
|
|
||||||
|
ReconfigureSystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxiEssgssStatusData SaveAxiStatus()
|
public AxiEssgssStatusData SaveAxiStatus()
|
||||||
{
|
{
|
||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
|
|
||||||
|
//config 暂时不需要存什么?
|
||||||
|
//data.MemberData[nameof(configuration.TVStandard)] = configuration.TVStandard.ToByteArray();
|
||||||
|
|
||||||
|
if (bootstrap != null)
|
||||||
|
data.MemberData[nameof(bootstrap)] = bootstrap;
|
||||||
|
|
||||||
|
data.ClassData[nameof(cartridge)] = cartridge.SaveAxiStatus();
|
||||||
|
data.MemberData[nameof(wram)] = wram;
|
||||||
|
data.MemberData[nameof(hram)] = hram;
|
||||||
|
data.MemberData[nameof(ie)] = BitConverter.GetBytes(ie);
|
||||||
|
data.ClassData[nameof(cpu)] = cpu.SaveAxiStatus();
|
||||||
|
data.ClassData[nameof(video)] = video.SaveAxiStatus();
|
||||||
|
data.ClassData[nameof(audio)] = audio.SaveAxiStatus();
|
||||||
|
|
||||||
|
//看是否还需要补存储字段
|
||||||
|
|
||||||
|
data.MemberData[nameof(joypadRegister)] = BitConverter.GetBytes(joypadRegister);
|
||||||
|
data.MemberData[nameof(serialData)] = BitConverter.GetBytes(serialData);
|
||||||
|
data.MemberData[nameof(serialUseInternalClock)] = BitConverter.GetBytes(serialUseInternalClock);
|
||||||
|
data.MemberData[nameof(divider)] = BitConverter.GetBytes(divider);
|
||||||
|
data.MemberData[nameof(timerCounter)] = BitConverter.GetBytes(timerCounter);
|
||||||
|
data.MemberData[nameof(clockCycleCount)] = BitConverter.GetBytes(clockCycleCount);
|
||||||
|
data.MemberData[nameof(timerModulo)] = BitConverter.GetBytes(timerModulo);
|
||||||
|
data.MemberData[nameof(timerRunning)] = BitConverter.GetBytes(timerRunning);
|
||||||
|
data.MemberData[nameof(timerInputClock)] = BitConverter.GetBytes(timerInputClock);
|
||||||
|
data.MemberData[nameof(timerOverflow)] = BitConverter.GetBytes(timerOverflow);
|
||||||
|
data.MemberData[nameof(timerLoading)] = BitConverter.GetBytes(timerLoading);
|
||||||
|
data.MemberData[nameof(irqVBlank)] = BitConverter.GetBytes(irqVBlank);
|
||||||
|
data.MemberData[nameof(irqLCDCStatus)] = BitConverter.GetBytes(irqLCDCStatus);
|
||||||
|
data.MemberData[nameof(irqTimerOverflow)] = BitConverter.GetBytes(irqTimerOverflow);
|
||||||
|
data.MemberData[nameof(irqSerialIO)] = BitConverter.GetBytes(irqSerialIO);
|
||||||
|
data.MemberData[nameof(irqKeypad)] = BitConverter.GetBytes(irqKeypad);
|
||||||
|
data.MemberData[nameof(bootstrapDisabled)] = BitConverter.GetBytes(bootstrapDisabled);
|
||||||
|
|
||||||
|
data.MemberData[nameof(serialBitsCounter)] = BitConverter.GetBytes(serialBitsCounter);
|
||||||
|
data.MemberData[nameof(serialCycles)] = BitConverter.GetBytes(serialCycles);
|
||||||
|
data.MemberData[nameof(currentMasterClockCyclesInFrame)] = BitConverter.GetBytes(currentMasterClockCyclesInFrame);
|
||||||
|
data.MemberData[nameof(totalMasterClockCyclesInFrame)] = BitConverter.GetBytes(totalMasterClockCyclesInFrame);
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -301,7 +301,9 @@ namespace Essgee.Emulation.Machines
|
|||||||
{
|
{
|
||||||
configuration.Region = data.MemberData[nameof(configuration.Region)].ToEnum<Region>();
|
configuration.Region = data.MemberData[nameof(configuration.Region)].ToEnum<Region>();
|
||||||
|
|
||||||
bootstrap.LoadAxiStatus(data.ClassData[nameof(bootstrap)]);
|
if (data.ClassData.ContainsKey(nameof(bootstrap)))
|
||||||
|
bootstrap.LoadAxiStatus(data.ClassData[nameof(bootstrap)]);
|
||||||
|
|
||||||
cartridge.LoadAxiStatus(data.ClassData[nameof(cartridge)]);
|
cartridge.LoadAxiStatus(data.ClassData[nameof(cartridge)]);
|
||||||
wram = data.MemberData[nameof(wram)];
|
wram = data.MemberData[nameof(wram)];
|
||||||
cpu.LoadAxiStatus(data.ClassData[nameof(cpu)]);
|
cpu.LoadAxiStatus(data.ClassData[nameof(cpu)]);
|
||||||
@ -327,7 +329,9 @@ namespace Essgee.Emulation.Machines
|
|||||||
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
AxiEssgssStatusData data = new AxiEssgssStatusData();
|
||||||
data.MemberData[nameof(configuration.Region)] = configuration.Region.ToByteArray();
|
data.MemberData[nameof(configuration.Region)] = configuration.Region.ToByteArray();
|
||||||
|
|
||||||
data.ClassData[nameof(bootstrap)] = bootstrap.SaveAxiStatus();
|
if (bootstrap != null)
|
||||||
|
data.ClassData[nameof(bootstrap)] = bootstrap.SaveAxiStatus();
|
||||||
|
|
||||||
data.ClassData[nameof(cartridge)] = cartridge.SaveAxiStatus();
|
data.ClassData[nameof(cartridge)] = cartridge.SaveAxiStatus();
|
||||||
data.MemberData[nameof(wram)] = wram;
|
data.MemberData[nameof(wram)] = wram;
|
||||||
data.ClassData[nameof(cpu)] = cpu.SaveAxiStatus();
|
data.ClassData[nameof(cpu)] = cpu.SaveAxiStatus();
|
||||||
|
|||||||
@ -12,6 +12,7 @@ public class AxiEssgssStatusData
|
|||||||
public Dictionary<string, AxiEssgssStatusData> ClassData = new Dictionary<string, AxiEssgssStatusData>();
|
public Dictionary<string, AxiEssgssStatusData> ClassData = new Dictionary<string, AxiEssgssStatusData>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class AxiEssgssStatusData_2DArray
|
public class AxiEssgssStatusData_2DArray
|
||||||
{
|
{
|
||||||
@ -30,25 +31,16 @@ public class AxiEssgssStatusData_2DArray
|
|||||||
return array1D.CreateByteArray2D(rows, cols);
|
return array1D.CreateByteArray2D(rows, cols);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static class AxiEssgssStatusDataExtention
|
internal static class AxiEssgssStatusDataExtention
|
||||||
{
|
{
|
||||||
public static byte[] ToByteArray(this AxiEssgssStatusData data)
|
internal static byte[] ToByteArray(this AxiEssgssStatusData data)
|
||||||
{
|
{
|
||||||
using (MemoryStream ms = new MemoryStream())
|
return AxiStatus.saveCover.ToByteArray(data);
|
||||||
{
|
|
||||||
BinaryFormatter formatter = new BinaryFormatter();
|
|
||||||
formatter.Serialize(ms, data);
|
|
||||||
return ms.ToArray();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AxiEssgssStatusData ToAxiEssgssStatusData(this byte[] byteArray)
|
internal static AxiEssgssStatusData ToAxiEssgssStatusData(this byte[] byteArray)
|
||||||
{
|
{
|
||||||
using (MemoryStream ms = new MemoryStream(byteArray))
|
return AxiStatus.saveCover.ToAxiEssgssStatusData(byteArray);
|
||||||
{
|
|
||||||
BinaryFormatter formatter = new BinaryFormatter();
|
|
||||||
return (AxiEssgssStatusData)formatter.Deserialize(ms);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public interface IAxiStatus
|
public interface IAxiStatus
|
||||||
@ -57,8 +49,19 @@ public interface IAxiStatus
|
|||||||
public AxiEssgssStatusData SaveAxiStatus();
|
public AxiEssgssStatusData SaveAxiStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public interface IAxiEssgssStatusBytesCover
|
||||||
|
{
|
||||||
|
public byte[] ToByteArray(AxiEssgssStatusData data);
|
||||||
|
public AxiEssgssStatusData ToAxiEssgssStatusData(byte[] byteArray);
|
||||||
|
}
|
||||||
|
|
||||||
internal static class AxiStatus
|
internal static class AxiStatus
|
||||||
{
|
{
|
||||||
|
public static IAxiEssgssStatusBytesCover saveCover { get; private set; }
|
||||||
|
public static void Init(IAxiEssgssStatusBytesCover coverter)
|
||||||
|
{
|
||||||
|
saveCover = coverter;
|
||||||
|
}
|
||||||
// 将任意枚举数组转换为byte[]
|
// 将任意枚举数组转换为byte[]
|
||||||
public static byte[] ToByteArray<TEnum>(this TEnum[] enumArray) where TEnum : struct, Enum
|
public static byte[] ToByteArray<TEnum>(this TEnum[] enumArray) where TEnum : struct, Enum
|
||||||
{
|
{
|
||||||
|
|||||||
@ -42,6 +42,7 @@ public class UEssgee : MonoBehaviour, IEmuCore
|
|||||||
EmulatorHandler emulatorHandler;
|
EmulatorHandler emulatorHandler;
|
||||||
UEGResources uegResources;
|
UEGResources uegResources;
|
||||||
UEGLog uegLog;
|
UEGLog uegLog;
|
||||||
|
UEGSaveByteConvert uegSaveByteConvert;
|
||||||
private Canvas mCanvas;
|
private Canvas mCanvas;
|
||||||
bool lastUserPauseState;
|
bool lastUserPauseState;
|
||||||
double currentPixelAspectRatio;
|
double currentPixelAspectRatio;
|
||||||
@ -56,6 +57,7 @@ public class UEssgee : MonoBehaviour, IEmuCore
|
|||||||
instance = this;
|
instance = this;
|
||||||
uegResources = new UEGResources();
|
uegResources = new UEGResources();
|
||||||
uegLog = new UEGLog();
|
uegLog = new UEGLog();
|
||||||
|
uegSaveByteConvert = new UEGSaveByteConvert();
|
||||||
mCanvas = GameObject.Find("Canvas").GetComponent<Canvas>();
|
mCanvas = GameObject.Find("Canvas").GetComponent<Canvas>();
|
||||||
mCanvas.worldCamera = Camera.main;
|
mCanvas.worldCamera = Camera.main;
|
||||||
//InitAll(uegResources, App.PersistentDataPath(mPlatform));
|
//InitAll(uegResources, App.PersistentDataPath(mPlatform));
|
||||||
@ -503,7 +505,7 @@ public class UEssgee : MonoBehaviour, IEmuCore
|
|||||||
if (emulatorHandler != null)
|
if (emulatorHandler != null)
|
||||||
ShutdownEmulation();
|
ShutdownEmulation();
|
||||||
|
|
||||||
emulatorHandler = new EmulatorHandler(machineType, ExceptionHandler);
|
emulatorHandler = new EmulatorHandler(machineType, ExceptionHandler, uegSaveByteConvert);
|
||||||
emulatorHandler.Initialize();
|
emulatorHandler.Initialize();
|
||||||
|
|
||||||
emulatorHandler.SendLogMessage += EmulatorHandler_SendLogMessage;
|
emulatorHandler.SendLogMessage += EmulatorHandler_SendLogMessage;
|
||||||
|
|||||||
@ -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<pb_AxiEssgssStatusData>(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<string, byte[]>();
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d9a09dfc866e362458165b925deb2c19
|
||||||
@ -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;
|
|
||||||
// }
|
|
||||||
|
|
||||||
//}
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d5855fd9c3285e144b7db2b76cf55d77
|
|
||||||
@ -0,0 +1,973 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: protobuf_AxibugEmuSnapshot.proto
|
||||||
|
// </auto-generated>
|
||||||
|
#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 {
|
||||||
|
|
||||||
|
/// <summary>Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
public static partial class ProtobufAxibugEmuSnapshotReflection {
|
||||||
|
|
||||||
|
#region Descriptor
|
||||||
|
/// <summary>File descriptor for protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
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<pb_AxiEssgssStatusData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData>(() => new pb_AxiEssgssStatusData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "MemberData" field.</summary>
|
||||||
|
public const int MemberDataFieldNumber = 1;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> _repeated_memberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> memberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> MemberData {
|
||||||
|
get { return memberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Array2DMemberData" field.</summary>
|
||||||
|
public const int Array2DMemberDataFieldNumber = 2;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> _repeated_array2DMemberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> array2DMemberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> Array2DMemberData {
|
||||||
|
get { return array2DMemberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "ClassData" field.</summary>
|
||||||
|
public const int ClassDataFieldNumber = 3;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> _repeated_classData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> classData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> 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<pb_AxiEssgssStatusData_ByteData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ByteData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ByteData>(() => new pb_AxiEssgssStatusData_ByteData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ByteData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_2DArray>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_2DArray> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_2DArray>(() => new pb_AxiEssgssStatusData_2DArray());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_2DArray> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "rows" field.</summary>
|
||||||
|
public const int RowsFieldNumber = 2;
|
||||||
|
private int rows_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Rows {
|
||||||
|
get { return rows_; }
|
||||||
|
set {
|
||||||
|
rows_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "cols" field.</summary>
|
||||||
|
public const int ColsFieldNumber = 3;
|
||||||
|
private int cols_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Cols {
|
||||||
|
get { return cols_; }
|
||||||
|
set {
|
||||||
|
cols_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_ClassData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ClassData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ClassData>(() => new pb_AxiEssgssStatusData_ClassData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ClassData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "classData" field.</summary>
|
||||||
|
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
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8a7ec08393c95db449f017aaf723bff1
|
||||||
973
AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs
Normal file
973
AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuSnapshot.cs
Normal file
@ -0,0 +1,973 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: protobuf_AxibugEmuSnapshot.proto
|
||||||
|
// </auto-generated>
|
||||||
|
#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 {
|
||||||
|
|
||||||
|
/// <summary>Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
public static partial class ProtobufAxibugEmuSnapshotReflection {
|
||||||
|
|
||||||
|
#region Descriptor
|
||||||
|
/// <summary>File descriptor for protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
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<pb_AxiEssgssStatusData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData>(() => new pb_AxiEssgssStatusData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "MemberData" field.</summary>
|
||||||
|
public const int MemberDataFieldNumber = 1;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> _repeated_memberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> memberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> MemberData {
|
||||||
|
get { return memberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Array2DMemberData" field.</summary>
|
||||||
|
public const int Array2DMemberDataFieldNumber = 2;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> _repeated_array2DMemberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> array2DMemberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> Array2DMemberData {
|
||||||
|
get { return array2DMemberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "ClassData" field.</summary>
|
||||||
|
public const int ClassDataFieldNumber = 3;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> _repeated_classData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> classData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> 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<pb_AxiEssgssStatusData_ByteData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ByteData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ByteData>(() => new pb_AxiEssgssStatusData_ByteData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ByteData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_2DArray>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_2DArray> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_2DArray>(() => new pb_AxiEssgssStatusData_2DArray());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_2DArray> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "rows" field.</summary>
|
||||||
|
public const int RowsFieldNumber = 2;
|
||||||
|
private int rows_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Rows {
|
||||||
|
get { return rows_; }
|
||||||
|
set {
|
||||||
|
rows_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "cols" field.</summary>
|
||||||
|
public const int ColsFieldNumber = 3;
|
||||||
|
private int cols_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Cols {
|
||||||
|
get { return cols_; }
|
||||||
|
set {
|
||||||
|
cols_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_ClassData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ClassData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ClassData>(() => new pb_AxiEssgssStatusData_ClassData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ClassData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "classData" field.</summary>
|
||||||
|
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
|
||||||
@ -8,7 +8,7 @@ namespace AxibugEmuOnline.Web
|
|||||||
{
|
{
|
||||||
Config.LoadConfig();
|
Config.LoadConfig();
|
||||||
AESHelper.LoadKeyIVCfg(Config.cfg.AesKey, Config.cfg.AesIv);
|
AESHelper.LoadKeyIVCfg(Config.cfg.AesKey, Config.cfg.AesIv);
|
||||||
SQLPool.InitConnMgr();
|
SQLRUN.InitConnMgr();
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
|||||||
973
AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs
Normal file
973
AxibugEmuOnline.Web/Protobuf/ProtobufAxibugEmuSnapshot.cs
Normal file
@ -0,0 +1,973 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: protobuf_AxibugEmuSnapshot.proto
|
||||||
|
// </auto-generated>
|
||||||
|
#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 {
|
||||||
|
|
||||||
|
/// <summary>Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
public static partial class ProtobufAxibugEmuSnapshotReflection {
|
||||||
|
|
||||||
|
#region Descriptor
|
||||||
|
/// <summary>File descriptor for protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
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<pb_AxiEssgssStatusData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData>(() => new pb_AxiEssgssStatusData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "MemberData" field.</summary>
|
||||||
|
public const int MemberDataFieldNumber = 1;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> _repeated_memberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> memberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> MemberData {
|
||||||
|
get { return memberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Array2DMemberData" field.</summary>
|
||||||
|
public const int Array2DMemberDataFieldNumber = 2;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> _repeated_array2DMemberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> array2DMemberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> Array2DMemberData {
|
||||||
|
get { return array2DMemberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "ClassData" field.</summary>
|
||||||
|
public const int ClassDataFieldNumber = 3;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> _repeated_classData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> classData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> 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<pb_AxiEssgssStatusData_ByteData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ByteData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ByteData>(() => new pb_AxiEssgssStatusData_ByteData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ByteData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_2DArray>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_2DArray> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_2DArray>(() => new pb_AxiEssgssStatusData_2DArray());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_2DArray> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "rows" field.</summary>
|
||||||
|
public const int RowsFieldNumber = 2;
|
||||||
|
private int rows_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Rows {
|
||||||
|
get { return rows_; }
|
||||||
|
set {
|
||||||
|
rows_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "cols" field.</summary>
|
||||||
|
public const int ColsFieldNumber = 3;
|
||||||
|
private int cols_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Cols {
|
||||||
|
get { return cols_; }
|
||||||
|
set {
|
||||||
|
cols_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_ClassData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ClassData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ClassData>(() => new pb_AxiEssgssStatusData_ClassData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ClassData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "classData" field.</summary>
|
||||||
|
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
|
||||||
973
ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs
Normal file
973
ProtobufCore/out/CS/ProtobufAxibugEmuSnapshot.cs
Normal file
@ -0,0 +1,973 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
|
// source: protobuf_AxibugEmuSnapshot.proto
|
||||||
|
// </auto-generated>
|
||||||
|
#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 {
|
||||||
|
|
||||||
|
/// <summary>Holder for reflection information generated from protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
public static partial class ProtobufAxibugEmuSnapshotReflection {
|
||||||
|
|
||||||
|
#region Descriptor
|
||||||
|
/// <summary>File descriptor for protobuf_AxibugEmuSnapshot.proto</summary>
|
||||||
|
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<pb_AxiEssgssStatusData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData>(() => new pb_AxiEssgssStatusData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "MemberData" field.</summary>
|
||||||
|
public const int MemberDataFieldNumber = 1;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> _repeated_memberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> memberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ByteData> MemberData {
|
||||||
|
get { return memberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Array2DMemberData" field.</summary>
|
||||||
|
public const int Array2DMemberDataFieldNumber = 2;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> _repeated_array2DMemberData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> array2DMemberData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_2DArray> Array2DMemberData {
|
||||||
|
get { return array2DMemberData_; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "ClassData" field.</summary>
|
||||||
|
public const int ClassDataFieldNumber = 3;
|
||||||
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> _repeated_classData_codec
|
||||||
|
= pb::FieldCodec.ForMessage(26, global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData.Parser);
|
||||||
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> classData_ = new pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData>();
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public pbc::RepeatedField<global::AxibugProtobuf.pb_AxiEssgssStatusData_ClassData> 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<pb_AxiEssgssStatusData_ByteData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ByteData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ByteData>(() => new pb_AxiEssgssStatusData_ByteData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ByteData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_2DArray>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_2DArray> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_2DArray>(() => new pb_AxiEssgssStatusData_2DArray());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_2DArray> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "rows" field.</summary>
|
||||||
|
public const int RowsFieldNumber = 2;
|
||||||
|
private int rows_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Rows {
|
||||||
|
get { return rows_; }
|
||||||
|
set {
|
||||||
|
rows_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "cols" field.</summary>
|
||||||
|
public const int ColsFieldNumber = 3;
|
||||||
|
private int cols_;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public int Cols {
|
||||||
|
get { return cols_; }
|
||||||
|
set {
|
||||||
|
cols_ = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "Raw" field.</summary>
|
||||||
|
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<pb_AxiEssgssStatusData_ClassData>
|
||||||
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||||
|
, pb::IBufferMessage
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
private static readonly pb::MessageParser<pb_AxiEssgssStatusData_ClassData> _parser = new pb::MessageParser<pb_AxiEssgssStatusData_ClassData>(() => new pb_AxiEssgssStatusData_ClassData());
|
||||||
|
private pb::UnknownFieldSet _unknownFields;
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||||
|
public static pb::MessageParser<pb_AxiEssgssStatusData_ClassData> 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "KeyName" field.</summary>
|
||||||
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Field number for the "classData" field.</summary>
|
||||||
|
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
|
||||||
30
ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto
Normal file
30
ProtobufCore/proto/protobuf_AxibugEmuSnapshot.proto
Normal file
@ -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;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user