add LocalPlugin.IsOutdated shortcut

This commit is contained in:
Raymond 2021-09-20 16:32:01 -04:00
parent c34d4dfd87
commit cb1761f998
3 changed files with 9 additions and 4 deletions

View file

@ -173,6 +173,11 @@ namespace Dalamud.Plugin.Internal
/// </summary>
public bool IsDisabled => this.Manifest.Disabled;
/// <summary>
/// Gets a value indicating whether this plugin's API level is out of date.
/// </summary>
public bool IsOutdated => this.Manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
/// <summary>
/// Gets a value indicating whether the plugin is for testing use only.
/// </summary>