mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
ProfileCommandHandler -> PluginManagementCommandHandler
This commit is contained in:
parent
bc21621d9a
commit
8572ed8b1e
2 changed files with 6 additions and 6 deletions
|
|
@ -625,13 +625,13 @@ internal class ProfileManagerWidget
|
||||||
Loc.Localize("ProfileManagerTutorialCommands", "You can use the following commands in chat or in macros to manage active collections:");
|
Loc.Localize("ProfileManagerTutorialCommands", "You can use the following commands in chat or in macros to manage active collections:");
|
||||||
|
|
||||||
public static string TutorialCommandsEnable =>
|
public static string TutorialCommandsEnable =>
|
||||||
Loc.Localize("ProfileManagerTutorialCommandsEnable", "{0} \"Collection Name\" - Enable a collection").Format(ProfileCommandHandler.CommandEnable);
|
Loc.Localize("ProfileManagerTutorialCommandsEnable", "{0} \"Collection Name\" - Enable a collection").Format(PluginManagementCommandHandler.CommandEnable);
|
||||||
|
|
||||||
public static string TutorialCommandsDisable =>
|
public static string TutorialCommandsDisable =>
|
||||||
Loc.Localize("ProfileManagerTutorialCommandsDisable", "{0} \"Collection Name\" - Disable a collection").Format(ProfileCommandHandler.CommandDisable);
|
Loc.Localize("ProfileManagerTutorialCommandsDisable", "{0} \"Collection Name\" - Disable a collection").Format(PluginManagementCommandHandler.CommandDisable);
|
||||||
|
|
||||||
public static string TutorialCommandsToggle =>
|
public static string TutorialCommandsToggle =>
|
||||||
Loc.Localize("ProfileManagerTutorialCommandsToggle", "{0} \"Collection Name\" - Toggle a collection's state").Format(ProfileCommandHandler.CommandToggle);
|
Loc.Localize("ProfileManagerTutorialCommandsToggle", "{0} \"Collection Name\" - Toggle a collection's state").Format(PluginManagementCommandHandler.CommandToggle);
|
||||||
|
|
||||||
public static string TutorialCommandsEnd =>
|
public static string TutorialCommandsEnd =>
|
||||||
Loc.Localize("ProfileManagerTutorialCommandsEnd", "If you run multiple of these commands, they will be executed in order.");
|
Loc.Localize("ProfileManagerTutorialCommandsEnd", "If you run multiple of these commands, they will be executed in order.");
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ namespace Dalamud.Plugin.Internal.Profiles;
|
||||||
/// Service responsible for profile-related chat commands.
|
/// Service responsible for profile-related chat commands.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ServiceManager.EarlyLoadedService]
|
[ServiceManager.EarlyLoadedService]
|
||||||
internal class ProfileCommandHandler : IInternalDisposableService
|
internal class PluginManagementCommandHandler : IInternalDisposableService
|
||||||
{
|
{
|
||||||
#pragma warning disable SA1600
|
#pragma warning disable SA1600
|
||||||
public const string CommandEnable = "/xlenablecollection";
|
public const string CommandEnable = "/xlenablecollection";
|
||||||
|
|
@ -36,14 +36,14 @@ internal class ProfileCommandHandler : IInternalDisposableService
|
||||||
private List<(string, ProfileOp)> queue = new();
|
private List<(string, ProfileOp)> queue = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="ProfileCommandHandler"/> class.
|
/// Initializes a new instance of the <see cref="PluginManagementCommandHandler"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="cmd">Command handler.</param>
|
/// <param name="cmd">Command handler.</param>
|
||||||
/// <param name="profileManager">Profile manager.</param>
|
/// <param name="profileManager">Profile manager.</param>
|
||||||
/// <param name="chat">Chat handler.</param>
|
/// <param name="chat">Chat handler.</param>
|
||||||
/// <param name="framework">Framework.</param>
|
/// <param name="framework">Framework.</param>
|
||||||
[ServiceManager.ServiceConstructor]
|
[ServiceManager.ServiceConstructor]
|
||||||
public ProfileCommandHandler(CommandManager cmd, ProfileManager profileManager, ChatGui chat, Framework framework)
|
public PluginManagementCommandHandler(CommandManager cmd, ProfileManager profileManager, ChatGui chat, Framework framework)
|
||||||
{
|
{
|
||||||
this.cmd = cmd;
|
this.cmd = cmd;
|
||||||
this.profileManager = profileManager;
|
this.profileManager = profileManager;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue