using GameLauncher.Models;
namespace GameLauncher.Engines.Common
{
///
/// Common contract for engine-specific detection, mod application,
/// and external tool path resolution.
/// Implemented once per supported game engine so that engine handling
/// is unified and any single engine's hacks cannot affect another engine.
///
public interface IEngineModule
{
/// Engine identifier (e.g. "Rgss", "Wolf", "Unity").
string EngineName { get; }
/// Determines whether the given game directory belongs to this engine.
bool Detect(string gameDirectory);
/// Applies the mod for this engine to the specified game.
bool ApplyMod(string gameDirectory, ModPluginDefinition plugin);
/// Returns whether the mod has already been applied.
bool IsModApplied(string gameDirectory);
/// Returns the absolute path of an engine-specific external tool.
string ResolveToolPath(string toolFileName);
}
}