// Engines/Bakin/BakinEngineModule.cs — RPG Developer Bakin エンジンモジュール実装
using GameLauncher.Engines.Common;
using GameLauncher.Helpers;
using GameLauncher.Models;
namespace GameLauncher.Engines.Bakin
{
///
/// RPG Developer Bakin エンジン用の 実装クラス。
///
public sealed class BakinEngineModule : IEngineModule
{
#region □プロパティ(Public)
///
public string EngineName => EngineDetectionHelper.EngineBakin;
#endregion
#region □メソッド(Public)
///
public bool Detect(string gameDirectory)
{
return BakinDetector.IsBakinGame(gameDirectory);
}
///
public bool ApplyMod(string gameDirectory, ModPluginDefinition plugin)
{
// Bakin はセーブデータエディタ方式で改造を行うため、スクリプト注入は不要
return false;
}
///
public bool IsModApplied(string gameDirectory)
{
return false;
}
///
public string ResolveToolPath(string toolFileName)
{
return AppPathHelper.ResolveEngineTool(this.EngineName, toolFileName) ?? string.Empty;
}
#endregion
}
}