Make it search for the plugin and open the installed category

This commit is contained in:
Infi 2023-02-26 21:00:03 +01:00
parent 4acadd5c9e
commit 94538d1728
3 changed files with 52 additions and 3 deletions

View file

@ -263,6 +263,15 @@ internal class DalamudInterface : IDisposable, IServiceType
this.pluginWindow.BringToFront();
}
/// <summary>
/// Opens the <see cref="PluginInstallerWindow"/> on the plugin installed.
/// </summary>
public void OpenPluginInstallerPluginInstalled()
{
this.pluginWindow.OpenInstalledPlugins();
this.pluginWindow.BringToFront();
}
/// <summary>
/// Opens the <see cref="PluginInstallerWindow"/> on the plugin changelogs.
/// </summary>
@ -420,6 +429,15 @@ internal class DalamudInterface : IDisposable, IServiceType
#endregion
/// <summary>
/// Sets the current search text for the plugin installer.
/// </summary>
/// <param name="text">The search term.</param>
public void SetPluginInstallerSearchText(string text)
{
this.pluginWindow.SetSearchText(text);
}
/// <summary>
/// Toggle the screen darkening effect used for the credits.
/// </summary>