Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active October 30, 2019 14:18
Show Gist options
  • Select an option

  • Save triacontane/854625dd8a935c1e4b28da799e4f71d4 to your computer and use it in GitHub Desktop.

Select an option

Save triacontane/854625dd8a935c1e4b28da799e4f71d4 to your computer and use it in GitHub Desktop.
指定したインデックスのセーブファイルを削除します。
StorageManager.remove(n);
DataManager._globalInfo = null;
@triacontane
Copy link
Author

triacontane commented Oct 30, 2019

[n]はセーブファイルのインデックスです。以下の通り指定しています。
-1 : config.rpgsave (オプションの設定内容が格納されています)
0 : global.rpgsave (すべてのセーブファイルの存在有無やタイムスタンプが格納されています)
1~: file[n].rpgsave (各セーブファイル本体です)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment