mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
QoLBar reflects for these, may as well expose them.
This commit is contained in:
parent
92d943937a
commit
a10dd416ac
1 changed files with 13 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
@ -123,6 +124,16 @@ namespace Dalamud.Plugin
|
|||
/// </summary>
|
||||
public XivChatType GeneralChatType { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list of installed plugin names.
|
||||
/// </summary>
|
||||
public List<string> PluginNames => Service<PluginManager>.Get().InstalledPlugins.Select(p => p.Manifest.Name).ToList();
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list of installed plugin internal names.
|
||||
/// </summary>
|
||||
public List<string> PluginInternalNames => Service<PluginManager>.Get().InstalledPlugins.Select(p => p.Manifest.InternalName).ToList();
|
||||
|
||||
#region Configuration
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -210,7 +221,8 @@ namespace Dalamud.Plugin
|
|||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Unregister your plugin and dispose all references. You have to call this when your IDalamudPlugin is disposed.
|
||||
/// Unregister your plugin and dispose all references.
|
||||
/// You have to call this when your IDalamudPlugin is disposed.
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue