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