chore: remove IDalamudPlugin.Name

This commit is contained in:
goat 2023-09-23 11:17:53 +02:00
parent 60a2051026
commit c55b93d3c2
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 2 additions and 18 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.IO;
using Dalamud.Configuration.Internal;
using Dalamud.Game.Command;
using Dalamud.Interface.Windowing;
@ -37,9 +38,6 @@ namespace Dalamud.CorePlugin
{
}
/// <inheritdoc/>
public string Name => "Dalamud.CorePlugin";
/// <inheritdoc/>
public void Dispose()
{
@ -71,7 +69,7 @@ namespace Dalamud.CorePlugin
this.Interface.UiBuilder.OpenConfigUi += this.OnOpenConfigUi;
this.Interface.UiBuilder.OpenMainUi += this.OnOpenMainUi;
Service<CommandManager>.Get().AddHandler("/coreplug", new(this.OnCommand) { HelpMessage = $"Access the {this.Name} plugin." });
Service<CommandManager>.Get().AddHandler("/coreplug", new(this.OnCommand) { HelpMessage = "Access the plugin." });
log.Information("CorePlugin ctor!");
}
@ -81,9 +79,6 @@ namespace Dalamud.CorePlugin
}
}
/// <inheritdoc/>
public string Name => "Dalamud.CorePlugin";
/// <summary>
/// Gets the plugin interface.
/// </summary>