Config Window

This commit is contained in:
Mercury 2024-09-26 14:58:45 +02:00
parent 272c41773c
commit 7c8a11439e

View file

@ -20,7 +20,7 @@ namespace DalamudShock
[PluginService] internal static IFramework Framework { get; private set; } = null!; [PluginService] internal static IFramework Framework { get; private set; } = null!;
[PluginService] internal static ICommandManager CommandManager { get; private set; } = null!; [PluginService] internal static ICommandManager CommandManager { get; private set; } = null!;
[PluginService] internal static IPluginLog PluginLog { get; private set; } = null!; [PluginService] internal static IPluginLog PluginLog { get; private set; } = null!;
[PluginService] internal static ICondition Condition { get; private set; } = null!; // Add the Condition service [PluginService] internal static ICondition Condition { get; private set; } = null!;
private const string CommandName = "/zap"; private const string CommandName = "/zap";
public Configuration Configuration { get; init; } public Configuration Configuration { get; init; }
@ -63,7 +63,7 @@ namespace DalamudShock
private void OnCommand(string command, string args) private void OnCommand(string command, string args)
{ {
ToggleMainUI(); ToggleConfigUI();
} }
private void DrawUI() => WindowSystem.Draw(); private void DrawUI() => WindowSystem.Draw();