As if you needed a reason

This commit is contained in:
Raymond Lynch 2021-07-12 07:43:00 -04:00
parent 72a2c09942
commit a65dee2742
5 changed files with 59 additions and 16 deletions

View file

@ -0,0 +1,33 @@
namespace Dalamud.Plugin
{
/// <summary>
/// This enum reflects reasons for loading a plugin.
/// </summary>
public enum PluginLoadReason
{
/// <summary>
/// We don't know why this plugin was loaded.
/// </summary>
Unknown,
/// <summary>
/// This plugin was loaded because it was installed with the plugin installer.
/// </summary>
Installer,
/// <summary>
/// This plugin was loaded because it was just updated.
/// </summary>
Update,
/// <summary>
/// This plugin was loaded because it was told to reload.
/// </summary>
Reload,
/// <summary>
/// This plugin was loaded because the game was started or Dalamud was reinjected.
/// </summary>
Boot,
}
}