存档功能

This commit is contained in:
2025-01-08 11:41:20 +08:00
parent c67366664c
commit 43b99f98e7
49 changed files with 2498 additions and 5762 deletions
+4 -4
View File
@@ -193,12 +193,12 @@ namespace AibisDream
private string[] _keyOptions;
public override string CurDataKey { get; set; }
public override string[] GetDataKeyOptions()
public override string GetConfigPath()
{
return _keyOptions ??= ConfigUtil.Instance.GetFileNames(DataPath);
return DataPath;
}
public override void Load()
public override void LoadLevel()
{
if (string.IsNullOrEmpty(CurDataKey))
{
@@ -273,7 +273,7 @@ namespace AibisDream
_shaftGraph = new ShaftGraph(shafts, panelShafts);
}
public override void Save()
public override void SaveLevel()
{
if (string.IsNullOrEmpty(CurDataKey)) return;