feat: 初回コミット (GameLauncher)
This commit is contained in:
commit
7ac4dbc825
45 files changed
+9779
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using GameLauncher.Models;
|
||||
|
||||
namespace GameLauncher.Services.Codecs
|
||||
{
|
||||
/// <summary>
|
||||
/// バイナリ/暗号化セーブデータのGUI編集用デコーダー・エンコーダーインターフェース
|
||||
/// </summary>
|
||||
public interface ISaveDataCodec
|
||||
{
|
||||
/// <summary>コーデックの識別名称(例: "Easy Save 3 (ES3)", "YU-RIS セーブデータ")</summary>
|
||||
string CodecName { get; }
|
||||
|
||||
/// <summary>このコーデックで指定ファイルを処理可能か判定</summary>
|
||||
bool CanHandle(UnityGameItem game, SaveFileEntry file);
|
||||
|
||||
/// <summary>セーブファイルからGUI編集用プロパティ一覧をロード・解析</summary>
|
||||
List<SaveDataPropertyEntry> LoadProperties(string filePath, string? optionalPassword = null);
|
||||
|
||||
/// <summary>GUI編集されたプロパティ一覧をファイルへ再エンコード・保存</summary>
|
||||
bool SaveProperties(string filePath, List<SaveDataPropertyEntry> properties, string? optionalPassword = null);
|
||||
|
||||
/// <summary>復号にパスワードやキーが必要かどうか</summary>
|
||||
bool RequiresPassword { get; }
|
||||
|
||||
/// <summary>パスワード入力時の案内メッセージ</summary>
|
||||
string? PasswordPromptMessage { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user