Nothing to see here, move along

This commit is contained in:
Brant Martin
2019-09-07 12:10:08 -04:00
parent ff0d881273
commit aec03840cc
5 changed files with 72 additions and 1 deletions

View File

@@ -34,5 +34,22 @@ namespace Torch.API.Plugins
/// This is called on the game thread after each tick.
/// </summary>
void Update();
/// <summary>
/// Plugin's enabled state. Mainly for UI niceness
/// </summary>
PluginState State { get; }
}
public enum PluginState
{
NotInitialized,
DisabledError,
DisabledUser,
UpdateRequired,
UninstallRequested,
NotInstalled,
MissingDependency,
Enabled
}
}