From d05d69735dcd116902c51c5b7b98dae82b2181ba Mon Sep 17 00:00:00 2001
From: sin365 <353374337@qq.com>
Date: Wed, 8 Jan 2025 23:18:21 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=97=8Ffixed=EF=BC=8C=E5=8D=8F?=
=?UTF-8?q?=E8=AE=AE=E6=9B=B4=E6=96=B0=20=E9=83=A8=E5=88=86=E5=8D=B3?=
=?UTF-8?q?=E6=97=B6=E5=AD=98=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Assets/Script/AppMain/App.cs | 2 +
.../Assets/Script/AppMain/Event/EEvent.cs | 4 +
.../Script/AppMain/Manager/AppGameSavMgr.cs | 133 ++
.../AppMain/Manager/AppGameSavMgr.cs.meta | 2 +
.../Assets/Script/AppMain/Manager/AppRoom.cs | 16 +-
.../Assets/Script/AppMain/Manager/AppShare.cs | 2 +-
.../Protobuf/ProtobufAxibugEmuOnline.cs | 1917 ++++++++++++++++-
.../AppMain/UI/InGameUI/StepPerformer.cs | 3 +-
AxibugEmuOnline.Server/Common/Config.cs | 1 +
.../Common/GameScreenConvet.cs | 6 +
.../Manager/GameShareManager.cs | 8 +-
.../Manager/LoginManager.cs | 4 -
.../Manager/SavDataManager.cs | 154 ++
AxibugEmuOnline.Server/Program.cs | 5 +
.../FolderProfile1.pubxml.user | 2 +-
.../Protobuf/ProtobufAxibugEmuOnline.cs | 1917 ++++++++++++++++-
.../PublishProfiles/FolderProfile.pubxml.user | 2 +-
.../out/CS/ProtobufAxibugEmuOnline.cs | 1917 ++++++++++++++++-
.../proto/protobuf_AxibugEmuOnline.proto | 61 +-
19 files changed, 6014 insertions(+), 142 deletions(-)
create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs
create mode 100644 AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs.meta
create mode 100644 AxibugEmuOnline.Server/Common/GameScreenConvet.cs
create mode 100644 AxibugEmuOnline.Server/Manager/SavDataManager.cs
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/App.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/App.cs
index c9125375..6eb207f0 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/App.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/App.cs
@@ -29,6 +29,7 @@ namespace AxibugEmuOnline.Client.ClientCore
public static AppRoom roomMgr;
public static AppSettings settings;
public static AppShare share;
+ private static object gameSavMgr;
static bool bTest;
static string mTestSrvIP;
#region Mono
@@ -70,6 +71,7 @@ namespace AxibugEmuOnline.Client.ClientCore
CacheMgr = new CacheManager();
roomMgr = new AppRoom();
share = new AppShare();
+ gameSavMgr = new AppGameSavMgr();
bTest = isTest;
mTestSrvIP = testSrvIP;
var go = new GameObject("[AppAxibugEmuOnline]");
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs
index ce00a72c..b59696ef 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs
@@ -90,5 +90,9 @@
/// RomID
///
OnRomStarStateChanged, //TODO 实现这个事件
+ ///
+ /// 网络即时存档列表更新
+ ///
+ OnNetGameSavListUpdate,
}
}
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs
new file mode 100644
index 00000000..9f628186
--- /dev/null
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs
@@ -0,0 +1,133 @@
+using AxibugEmuOnline.Client.ClientCore;
+using AxibugEmuOnline.Client.Common;
+using AxibugEmuOnline.Client.Event;
+using AxibugEmuOnline.Client.Network;
+using AxibugProtobuf;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace AxibugEmuOnline.Client.Manager
+{
+ public class AppGameSavMgr
+ {
+ Dictionary dictRomId2SavInfo = new Dictionary();
+ public AppGameSavMgr()
+ {
+ NetMsg.Instance.RegNetMsgEvent((int)CommandID.CmdGamesavGetGameSavList, RecvGetGameSavList);
+ NetMsg.Instance.RegNetMsgEvent((int)CommandID.CmdGamesavDelGameSav, RecvDelGameSavList);
+ NetMsg.Instance.RegNetMsgEvent((int)CommandID.CmdGamesavUploadGameSav, RecvUpLoadGameSav);
+ }
+
+ ///
+ /// 从数据层取存档列表数据(一般是OnNetGameSavListUpdate事件来了之后来取数据)
+ ///
+ ///
+ ///
+ public Protobuf_Mine_GameSavInfo[] GetRomSaveIDList(int RomID)
+ {
+ if (!dictRomId2SavInfo.ContainsKey(RomID))
+ {
+ dictRomId2SavInfo[RomID] = null;
+ }
+ return dictRomId2SavInfo[RomID];
+ }
+
+ ///
+ /// 发送请求即时存档列表
+ ///
+ ///
+ public void SendGetGameSavList(int RomID)
+ {
+ Protobuf_Mine_GetGameSavList req = new Protobuf_Mine_GetGameSavList()
+ {
+ RomID = RomID,
+ };
+ App.log.Info($"SendGetGameSavList");
+ App.network.SendToServer((int)CommandID.CmdGamesavGetGameSavList, ProtoBufHelper.Serizlize(req));
+ }
+
+ void RecvGetGameSavList(byte[] reqData)
+ {
+ Protobuf_Mine_GetGameSavList_RESP msg = ProtoBufHelper.DeSerizlize(reqData);
+
+ Protobuf_Mine_GameSavInfo[] savArr = GetRomSaveIDList(msg.RomID);
+ for (int i = 0; i < savArr.Length; i++)
+ {
+ Protobuf_Mine_GameSavInfo info = msg.SavDataList.FirstOrDefault(w => w.SavDataIdx == i);
+ savArr[i] = info;
+ }
+ Eventer.Instance.PostEvent(EEvent.OnNetGameSavListUpdate, msg.RomID);
+ }
+
+ ///
+ /// 发送删除即时存档
+ ///
+ ///
+ ///
+ public void SendDelGameSavList(int RomID,int SavDataIdx)
+ {
+ Protobuf_Mine_DelGameSav req = new Protobuf_Mine_DelGameSav()
+ {
+ RomID = RomID,
+ SavDataIdx = SavDataIdx
+ };
+ App.log.Info($"SendDelGameSavList");
+ App.network.SendToServer((int)CommandID.CmdGamesavGetGameSavList, ProtoBufHelper.Serizlize(req));
+ }
+
+ void RecvDelGameSavList(byte[] reqData)
+ {
+ Protobuf_Mine_DelGameSav_RESP msg = ProtoBufHelper.DeSerizlize(reqData);
+
+ Protobuf_Mine_GameSavInfo[] savArr = GetRomSaveIDList(msg.RomID);
+ savArr[msg.SavDataIdx] = null;
+ Eventer.Instance.PostEvent(EEvent.OnNetGameSavListUpdate, msg.RomID);
+ }
+
+ ///
+ /// 上传即时存档
+ ///
+ ///
+ ///
+ public void SendUpLoadGameSav(int RomID,int SavDataIdx, byte[] RawData, byte[] SavImgData)
+ {
+ //压缩
+ byte[] compressRawData = Helper.CompressByteArray(RawData);
+
+ //压缩
+ byte[] compressImgData = Helper.CompressByteArray(SavImgData);
+
+ Protobuf_Mine_UpLoadGameSav req = new Protobuf_Mine_UpLoadGameSav()
+ {
+ RomID = RomID,
+ SavDataIdx = SavDataIdx,
+ StateRaw = Google.Protobuf.ByteString.CopyFrom(compressRawData),
+ SavImg = Google.Protobuf.ByteString.CopyFrom(compressImgData),
+ };
+
+ App.log.Info($"SendDelGameSavList");
+ App.log.Info($"上传即时存档数据 原数据大小:{RawData.Length},压缩后;{compressRawData.Length}");
+ App.log.Info($"上传截图 原数据大小:{SavImgData.Length},压缩后;{compressImgData.Length}");
+
+ App.network.SendToServer((int)CommandID.CmdGamesavGetGameSavList, ProtoBufHelper.Serizlize(req));
+ }
+
+ void RecvUpLoadGameSav(byte[] reqData)
+ {
+ Protobuf_Mine_UpLoadGameSav_RESP msg = ProtoBufHelper.DeSerizlize(reqData);
+
+ Protobuf_Mine_GameSavInfo[] savArr = GetRomSaveIDList(msg.RomID);
+ savArr[msg.UploadSevInfo.SavDataIdx] = msg.UploadSevInfo;
+ Eventer.Instance.PostEvent(EEvent.OnNetGameSavListUpdate, msg.RomID);
+ }
+
+ ///
+ /// 即时存档或网络截图下载完成之后,需要先解压再使用
+ ///
+ ///
+ public byte[] UnGzipData(byte[] data)
+ {
+ return Helper.DecompressByteArray(data);
+ }
+ }
+}
\ No newline at end of file
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs.meta b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs.meta
new file mode 100644
index 00000000..c0ac88dd
--- /dev/null
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppGameSavMgr.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: c83a305f1221ec543930b06c37d80328
\ No newline at end of file
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs
index 85bc5f92..1bb6a35a 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs
@@ -491,12 +491,20 @@ namespace AxibugEmuOnline.Client.Manager
App.log.Info($"鸡翅孙当上报成功");
}
- ///
- /// 即时存档加载完毕
- ///
- public void SendRoomPlayerReady()
+ ///
+ /// 即时存档加载完毕
+ ///
+ /// push帧所需平均时间(微秒)
+ /// 加载即时存档所需平均时间(微秒)
+ /// 视频一帧所需时间(微秒)
+ /// 音频处理一帧所需时间(微秒)
+ public void SendRoomPlayerReady(float PushFrameNeedTimeUs,float LoadStateNeedTimeUs,float VideoFrameShowNeedTimeUs,float AudioFramePlayNeedTimeUs)
{
App.log.Debug("上报准备完毕");
+ _Protobuf_Room_Player_Ready.PushFrameNeedTimeUs = PushFrameNeedTimeUs;
+ _Protobuf_Room_Player_Ready.LoadStateNeedTimeUs = LoadStateNeedTimeUs;
+ _Protobuf_Room_Player_Ready.VideoFrameShowNeedTimeUs = VideoFrameShowNeedTimeUs;
+ _Protobuf_Room_Player_Ready.AudioFramePlayNeedTimeUs = AudioFramePlayNeedTimeUs;
App.network.SendToServer((int)CommandID.CmdRoomPlayerReady, ProtoBufHelper.Serizlize(_Protobuf_Room_Player_Ready));
}
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs
index 0f8179df..32f9c97a 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs
@@ -25,7 +25,7 @@ namespace AxibugEmuOnline.Client.Manager
Motion = Motion,
RomID = RomID,
};
- App.log.Info($"LeavnRoom");
+ App.log.Info($"SendGameStar");
App.network.SendToServer((int)CommandID.CmdGameMark, ProtoBufHelper.Serizlize(req));
}
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs
index 22e17773..d12c6a4e 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs
@@ -105,46 +105,66 @@ namespace AxibugProtobuf {
"ASgFEg8KB0ZyYW1lSUQYAiABKAUSEQoJUmF3Qml0bWFwGAMgASgMIjMKElBy",
"b3RvYnVmX0dhbWVfTWFyaxINCgVSb21JRBgBIAEoBRIOCgZtb3Rpb24YAiAB",
"KAUiRwoXUHJvdG9idWZfR2FtZV9NYXJrX1JFU1ASDQoFUm9tSUQYASABKAUS",
- "DgoGSXNTdGFyGAIgASgFEg0KBXN0YXJzGAMgASgFKqEFCglDb21tYW5kSUQS",
- "DgoKQ01EX0RFRkFVTBAAEgwKCENNRF9QSU5HEAESDAoIQ01EX1BPTkcQAhIO",
- "C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QChIRCg1BbmRyb2lkQ2FyQXBwEAsqkwIKC0dh",
+ "bWVQYWRUeXBlEgwKCEtleWJvYXJkEAASEQoNR2xvYmFsR2FtZVBhZBABEg4K",
+ "ClRvdWNoUGFuZWwQAhIOCgpEUzNDb250cm9sEAMSDgoKRFM0Q29udHJvbBAE",
+ "Eg4KCkRTNUNvbnRyb2wQBRIUChBTd2l0Y2hQcm9Db250cm9sEAYSEAoMU3dp",
+ "dGNoSm95Q29uEAcSEgoOWEJPWDM2MENvbnRyb2wQCBISCg5YQk9YT05FQ29u",
+ "dHJvbBAJEhEKDVBTVml0YUNvbnRyb2wQChISCg5XaWlVUGFkQ29udHJvbBAL",
+ "EhQKEFdpaVJlbW90ZUNvbnRyb2wQDBIWChJOaW50ZW5kbzNEU0NvbnRyb2wQ",
+ "DSqiAQoPUm9tUGxhdGZvcm1UeXBlEgsKB0ludmFsaWQQABIHCgNOZXMQARIR",
+ "Cg1NYXN0ZXJfU3lzdGVtEAISDQoJR2FtZV9HZWFyEAMSDAoIR2FtZV9Cb3kQ",
+ "BBISCg5HYW1lX0JveV9Db2xvchAFEhEKDUNvbGVjb19WaXNpb24QBhILCgdT",
+ "Q18zMDAwEAcSCwoHU0dfMTAwMBAIEggKA0FsbBDnBypwCg1Sb29tR2FtZVN0",
+ "YXRlEhIKDk5vbmVfR2FtZVN0YXRlEAASDAoIT25seUhvc3QQARIRCg1XYWl0",
+ "UmF3VXBkYXRlEAISDQoJV2FpdFJlYWR5EAMSCQoFUGF1c2UQBBIQCgxJbk9u",
+ "bGluZUdhbWUQBSpOChFMb2dpblJlc3VsdFN0YXR1cxIhCh1Mb2dpblJlc3Vs",
+ "dFN0YXR1c19CYXNlRGVmYXVsdBAAEgYKAk9LEAESDgoKQWNjb3VudEVychAC",
+ "QgJIAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.GamePadType), typeof(global::AxibugProtobuf.RomPlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -190,7 +210,14 @@ namespace AxibugProtobuf {
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "Motion" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList.Parser, new[]{ "RomID" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP.Parser, new[]{ "RomID", "SavDataList" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GameSavInfo), global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser, new[]{ "BHadSaveData", "SavDataIdx", "RomID", "GamePlatformType", "SavDate", "SavName", "Note", "SavImgUrl", "SavUrl" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav), global::AxibugProtobuf.Protobuf_Mine_DelGameSav.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav.Parser, new[]{ "RomID", "SavDataIdx", "SavImg", "StateRaw" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP.Parser, new[]{ "RomID", "UploadSevInfo" }, null, null, null, null)
}));
}
#endregion
@@ -321,7 +348,19 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("CMD_Screen")] CmdScreen = 7001,
///
- ///房间列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
+ ///即时存档
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_GetGameSavList")] CmdGamesavGetGameSavList = 8001,
+ ///
+ ///玩家删除即时存档 上行 | 下行 对应 Protobuf_Mine_DelGameSavList | Protobuf_Mine_DelGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_DelGameSav")] CmdGamesavDelGameSav = 8005,
+ ///
+ ///玩家上传即时存档 上行 | 下行 对应 Protobuf_Mine_UpLoadGameSavList | Protobuf_Mine_UpLoadGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_UploadGameSav")] CmdGamesavUploadGameSav = 8010,
+ ///
+ ///获取即时存档列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
///
[pbr::OriginalName("CMD_GAME_MARK")] CmdGameMark = 10101,
}
@@ -348,6 +387,10 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("ERROR_ROOM_CANT_DO_CURR_STATE")] ErrorRoomCantDoCurrState = 50,
///
+ ///即时存档不存在
+ ///
+ [pbr::OriginalName("ERROR_ROM_DONT_HAD_SAVEDATA")] ErrorRomDontHadSavedata = 80,
+ ///
///已经收藏
///
[pbr::OriginalName("ERROR_ROM_ALREADY_HAD_STAR")] ErrorRomAlreadyHadStar = 403,
@@ -9749,6 +9792,1796 @@ namespace AxibugProtobuf {
}
+ public sealed partial class Protobuf_Mine_GetGameSavList : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[43]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList(Protobuf_Mine_GetGameSavList other) : this() {
+ romID_ = other.romID_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList Clone() {
+ return new Protobuf_Mine_GetGameSavList(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GetGameSavList_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[44]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP(Protobuf_Mine_GetGameSavList_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataList_ = other.savDataList_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP Clone() {
+ return new Protobuf_Mine_GetGameSavList_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataList" field.
+ public const int SavDataListFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_savDataList_codec
+ = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser);
+ private readonly pbc::RepeatedField savDataList_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField SavDataList {
+ get { return savDataList_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if(!savDataList_.Equals(other.savDataList_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ hash ^= savDataList_.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(output, _repeated_savDataList_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) {
+ if (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(ref output, _repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ size += savDataList_.CalculateSize(_repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ savDataList_.Add(other.savDataList_);
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(input, _repeated_savDataList_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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(ref input, _repeated_savDataList_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GameSavInfo : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GameSavInfo());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[45]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo(Protobuf_Mine_GameSavInfo other) : this() {
+ bHadSaveData_ = other.bHadSaveData_;
+ savDataIdx_ = other.savDataIdx_;
+ romID_ = other.romID_;
+ gamePlatformType_ = other.gamePlatformType_;
+ savDate_ = other.savDate_;
+ savName_ = other.savName_;
+ note_ = other.note_;
+ savImgUrl_ = other.savImgUrl_;
+ savUrl_ = other.savUrl_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo Clone() {
+ return new Protobuf_Mine_GameSavInfo(this);
+ }
+
+ /// Field number for the "bHadSaveData" field.
+ public const int BHadSaveDataFieldNumber = 1;
+ private bool bHadSaveData_;
+ ///
+ ///是否有存档
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool BHadSaveData {
+ get { return bHadSaveData_; }
+ set {
+ bHadSaveData_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 3;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "GamePlatformType" field.
+ public const int GamePlatformTypeFieldNumber = 4;
+ private global::AxibugProtobuf.RomPlatformType gamePlatformType_ = global::AxibugProtobuf.RomPlatformType.Invalid;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.RomPlatformType GamePlatformType {
+ get { return gamePlatformType_; }
+ set {
+ gamePlatformType_ = value;
+ }
+ }
+
+ /// Field number for the "SavDate" field.
+ public const int SavDateFieldNumber = 5;
+ private string savDate_ = "";
+ ///
+ ///存档时间
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavDate {
+ get { return savDate_; }
+ set {
+ savDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavName" field.
+ public const int SavNameFieldNumber = 6;
+ private string savName_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavName {
+ get { return savName_; }
+ set {
+ savName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "Note" field.
+ public const int NoteFieldNumber = 7;
+ private string note_ = "";
+ ///
+ ///备注
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Note {
+ get { return note_; }
+ set {
+ note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavImgUrl" field.
+ public const int SavImgUrlFieldNumber = 8;
+ private string savImgUrl_ = "";
+ ///
+ ///即时存档截图Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavImgUrl {
+ get { return savImgUrl_; }
+ set {
+ savImgUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavUrl" field.
+ public const int SavUrlFieldNumber = 9;
+ private string savUrl_ = "";
+ ///
+ ///即时存档下载Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavUrl {
+ get { return savUrl_; }
+ set {
+ savUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GameSavInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GameSavInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (BHadSaveData != other.BHadSaveData) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (RomID != other.RomID) return false;
+ if (GamePlatformType != other.GamePlatformType) return false;
+ if (SavDate != other.SavDate) return false;
+ if (SavName != other.SavName) return false;
+ if (Note != other.Note) return false;
+ if (SavImgUrl != other.SavImgUrl) return false;
+ if (SavUrl != other.SavUrl) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (BHadSaveData != false) hash ^= BHadSaveData.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) hash ^= GamePlatformType.GetHashCode();
+ if (SavDate.Length != 0) hash ^= SavDate.GetHashCode();
+ if (SavName.Length != 0) hash ^= SavName.GetHashCode();
+ if (Note.Length != 0) hash ^= Note.GetHashCode();
+ if (SavImgUrl.Length != 0) hash ^= SavImgUrl.GetHashCode();
+ if (SavUrl.Length != 0) hash ^= SavUrl.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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ 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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (BHadSaveData != false) {
+ size += 1 + 1;
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavDate);
+ }
+ if (SavName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavName);
+ }
+ if (Note.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavUrl);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GameSavInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.BHadSaveData != false) {
+ BHadSaveData = other.BHadSaveData;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ GamePlatformType = other.GamePlatformType;
+ }
+ if (other.SavDate.Length != 0) {
+ SavDate = other.SavDate;
+ }
+ if (other.SavName.Length != 0) {
+ SavName = other.SavName;
+ }
+ if (other.Note.Length != 0) {
+ Note = other.Note;
+ }
+ if (other.SavImgUrl.Length != 0) {
+ SavImgUrl = other.SavImgUrl;
+ }
+ if (other.SavUrl.Length != 0) {
+ SavUrl = other.SavUrl;
+ }
+ _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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ 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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[46]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav(Protobuf_Mine_DelGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav Clone() {
+ return new Protobuf_Mine_DelGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[47]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP(Protobuf_Mine_DelGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP Clone() {
+ return new Protobuf_Mine_DelGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///删除的即时存档下标
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[48]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav(Protobuf_Mine_UpLoadGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ savImg_ = other.savImg_;
+ stateRaw_ = other.stateRaw_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav Clone() {
+ return new Protobuf_Mine_UpLoadGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "SavImg" field.
+ public const int SavImgFieldNumber = 3;
+ private pb::ByteString savImg_ = pb::ByteString.Empty;
+ ///
+ ///即时存档截图模拟器原生数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString SavImg {
+ get { return savImg_; }
+ set {
+ savImg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "StateRaw" field.
+ public const int StateRawFieldNumber = 4;
+ private pb::ByteString stateRaw_ = pb::ByteString.Empty;
+ ///
+ ///即时存档byte数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString StateRaw {
+ get { return stateRaw_; }
+ set {
+ stateRaw_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (SavImg != other.SavImg) return false;
+ if (StateRaw != other.StateRaw) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (SavImg.Length != 0) hash ^= SavImg.GetHashCode();
+ if (StateRaw.Length != 0) hash ^= StateRaw.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(StateRaw);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.SavImg.Length != 0) {
+ SavImg = other.SavImg;
+ }
+ if (other.StateRaw.Length != 0) {
+ StateRaw = other.StateRaw;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[49]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP(Protobuf_Mine_UpLoadGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ uploadSevInfo_ = other.uploadSevInfo_ != null ? other.uploadSevInfo_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP Clone() {
+ return new Protobuf_Mine_UpLoadGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "UploadSevInfo" field.
+ public const int UploadSevInfoFieldNumber = 2;
+ private global::AxibugProtobuf.Protobuf_Mine_GameSavInfo uploadSevInfo_;
+ ///
+ ///上传成功的存档详情
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.Protobuf_Mine_GameSavInfo UploadSevInfo {
+ get { return uploadSevInfo_; }
+ set {
+ uploadSevInfo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (!object.Equals(UploadSevInfo, other.UploadSevInfo)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (uploadSevInfo_ != null) hash ^= UploadSevInfo.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.uploadSevInfo_ != null) {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ UploadSevInfo.MergeFrom(other.UploadSevInfo);
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
#endregion
}
diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/StepPerformer.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/StepPerformer.cs
index 039790b8..cc30fdd1 100644
--- a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/StepPerformer.cs
+++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/StepPerformer.cs
@@ -35,7 +35,8 @@ namespace AxibugEmuOnline.Client
PauseCore();
Debug.Log($"快照加载:{Helper.FileMD5Hash(App.roomMgr.RawData)}");
m_inGameUI.Core.LoadStateFromBytes(App.roomMgr.RawData);
- App.roomMgr.SendRoomPlayerReady();
+ //TODO ready时上报性能指标
+ App.roomMgr.SendRoomPlayerReady(0,0,0,0);
break;
case 2:
m_step = -1;
diff --git a/AxibugEmuOnline.Server/Common/Config.cs b/AxibugEmuOnline.Server/Common/Config.cs
index 6a3c992b..8fedb2e3 100644
--- a/AxibugEmuOnline.Server/Common/Config.cs
+++ b/AxibugEmuOnline.Server/Common/Config.cs
@@ -21,6 +21,7 @@ namespace AxibugEmuOnline.Server.Common
public string ClientVersion { get; set; }
public string AesKey { get; set; }
public string AesIv { get; set; }
+ public string savDataPath { get; set; }
}
diff --git a/AxibugEmuOnline.Server/Common/GameScreenConvet.cs b/AxibugEmuOnline.Server/Common/GameScreenConvet.cs
new file mode 100644
index 00000000..a510e342
--- /dev/null
+++ b/AxibugEmuOnline.Server/Common/GameScreenConvet.cs
@@ -0,0 +1,6 @@
+namespace AxibugEmuOnline.Server.Common
+{
+ internal class GameScreenConvet
+ {
+ }
+}
diff --git a/AxibugEmuOnline.Server/Manager/GameShareManager.cs b/AxibugEmuOnline.Server/Manager/GameShareManager.cs
index 0361451d..09dbe531 100644
--- a/AxibugEmuOnline.Server/Manager/GameShareManager.cs
+++ b/AxibugEmuOnline.Server/Manager/GameShareManager.cs
@@ -16,6 +16,7 @@ namespace AxibugEmuOnline.Server.Manager
public void RecvGameMark(Socket _socket, byte[] reqData)
{
+ AppSrv.g_Log.DebugCmd("RecvGameMark");
Protobuf_Game_Mark msg = ProtoBufHelper.DeSerizlize(reqData);
ClientInfo _c = AppSrv.g_ClientMgr.GetClientForSocket(_socket);
Protobuf_Game_Mark_RESP respData = new Protobuf_Game_Mark_RESP();
@@ -34,7 +35,8 @@ namespace AxibugEmuOnline.Server.Manager
{
while (reader.Read())
{
- reader.GetInt32(0);
+ bHad = true;
+ break;
}
}
}
@@ -134,7 +136,7 @@ namespace AxibugEmuOnline.Server.Manager
MySqlConnection conn = SQLPool.DequeueSQLConn("CheckIsRomStart");
try
{
- string query = $"SELECT count(0) from rom_stars where uid = ?uid and = ?romid";
+ string query = $"SELECT count(id) from rom_stars where uid = ?uid and = ?romid";
using (var command = new MySqlCommand(query, conn))
{
// 设置参数值
@@ -152,7 +154,7 @@ namespace AxibugEmuOnline.Server.Manager
}
catch (Exception e)
{
- AppSrv.g_Log.Error(e);
+ AppSrv.g_Log.Error("CheckIsRomStar:"+e);
}
SQLPool.EnqueueSQLConn(conn);
return bhad;
diff --git a/AxibugEmuOnline.Server/Manager/LoginManager.cs b/AxibugEmuOnline.Server/Manager/LoginManager.cs
index 6bbc9f6a..c9c26e82 100644
--- a/AxibugEmuOnline.Server/Manager/LoginManager.cs
+++ b/AxibugEmuOnline.Server/Manager/LoginManager.cs
@@ -3,10 +3,6 @@ using AxibugEmuOnline.Server.Event;
using AxibugEmuOnline.Server.NetWork;
using AxibugProtobuf;
using MySql.Data.MySqlClient;
-using Mysqlx;
-using Org.BouncyCastle.Asn1.X9;
-using Org.BouncyCastle.Ocsp;
-using System.Collections;
using System.Net.Sockets;
namespace AxibugEmuOnline.Server.Manager
diff --git a/AxibugEmuOnline.Server/Manager/SavDataManager.cs b/AxibugEmuOnline.Server/Manager/SavDataManager.cs
new file mode 100644
index 00000000..fbc5d8d9
--- /dev/null
+++ b/AxibugEmuOnline.Server/Manager/SavDataManager.cs
@@ -0,0 +1,154 @@
+using AxibugEmuOnline.Server.Common;
+using AxibugEmuOnline.Server.NetWork;
+using AxibugProtobuf;
+using MySql.Data.MySqlClient;
+using System.Net.Sockets;
+
+namespace AxibugEmuOnline.Server.Manager
+{
+ public class SavDataManager
+ {
+ public SavDataManager()
+ {
+ NetMsg.Instance.RegNetMsgEvent((int)CommandID.CmdGamesavGetGameSavList, RecvGetGameSavList);
+ }
+
+ public void RecvGetGameSavList(Socket _socket, byte[] reqData)
+ {
+ AppSrv.g_Log.DebugCmd("RecvGetGameSavList");
+ Protobuf_Mine_GetGameSavList msg = ProtoBufHelper.DeSerizlize(reqData);
+ ClientInfo _c = AppSrv.g_ClientMgr.GetClientForSocket(_socket);
+ Protobuf_Mine_GetGameSavList_RESP respData = new Protobuf_Mine_GetGameSavList_RESP();
+
+ respData.RomID = msg.RomID;
+ Protobuf_Mine_GameSavInfo nulldata = null;
+ respData.SavDataList.Add(nulldata);
+ respData.SavDataList.Add(nulldata);
+ respData.SavDataList.Add(nulldata);
+ respData.SavDataList.Add(nulldata);
+ MySqlConnection conn = SQLPool.DequeueSQLConn("RecvGameMark");
+ try
+ {
+ string query = "SELECT `romid`, `savidx`, `savName`,`savNote`, `savUrl`,`savImgUrl`, `savDate` from user_gamesavedata where uid = ?uid and romid = ?romid";
+ bool bHad = false;
+ using (var command = new MySqlCommand(query, conn))
+ {
+ // 设置参数值
+ command.Parameters.AddWithValue("?uid", _c.UID);
+ command.Parameters.AddWithValue("?romid", msg.RomID);
+ using (var reader = command.ExecuteReader())
+ {
+ while (reader.Read())
+ {
+ Protobuf_Mine_GameSavInfo resp = new Protobuf_Mine_GameSavInfo()
+ {
+ BHadSaveData = true,
+ RomID = reader.GetInt32(0),
+ SavDataIdx = reader.GetInt32(1),
+ SavName = reader.GetString(2),
+ Note = reader.GetString(3),
+ SavUrl = reader.GetString(4),
+ SavImgUrl = reader.GetString(5),
+ SavDate = reader.GetDateTime(6).ToString()
+ };
+ respData.SavDataList[resp.SavDataIdx] = resp;
+ }
+ }
+ }
+
+ }
+ catch (Exception e)
+ {
+ }
+ SQLPool.EnqueueSQLConn(conn);
+
+ respData.RomID = msg.RomID;
+ AppSrv.g_ClientMgr.ClientSend(_c, (int)CommandID.CmdGamesavGetGameSavList, (int)ErrorCode.ErrorOk, ProtoBufHelper.Serizlize(respData));
+ }
+ public void RecvDelGameSav(Socket _socket, byte[] reqData)
+ {
+ Protobuf_Mine_DelGameSav msg = ProtoBufHelper.DeSerizlize(reqData);
+ ClientInfo _c = AppSrv.g_ClientMgr.GetClientForSocket(_socket);
+ Protobuf_Mine_DelGameSav_RESP respData = new Protobuf_Mine_DelGameSav_RESP();
+ ErrorCode errCode = ErrorCode.ErrorOk;
+ respData.RomID = msg.RomID;
+ bool bHad = false; string SavUrl = null; string SavImgUrl = null;
+ MySqlConnection conn = SQLPool.DequeueSQLConn("RecvGameMark");
+ try
+ {
+ string query = "SELECT `savUrl`,`savImgUrl`, `savDate` from user_gamesavedata where uid = ?uid and romid = ?romid and savidx = ?savidx";
+ using (var command = new MySqlCommand(query, conn))
+ {
+ // 设置参数值
+ command.Parameters.AddWithValue("?uid", _c.UID);
+ command.Parameters.AddWithValue("?romid", msg.RomID);
+ using (var reader = command.ExecuteReader())
+ {
+ while (reader.Read())
+ {
+ bHad = true;
+ SavUrl = reader.GetString(0);
+ SavImgUrl = reader.GetString(1);
+ }
+ }
+ }
+
+ }
+ catch (Exception e)
+ {
+ }
+
+
+ if (!bHad)
+ {
+ errCode = ErrorCode.ErrorRomDontHadSavedata;
+ }
+ else
+ {
+ bool bDelSav = FileDelete(Path.Combine(Config.cfg.savDataPath, SavUrl));
+ bool bDelImg = FileDelete(Path.Combine(Config.cfg.savDataPath, SavImgUrl));
+ if (bDelSav || !bDelImg)
+ {
+ errCode = ErrorCode.ErrorRomDontHadSavedata;
+ }
+ else
+ {
+
+ }
+ }
+
+ SQLPool.EnqueueSQLConn(conn);
+
+ respData.RomID = msg.RomID;
+ AppSrv.g_ClientMgr.ClientSend(_c, (int)CommandID.CmdGamesavGetGameSavList, (int)ErrorCode.ErrorOk, ProtoBufHelper.Serizlize(respData));
+ }
+
+ public bool FileDelete(string path)
+ {
+ if (!File.Exists(path))
+ return false;
+ try
+ {
+ File.Delete(path);
+ return true;
+ }
+ catch (Exception e)
+ {
+ return false;
+ }
+ }
+
+ public bool FileDelete(string path, byte[] data)
+ {
+ try
+ {
+ File.WriteAllBytes(path, data);
+ return true;
+ }
+ catch (Exception e)
+ {
+ return false;
+ }
+ }
+ }
+}
diff --git a/AxibugEmuOnline.Server/Program.cs b/AxibugEmuOnline.Server/Program.cs
index a92f448c..63f9beec 100644
--- a/AxibugEmuOnline.Server/Program.cs
+++ b/AxibugEmuOnline.Server/Program.cs
@@ -82,6 +82,11 @@ namespace AxibugEmuOnline.Server
AESHelper.GenAesKeyIV();
}
break;
+ case "t1":
+ {
+ AppSrv.g_GameShareMgr.RecvGameMark(null, null);
+ }
+ break;
default:
Console.WriteLine("未知命令" + CommandStr);
break;
diff --git a/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile1.pubxml.user b/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile1.pubxml.user
index 385d80e1..4e985b4c 100644
--- a/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile1.pubxml.user
+++ b/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile1.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2025-01-07T05:54:02.0272718Z||;True|2025-01-07T10:47:36.6196477+08:00||;True|2025-01-07T01:21:34.5863249+08:00||;False|2025-01-07T01:20:39.5344134+08:00||;True|2025-01-07T00:21:47.4863058+08:00||;True|2025-01-07T00:16:42.7998249+08:00||;False|2025-01-07T00:16:02.8107509+08:00||;False|2025-01-02T15:36:18.1906464+08:00||;False|2025-01-02T15:36:06.5622643+08:00||;True|2024-12-27T18:24:49.7554320+08:00||;
+ True|2025-01-08T15:13:47.7309044Z||;True|2025-01-08T13:32:52.0590130+08:00||;True|2025-01-08T13:31:56.8589678+08:00||;True|2025-01-07T13:54:02.0272718+08:00||;True|2025-01-07T10:47:36.6196477+08:00||;True|2025-01-07T01:21:34.5863249+08:00||;False|2025-01-07T01:20:39.5344134+08:00||;True|2025-01-07T00:21:47.4863058+08:00||;True|2025-01-07T00:16:42.7998249+08:00||;False|2025-01-07T00:16:02.8107509+08:00||;False|2025-01-02T15:36:18.1906464+08:00||;False|2025-01-02T15:36:06.5622643+08:00||;True|2024-12-27T18:24:49.7554320+08:00||;
\ No newline at end of file
diff --git a/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
index 22e17773..d12c6a4e 100644
--- a/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
+++ b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
@@ -105,46 +105,66 @@ namespace AxibugProtobuf {
"ASgFEg8KB0ZyYW1lSUQYAiABKAUSEQoJUmF3Qml0bWFwGAMgASgMIjMKElBy",
"b3RvYnVmX0dhbWVfTWFyaxINCgVSb21JRBgBIAEoBRIOCgZtb3Rpb24YAiAB",
"KAUiRwoXUHJvdG9idWZfR2FtZV9NYXJrX1JFU1ASDQoFUm9tSUQYASABKAUS",
- "DgoGSXNTdGFyGAIgASgFEg0KBXN0YXJzGAMgASgFKqEFCglDb21tYW5kSUQS",
- "DgoKQ01EX0RFRkFVTBAAEgwKCENNRF9QSU5HEAESDAoIQ01EX1BPTkcQAhIO",
- "CglDTURfTE9HSU4Q0Q8SGAoTQ01EX1VTRVJfT05MSU5FTElTVBC4FxISCg1D",
- "TURfVVNFUl9KT0lOENcXEhMKDkNNRF9VU0VSX0xFQVZFENgXEhoKFUNNRF9V",
- "U0VSX1NUQVRFX1VQREFURRDZFxIYChNDTURfTW9kaWZ5X05pY2tOYW1lEJ0Y",
- "EhwKF0NNRF9VcGRhdGVfU2VsZlVzZXJJbmZvEKYYEh0KGENNRF9VcGRhdGVf",
- "T3RoZXJVc2VySW5mbxCoGBIQCgtDTURfQ0hBVE1TRxChHxISCg1DTURfUm9v",
- "bV9MaXN0EIknEhkKFENNRF9Sb29tX0xpc3RfVXBkYXRlEIonEhgKE0NNRF9S",
- "b29tX0dldF9TY3JlZW4QkycSFAoP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W5kbzNEU0NvbnRyb2wQ",
+ "DSqiAQoPUm9tUGxhdGZvcm1UeXBlEgsKB0ludmFsaWQQABIHCgNOZXMQARIR",
+ "Cg1NYXN0ZXJfU3lzdGVtEAISDQoJR2FtZV9HZWFyEAMSDAoIR2FtZV9Cb3kQ",
+ "BBISCg5HYW1lX0JveV9Db2xvchAFEhEKDUNvbGVjb19WaXNpb24QBhILCgdT",
+ "Q18zMDAwEAcSCwoHU0dfMTAwMBAIEggKA0FsbBDnBypwCg1Sb29tR2FtZVN0",
+ "YXRlEhIKDk5vbmVfR2FtZVN0YXRlEAASDAoIT25seUhvc3QQARIRCg1XYWl0",
+ "UmF3VXBkYXRlEAISDQoJV2FpdFJlYWR5EAMSCQoFUGF1c2UQBBIQCgxJbk9u",
+ "bGluZUdhbWUQBSpOChFMb2dpblJlc3VsdFN0YXR1cxIhCh1Mb2dpblJlc3Vs",
+ "dFN0YXR1c19CYXNlRGVmYXVsdBAAEgYKAk9LEAESDgoKQWNjb3VudEVychAC",
+ "QgJIAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.GamePadType), typeof(global::AxibugProtobuf.RomPlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -190,7 +210,14 @@ namespace AxibugProtobuf {
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "Motion" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList.Parser, new[]{ "RomID" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP.Parser, new[]{ "RomID", "SavDataList" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GameSavInfo), global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser, new[]{ "BHadSaveData", "SavDataIdx", "RomID", "GamePlatformType", "SavDate", "SavName", "Note", "SavImgUrl", "SavUrl" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav), global::AxibugProtobuf.Protobuf_Mine_DelGameSav.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav.Parser, new[]{ "RomID", "SavDataIdx", "SavImg", "StateRaw" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP.Parser, new[]{ "RomID", "UploadSevInfo" }, null, null, null, null)
}));
}
#endregion
@@ -321,7 +348,19 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("CMD_Screen")] CmdScreen = 7001,
///
- ///房间列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
+ ///即时存档
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_GetGameSavList")] CmdGamesavGetGameSavList = 8001,
+ ///
+ ///玩家删除即时存档 上行 | 下行 对应 Protobuf_Mine_DelGameSavList | Protobuf_Mine_DelGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_DelGameSav")] CmdGamesavDelGameSav = 8005,
+ ///
+ ///玩家上传即时存档 上行 | 下行 对应 Protobuf_Mine_UpLoadGameSavList | Protobuf_Mine_UpLoadGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_UploadGameSav")] CmdGamesavUploadGameSav = 8010,
+ ///
+ ///获取即时存档列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
///
[pbr::OriginalName("CMD_GAME_MARK")] CmdGameMark = 10101,
}
@@ -348,6 +387,10 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("ERROR_ROOM_CANT_DO_CURR_STATE")] ErrorRoomCantDoCurrState = 50,
///
+ ///即时存档不存在
+ ///
+ [pbr::OriginalName("ERROR_ROM_DONT_HAD_SAVEDATA")] ErrorRomDontHadSavedata = 80,
+ ///
///已经收藏
///
[pbr::OriginalName("ERROR_ROM_ALREADY_HAD_STAR")] ErrorRomAlreadyHadStar = 403,
@@ -9749,6 +9792,1796 @@ namespace AxibugProtobuf {
}
+ public sealed partial class Protobuf_Mine_GetGameSavList : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[43]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList(Protobuf_Mine_GetGameSavList other) : this() {
+ romID_ = other.romID_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList Clone() {
+ return new Protobuf_Mine_GetGameSavList(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GetGameSavList_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[44]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP(Protobuf_Mine_GetGameSavList_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataList_ = other.savDataList_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP Clone() {
+ return new Protobuf_Mine_GetGameSavList_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataList" field.
+ public const int SavDataListFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_savDataList_codec
+ = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser);
+ private readonly pbc::RepeatedField savDataList_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField SavDataList {
+ get { return savDataList_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if(!savDataList_.Equals(other.savDataList_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ hash ^= savDataList_.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(output, _repeated_savDataList_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) {
+ if (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(ref output, _repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ size += savDataList_.CalculateSize(_repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ savDataList_.Add(other.savDataList_);
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(input, _repeated_savDataList_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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(ref input, _repeated_savDataList_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GameSavInfo : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GameSavInfo());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[45]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo(Protobuf_Mine_GameSavInfo other) : this() {
+ bHadSaveData_ = other.bHadSaveData_;
+ savDataIdx_ = other.savDataIdx_;
+ romID_ = other.romID_;
+ gamePlatformType_ = other.gamePlatformType_;
+ savDate_ = other.savDate_;
+ savName_ = other.savName_;
+ note_ = other.note_;
+ savImgUrl_ = other.savImgUrl_;
+ savUrl_ = other.savUrl_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo Clone() {
+ return new Protobuf_Mine_GameSavInfo(this);
+ }
+
+ /// Field number for the "bHadSaveData" field.
+ public const int BHadSaveDataFieldNumber = 1;
+ private bool bHadSaveData_;
+ ///
+ ///是否有存档
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool BHadSaveData {
+ get { return bHadSaveData_; }
+ set {
+ bHadSaveData_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 3;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "GamePlatformType" field.
+ public const int GamePlatformTypeFieldNumber = 4;
+ private global::AxibugProtobuf.RomPlatformType gamePlatformType_ = global::AxibugProtobuf.RomPlatformType.Invalid;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.RomPlatformType GamePlatformType {
+ get { return gamePlatformType_; }
+ set {
+ gamePlatformType_ = value;
+ }
+ }
+
+ /// Field number for the "SavDate" field.
+ public const int SavDateFieldNumber = 5;
+ private string savDate_ = "";
+ ///
+ ///存档时间
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavDate {
+ get { return savDate_; }
+ set {
+ savDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavName" field.
+ public const int SavNameFieldNumber = 6;
+ private string savName_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavName {
+ get { return savName_; }
+ set {
+ savName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "Note" field.
+ public const int NoteFieldNumber = 7;
+ private string note_ = "";
+ ///
+ ///备注
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Note {
+ get { return note_; }
+ set {
+ note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavImgUrl" field.
+ public const int SavImgUrlFieldNumber = 8;
+ private string savImgUrl_ = "";
+ ///
+ ///即时存档截图Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavImgUrl {
+ get { return savImgUrl_; }
+ set {
+ savImgUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavUrl" field.
+ public const int SavUrlFieldNumber = 9;
+ private string savUrl_ = "";
+ ///
+ ///即时存档下载Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavUrl {
+ get { return savUrl_; }
+ set {
+ savUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GameSavInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GameSavInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (BHadSaveData != other.BHadSaveData) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (RomID != other.RomID) return false;
+ if (GamePlatformType != other.GamePlatformType) return false;
+ if (SavDate != other.SavDate) return false;
+ if (SavName != other.SavName) return false;
+ if (Note != other.Note) return false;
+ if (SavImgUrl != other.SavImgUrl) return false;
+ if (SavUrl != other.SavUrl) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (BHadSaveData != false) hash ^= BHadSaveData.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) hash ^= GamePlatformType.GetHashCode();
+ if (SavDate.Length != 0) hash ^= SavDate.GetHashCode();
+ if (SavName.Length != 0) hash ^= SavName.GetHashCode();
+ if (Note.Length != 0) hash ^= Note.GetHashCode();
+ if (SavImgUrl.Length != 0) hash ^= SavImgUrl.GetHashCode();
+ if (SavUrl.Length != 0) hash ^= SavUrl.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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ 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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (BHadSaveData != false) {
+ size += 1 + 1;
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavDate);
+ }
+ if (SavName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavName);
+ }
+ if (Note.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavUrl);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GameSavInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.BHadSaveData != false) {
+ BHadSaveData = other.BHadSaveData;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ GamePlatformType = other.GamePlatformType;
+ }
+ if (other.SavDate.Length != 0) {
+ SavDate = other.SavDate;
+ }
+ if (other.SavName.Length != 0) {
+ SavName = other.SavName;
+ }
+ if (other.Note.Length != 0) {
+ Note = other.Note;
+ }
+ if (other.SavImgUrl.Length != 0) {
+ SavImgUrl = other.SavImgUrl;
+ }
+ if (other.SavUrl.Length != 0) {
+ SavUrl = other.SavUrl;
+ }
+ _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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ 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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[46]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav(Protobuf_Mine_DelGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav Clone() {
+ return new Protobuf_Mine_DelGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[47]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP(Protobuf_Mine_DelGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP Clone() {
+ return new Protobuf_Mine_DelGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///删除的即时存档下标
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[48]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav(Protobuf_Mine_UpLoadGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ savImg_ = other.savImg_;
+ stateRaw_ = other.stateRaw_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav Clone() {
+ return new Protobuf_Mine_UpLoadGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "SavImg" field.
+ public const int SavImgFieldNumber = 3;
+ private pb::ByteString savImg_ = pb::ByteString.Empty;
+ ///
+ ///即时存档截图模拟器原生数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString SavImg {
+ get { return savImg_; }
+ set {
+ savImg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "StateRaw" field.
+ public const int StateRawFieldNumber = 4;
+ private pb::ByteString stateRaw_ = pb::ByteString.Empty;
+ ///
+ ///即时存档byte数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString StateRaw {
+ get { return stateRaw_; }
+ set {
+ stateRaw_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (SavImg != other.SavImg) return false;
+ if (StateRaw != other.StateRaw) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (SavImg.Length != 0) hash ^= SavImg.GetHashCode();
+ if (StateRaw.Length != 0) hash ^= StateRaw.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(StateRaw);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.SavImg.Length != 0) {
+ SavImg = other.SavImg;
+ }
+ if (other.StateRaw.Length != 0) {
+ StateRaw = other.StateRaw;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[49]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP(Protobuf_Mine_UpLoadGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ uploadSevInfo_ = other.uploadSevInfo_ != null ? other.uploadSevInfo_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP Clone() {
+ return new Protobuf_Mine_UpLoadGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "UploadSevInfo" field.
+ public const int UploadSevInfoFieldNumber = 2;
+ private global::AxibugProtobuf.Protobuf_Mine_GameSavInfo uploadSevInfo_;
+ ///
+ ///上传成功的存档详情
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.Protobuf_Mine_GameSavInfo UploadSevInfo {
+ get { return uploadSevInfo_; }
+ set {
+ uploadSevInfo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (!object.Equals(UploadSevInfo, other.UploadSevInfo)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (uploadSevInfo_ != null) hash ^= UploadSevInfo.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.uploadSevInfo_ != null) {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ UploadSevInfo.MergeFrom(other.UploadSevInfo);
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
#endregion
}
diff --git a/AxibugEmuOnline.Web/Properties/PublishProfiles/FolderProfile.pubxml.user b/AxibugEmuOnline.Web/Properties/PublishProfiles/FolderProfile.pubxml.user
index 5ac5b6ea..2bf65348 100644
--- a/AxibugEmuOnline.Web/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/AxibugEmuOnline.Web/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<_PublishTargetUrl>G:\Sin365\AxibugEmuOnline\AxibugEmuOnline.Web\bin\Release\net8.0\publish\
- True|2025-01-07T02:37:18.6461694Z||;True|2024-09-12T14:18:38.6992653+08:00||;True|2024-09-12T14:08:58.4526827+08:00||;True|2024-08-22T14:13:06.3067002+08:00||;True|2024-08-14T10:33:10.9180984+08:00||;True|2024-08-13T18:28:27.5050523+08:00||;True|2024-08-13T18:25:47.6591234+08:00||;True|2024-08-13T18:25:17.5344107+08:00||;True|2024-08-13T17:46:23.4523329+08:00||;
+ True|2025-01-08T05:35:26.6793825Z||;True|2025-01-07T10:37:18.6461694+08:00||;True|2024-09-12T14:18:38.6992653+08:00||;True|2024-09-12T14:08:58.4526827+08:00||;True|2024-08-22T14:13:06.3067002+08:00||;True|2024-08-14T10:33:10.9180984+08:00||;True|2024-08-13T18:28:27.5050523+08:00||;True|2024-08-13T18:25:47.6591234+08:00||;True|2024-08-13T18:25:17.5344107+08:00||;True|2024-08-13T17:46:23.4523329+08:00||;
\ No newline at end of file
diff --git a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
index 22e17773..d12c6a4e 100644
--- a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
+++ b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
@@ -105,46 +105,66 @@ namespace AxibugProtobuf {
"ASgFEg8KB0ZyYW1lSUQYAiABKAUSEQoJUmF3Qml0bWFwGAMgASgMIjMKElBy",
"b3RvYnVmX0dhbWVfTWFyaxINCgVSb21JRBgBIAEoBRIOCgZtb3Rpb24YAiAB",
"KAUiRwoXUHJvdG9idWZfR2FtZV9NYXJrX1JFU1ASDQoFUm9tSUQYASABKAUS",
- "DgoGSXNTdGFyGAIgASgFEg0KBXN0YXJzGAMgASgFKqEFCglDb21tYW5kSUQS",
- "DgoKQ01EX0RFRkFVTBAAEgwKCENNRF9QSU5HEAESDAoIQ01EX1BPTkcQAhIO",
- "CglDTURfTE9HSU4Q0Q8SGAoTQ01EX1VTRVJfT05MSU5FTElTVBC4FxISCg1D",
- "TURfVVNFUl9KT0lOENcXEhMKDkNNRF9VU0VSX0xFQVZFENgXEhoKFUNNRF9V",
- "U0VSX1NUQVRFX1VQREFURRDZFxIYChNDTURfTW9kaWZ5X05pY2tOYW1lEJ0Y",
- "EhwKF0NNRF9VcGRhdGVfU2VsZlVzZXJJbmZvEKYYEh0KGENNRF9VcGRhdGVf",
- "T3RoZXJVc2VySW5mbxCoGBIQCgtDTURfQ0hBVE1TRxChHxISCg1DTURfUm9v",
- "bV9MaXN0EIknEhkKFENNRF9S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WlVUGFkQ29udHJvbBAL",
+ "EhQKEFdpaVJlbW90ZUNvbnRyb2wQDBIWChJOaW50ZW5kbzNEU0NvbnRyb2wQ",
+ "DSqiAQoPUm9tUGxhdGZvcm1UeXBlEgsKB0ludmFsaWQQABIHCgNOZXMQARIR",
+ "Cg1NYXN0ZXJfU3lzdGVtEAISDQoJR2FtZV9HZWFyEAMSDAoIR2FtZV9Cb3kQ",
+ "BBISCg5HYW1lX0JveV9Db2xvchAFEhEKDUNvbGVjb19WaXNpb24QBhILCgdT",
+ "Q18zMDAwEAcSCwoHU0dfMTAwMBAIEggKA0FsbBDnBypwCg1Sb29tR2FtZVN0",
+ "YXRlEhIKDk5vbmVfR2FtZVN0YXRlEAASDAoIT25seUhvc3QQARIRCg1XYWl0",
+ "UmF3VXBkYXRlEAISDQoJV2FpdFJlYWR5EAMSCQoFUGF1c2UQBBIQCgxJbk9u",
+ "bGluZUdhbWUQBSpOChFMb2dpblJlc3VsdFN0YXR1cxIhCh1Mb2dpblJlc3Vs",
+ "dFN0YXR1c19CYXNlRGVmYXVsdBAAEgYKAk9LEAESDgoKQWNjb3VudEVychAC",
+ "QgJIAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.GamePadType), typeof(global::AxibugProtobuf.RomPlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -190,7 +210,14 @@ namespace AxibugProtobuf {
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "Motion" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "IsStar", "Stars" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList.Parser, new[]{ "RomID" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP), global::AxibugProtobuf.Protobuf_Mine_GetGameSavList_RESP.Parser, new[]{ "RomID", "SavDataList" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_GameSavInfo), global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser, new[]{ "BHadSaveData", "SavDataIdx", "RomID", "GamePlatformType", "SavDate", "SavName", "Note", "SavImgUrl", "SavUrl" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav), global::AxibugProtobuf.Protobuf_Mine_DelGameSav.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_DelGameSav_RESP.Parser, new[]{ "RomID", "SavDataIdx" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav.Parser, new[]{ "RomID", "SavDataIdx", "SavImg", "StateRaw" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP), global::AxibugProtobuf.Protobuf_Mine_UpLoadGameSav_RESP.Parser, new[]{ "RomID", "UploadSevInfo" }, null, null, null, null)
}));
}
#endregion
@@ -321,7 +348,19 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("CMD_Screen")] CmdScreen = 7001,
///
- ///房间列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
+ ///即时存档
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_GetGameSavList")] CmdGamesavGetGameSavList = 8001,
+ ///
+ ///玩家删除即时存档 上行 | 下行 对应 Protobuf_Mine_DelGameSavList | Protobuf_Mine_DelGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_DelGameSav")] CmdGamesavDelGameSav = 8005,
+ ///
+ ///玩家上传即时存档 上行 | 下行 对应 Protobuf_Mine_UpLoadGameSavList | Protobuf_Mine_UpLoadGameSavList_RESP
+ ///
+ [pbr::OriginalName("CMD_GAMESAV_UploadGameSav")] CmdGamesavUploadGameSav = 8010,
+ ///
+ ///获取即时存档列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
///
[pbr::OriginalName("CMD_GAME_MARK")] CmdGameMark = 10101,
}
@@ -348,6 +387,10 @@ namespace AxibugProtobuf {
///
[pbr::OriginalName("ERROR_ROOM_CANT_DO_CURR_STATE")] ErrorRoomCantDoCurrState = 50,
///
+ ///即时存档不存在
+ ///
+ [pbr::OriginalName("ERROR_ROM_DONT_HAD_SAVEDATA")] ErrorRomDontHadSavedata = 80,
+ ///
///已经收藏
///
[pbr::OriginalName("ERROR_ROM_ALREADY_HAD_STAR")] ErrorRomAlreadyHadStar = 403,
@@ -9749,6 +9792,1796 @@ namespace AxibugProtobuf {
}
+ public sealed partial class Protobuf_Mine_GetGameSavList : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[43]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList(Protobuf_Mine_GetGameSavList other) : this() {
+ romID_ = other.romID_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList Clone() {
+ return new Protobuf_Mine_GetGameSavList(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GetGameSavList_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GetGameSavList_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[44]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP(Protobuf_Mine_GetGameSavList_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataList_ = other.savDataList_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GetGameSavList_RESP Clone() {
+ return new Protobuf_Mine_GetGameSavList_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataList" field.
+ public const int SavDataListFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_savDataList_codec
+ = pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.Protobuf_Mine_GameSavInfo.Parser);
+ private readonly pbc::RepeatedField savDataList_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField SavDataList {
+ get { return savDataList_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GetGameSavList_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if(!savDataList_.Equals(other.savDataList_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ hash ^= savDataList_.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(output, _repeated_savDataList_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) {
+ if (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ savDataList_.WriteTo(ref output, _repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ size += savDataList_.CalculateSize(_repeated_savDataList_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GetGameSavList_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ savDataList_.Add(other.savDataList_);
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(input, _repeated_savDataList_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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ savDataList_.AddEntriesFrom(ref input, _repeated_savDataList_codec);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_GameSavInfo : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_GameSavInfo());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[45]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo(Protobuf_Mine_GameSavInfo other) : this() {
+ bHadSaveData_ = other.bHadSaveData_;
+ savDataIdx_ = other.savDataIdx_;
+ romID_ = other.romID_;
+ gamePlatformType_ = other.gamePlatformType_;
+ savDate_ = other.savDate_;
+ savName_ = other.savName_;
+ note_ = other.note_;
+ savImgUrl_ = other.savImgUrl_;
+ savUrl_ = other.savUrl_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_GameSavInfo Clone() {
+ return new Protobuf_Mine_GameSavInfo(this);
+ }
+
+ /// Field number for the "bHadSaveData" field.
+ public const int BHadSaveDataFieldNumber = 1;
+ private bool bHadSaveData_;
+ ///
+ ///是否有存档
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool BHadSaveData {
+ get { return bHadSaveData_; }
+ set {
+ bHadSaveData_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 3;
+ private int romID_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "GamePlatformType" field.
+ public const int GamePlatformTypeFieldNumber = 4;
+ private global::AxibugProtobuf.RomPlatformType gamePlatformType_ = global::AxibugProtobuf.RomPlatformType.Invalid;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.RomPlatformType GamePlatformType {
+ get { return gamePlatformType_; }
+ set {
+ gamePlatformType_ = value;
+ }
+ }
+
+ /// Field number for the "SavDate" field.
+ public const int SavDateFieldNumber = 5;
+ private string savDate_ = "";
+ ///
+ ///存档时间
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavDate {
+ get { return savDate_; }
+ set {
+ savDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavName" field.
+ public const int SavNameFieldNumber = 6;
+ private string savName_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavName {
+ get { return savName_; }
+ set {
+ savName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "Note" field.
+ public const int NoteFieldNumber = 7;
+ private string note_ = "";
+ ///
+ ///备注
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Note {
+ get { return note_; }
+ set {
+ note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavImgUrl" field.
+ public const int SavImgUrlFieldNumber = 8;
+ private string savImgUrl_ = "";
+ ///
+ ///即时存档截图Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavImgUrl {
+ get { return savImgUrl_; }
+ set {
+ savImgUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "SavUrl" field.
+ public const int SavUrlFieldNumber = 9;
+ private string savUrl_ = "";
+ ///
+ ///即时存档下载Url
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string SavUrl {
+ get { return savUrl_; }
+ set {
+ savUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_GameSavInfo);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_GameSavInfo other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (BHadSaveData != other.BHadSaveData) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (RomID != other.RomID) return false;
+ if (GamePlatformType != other.GamePlatformType) return false;
+ if (SavDate != other.SavDate) return false;
+ if (SavName != other.SavName) return false;
+ if (Note != other.Note) return false;
+ if (SavImgUrl != other.SavImgUrl) return false;
+ if (SavUrl != other.SavUrl) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (BHadSaveData != false) hash ^= BHadSaveData.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) hash ^= GamePlatformType.GetHashCode();
+ if (SavDate.Length != 0) hash ^= SavDate.GetHashCode();
+ if (SavName.Length != 0) hash ^= SavName.GetHashCode();
+ if (Note.Length != 0) hash ^= Note.GetHashCode();
+ if (SavImgUrl.Length != 0) hash ^= SavImgUrl.GetHashCode();
+ if (SavUrl.Length != 0) hash ^= SavUrl.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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ 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 (BHadSaveData != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(BHadSaveData);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (RomID != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ output.WriteRawTag(32);
+ output.WriteEnum((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(SavDate);
+ }
+ if (SavName.Length != 0) {
+ output.WriteRawTag(50);
+ output.WriteString(SavName);
+ }
+ if (Note.Length != 0) {
+ output.WriteRawTag(58);
+ output.WriteString(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ output.WriteRawTag(66);
+ output.WriteString(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ output.WriteRawTag(74);
+ output.WriteString(SavUrl);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (BHadSaveData != false) {
+ size += 1 + 1;
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GamePlatformType);
+ }
+ if (SavDate.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavDate);
+ }
+ if (SavName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavName);
+ }
+ if (Note.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
+ }
+ if (SavImgUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavImgUrl);
+ }
+ if (SavUrl.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(SavUrl);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_GameSavInfo other) {
+ if (other == null) {
+ return;
+ }
+ if (other.BHadSaveData != false) {
+ BHadSaveData = other.BHadSaveData;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.GamePlatformType != global::AxibugProtobuf.RomPlatformType.Invalid) {
+ GamePlatformType = other.GamePlatformType;
+ }
+ if (other.SavDate.Length != 0) {
+ SavDate = other.SavDate;
+ }
+ if (other.SavName.Length != 0) {
+ SavName = other.SavName;
+ }
+ if (other.Note.Length != 0) {
+ Note = other.Note;
+ }
+ if (other.SavImgUrl.Length != 0) {
+ SavImgUrl = other.SavImgUrl;
+ }
+ if (other.SavUrl.Length != 0) {
+ SavUrl = other.SavUrl;
+ }
+ _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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ 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 8: {
+ BHadSaveData = input.ReadBool();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 32: {
+ GamePlatformType = (global::AxibugProtobuf.RomPlatformType) input.ReadEnum();
+ break;
+ }
+ case 42: {
+ SavDate = input.ReadString();
+ break;
+ }
+ case 50: {
+ SavName = input.ReadString();
+ break;
+ }
+ case 58: {
+ Note = input.ReadString();
+ break;
+ }
+ case 66: {
+ SavImgUrl = input.ReadString();
+ break;
+ }
+ case 74: {
+ SavUrl = input.ReadString();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[46]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav(Protobuf_Mine_DelGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav Clone() {
+ return new Protobuf_Mine_DelGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_DelGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_DelGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[47]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP(Protobuf_Mine_DelGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_DelGameSav_RESP Clone() {
+ return new Protobuf_Mine_DelGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///删除的即时存档下标
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_DelGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_DelGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_DelGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[48]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav(Protobuf_Mine_UpLoadGameSav other) : this() {
+ romID_ = other.romID_;
+ savDataIdx_ = other.savDataIdx_;
+ savImg_ = other.savImg_;
+ stateRaw_ = other.stateRaw_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav Clone() {
+ return new Protobuf_Mine_UpLoadGameSav(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "SavDataIdx" field.
+ public const int SavDataIdxFieldNumber = 2;
+ private int savDataIdx_;
+ ///
+ ///即时存档下标(其中第0个是自动存档位置)
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SavDataIdx {
+ get { return savDataIdx_; }
+ set {
+ savDataIdx_ = value;
+ }
+ }
+
+ /// Field number for the "SavImg" field.
+ public const int SavImgFieldNumber = 3;
+ private pb::ByteString savImg_ = pb::ByteString.Empty;
+ ///
+ ///即时存档截图模拟器原生数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString SavImg {
+ get { return savImg_; }
+ set {
+ savImg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// Field number for the "StateRaw" field.
+ public const int StateRawFieldNumber = 4;
+ private pb::ByteString stateRaw_ = pb::ByteString.Empty;
+ ///
+ ///即时存档byte数据
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pb::ByteString StateRaw {
+ get { return stateRaw_; }
+ set {
+ stateRaw_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (SavDataIdx != other.SavDataIdx) return false;
+ if (SavImg != other.SavImg) return false;
+ if (StateRaw != other.StateRaw) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (SavDataIdx != 0) hash ^= SavDataIdx.GetHashCode();
+ if (SavImg.Length != 0) hash ^= SavImg.GetHashCode();
+ if (StateRaw.Length != 0) hash ^= StateRaw.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (SavDataIdx != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteBytes(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteBytes(StateRaw);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (SavDataIdx != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SavDataIdx);
+ }
+ if (SavImg.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(SavImg);
+ }
+ if (StateRaw.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeBytesSize(StateRaw);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.SavDataIdx != 0) {
+ SavDataIdx = other.SavDataIdx;
+ }
+ if (other.SavImg.Length != 0) {
+ SavImg = other.SavImg;
+ }
+ if (other.StateRaw.Length != 0) {
+ StateRaw = other.StateRaw;
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 16: {
+ SavDataIdx = input.ReadInt32();
+ break;
+ }
+ case 26: {
+ SavImg = input.ReadBytes();
+ break;
+ }
+ case 34: {
+ StateRaw = input.ReadBytes();
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
+ public sealed partial class Protobuf_Mine_UpLoadGameSav_RESP : pb::IMessage
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
+ , pb::IBufferMessage
+ #endif
+ {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Mine_UpLoadGameSav_RESP());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[49]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP(Protobuf_Mine_UpLoadGameSav_RESP other) : this() {
+ romID_ = other.romID_;
+ uploadSevInfo_ = other.uploadSevInfo_ != null ? other.uploadSevInfo_.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public Protobuf_Mine_UpLoadGameSav_RESP Clone() {
+ return new Protobuf_Mine_UpLoadGameSav_RESP(this);
+ }
+
+ /// Field number for the "RomID" field.
+ public const int RomIDFieldNumber = 1;
+ private int romID_;
+ ///
+ ///RomID
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int RomID {
+ get { return romID_; }
+ set {
+ romID_ = value;
+ }
+ }
+
+ /// Field number for the "UploadSevInfo" field.
+ public const int UploadSevInfoFieldNumber = 2;
+ private global::AxibugProtobuf.Protobuf_Mine_GameSavInfo uploadSevInfo_;
+ ///
+ ///上传成功的存档详情
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AxibugProtobuf.Protobuf_Mine_GameSavInfo UploadSevInfo {
+ get { return uploadSevInfo_; }
+ set {
+ uploadSevInfo_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as Protobuf_Mine_UpLoadGameSav_RESP);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (RomID != other.RomID) return false;
+ if (!object.Equals(UploadSevInfo, other.UploadSevInfo)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (RomID != 0) hash ^= RomID.GetHashCode();
+ if (uploadSevInfo_ != null) hash ^= UploadSevInfo.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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ 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 (RomID != 0) {
+ output.WriteRawTag(8);
+ output.WriteInt32(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(ref output);
+ }
+ }
+ #endif
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (RomID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
+ }
+ if (uploadSevInfo_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(UploadSevInfo);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(Protobuf_Mine_UpLoadGameSav_RESP other) {
+ if (other == null) {
+ return;
+ }
+ if (other.RomID != 0) {
+ RomID = other.RomID;
+ }
+ if (other.uploadSevInfo_ != null) {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ UploadSevInfo.MergeFrom(other.UploadSevInfo);
+ }
+ _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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ 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 8: {
+ RomID = input.ReadInt32();
+ break;
+ }
+ case 18: {
+ if (uploadSevInfo_ == null) {
+ UploadSevInfo = new global::AxibugProtobuf.Protobuf_Mine_GameSavInfo();
+ }
+ input.ReadMessage(UploadSevInfo);
+ break;
+ }
+ }
+ }
+ }
+ #endif
+
+ }
+
#endregion
}
diff --git a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
index b2bdc376..e3481ce8 100644
--- a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
+++ b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
@@ -66,7 +66,12 @@ enum CommandID
//画面采集
CMD_Screen = 7001; //画面采集 | 同步广播 对应 Protobuf_Screnn_Frame
- CMD_GAME_MARK = 10101; //房间列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
+ //即时存档
+ CMD_GAMESAV_GetGameSavList = 8001;//玩家即时存档列表获取 上行 | 下行 对应 Protobuf_Mine_GetGameSavList | Protobuf_Mine_GetGameSavList_RESP
+ CMD_GAMESAV_DelGameSav = 8005;//玩家删除即时存档 上行 | 下行 对应 Protobuf_Mine_DelGameSavList | Protobuf_Mine_DelGameSavList_RESP
+ CMD_GAMESAV_UploadGameSav = 8010;//玩家上传即时存档 上行 | 下行 对应 Protobuf_Mine_UpLoadGameSavList | Protobuf_Mine_UpLoadGameSavList_RESP
+
+ CMD_GAME_MARK = 10101; //获取即时存档列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
}
enum ErrorCode
@@ -79,8 +84,11 @@ enum ErrorCode
ERROR_ROOM_CANT_DO_CURR_STATE =50;//当前房间状态不允许本操作
+ ERROR_ROM_DONT_HAD_SAVEDATA = 80;//即时存档不存在
+
ERROR_ROM_ALREADY_HAD_STAR =403;//已经收藏
ERROR_ROM_DONT_HAD_STAR =404;//并没有收藏
+
}
enum LoginType
@@ -441,4 +449,55 @@ message Protobuf_Game_Mark_RESP
int32 RomID = 1;//RomID
int32 IsStar = 2;//当前状态 [0]未收藏[1]已收藏
int32 stars = 3;//当前收藏计数
+}
+
+
+message Protobuf_Mine_GetGameSavList
+{
+ int32 RomID = 1;
+}
+
+message Protobuf_Mine_GetGameSavList_RESP
+{
+ int32 RomID = 1;
+ repeated Protobuf_Mine_GameSavInfo SavDataList = 2;
+}
+
+message Protobuf_Mine_GameSavInfo
+{
+ bool bHadSaveData = 1;//是否有存档
+ int32 SavDataIdx = 2;//即时存档下标(其中第0个是自动存档位置)
+ int32 RomID = 3;
+ RomPlatformType GamePlatformType = 4;
+ string SavDate = 5;//存档时间
+ string SavName = 6;
+ string Note = 7;//备注
+ string SavImgUrl = 8;//即时存档截图Url
+ string SavUrl = 9;//即时存档下载Url
+}
+
+message Protobuf_Mine_DelGameSav
+{
+ int32 RomID = 1;//RomID
+ int32 SavDataIdx = 2;//即时存档下标(其中第0个是自动存档位置)
+}
+
+message Protobuf_Mine_DelGameSav_RESP
+{
+ int32 RomID = 1;//RomID
+ int32 SavDataIdx = 2;//删除的即时存档下标
+}
+
+message Protobuf_Mine_UpLoadGameSav
+{
+ int32 RomID = 1;//RomID
+ int32 SavDataIdx = 2;//即时存档下标(其中第0个是自动存档位置)
+ bytes SavImg = 3;//即时存档截图模拟器原生数据
+ bytes StateRaw = 4;//即时存档byte数据
+}
+
+message Protobuf_Mine_UpLoadGameSav_RESP
+{
+ int32 RomID = 1;//RomID
+ Protobuf_Mine_GameSavInfo UploadSevInfo = 2;//上传成功的存档详情
}
\ No newline at end of file