mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 00:07:49 +01:00
Add commands in plugin descriptions
This commit is contained in:
parent
5ae756577c
commit
fe1101a0fb
2 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
using System.Reflection;
|
||||
|
||||
namespace Dalamud.Game.Command {
|
||||
/// <summary>
|
||||
/// This class describes a registered command.
|
||||
|
|
@ -31,6 +33,9 @@ namespace Dalamud.Game.Command {
|
|||
/// <param name="handler"></param>
|
||||
public CommandInfo(HandlerDelegate handler) {
|
||||
Handler = handler;
|
||||
LoaderAssemblyName = Assembly.GetCallingAssembly()?.GetName()?.Name;
|
||||
}
|
||||
|
||||
internal string LoaderAssemblyName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue