using AxibugProtobuf; using System; namespace AxibugEmuOnline.Client { /// 存档文件类 public class SaveFile { /// 指示该存档是否是自动存档 public bool AutoSave => SlotIndex == 0; /// 指示该存档所在槽位 public int SlotIndex { get; private set; } /// 指示该存档所属Rom的ID public int RomID { get; private set; } /// 指示该存档所属模拟器平台 public RomPlatformType EmuPlatform { get; private set; } public SaveFile(int romID, RomPlatformType platform, int slotIndex) { RomID = romID; EmuPlatform = platform; SlotIndex = slotIndex; } internal void Save(byte[] savData, byte[] screenShotData) { throw new NotImplementedException(); } } }