2024-10-05 12:10:31 -04:00
|
|
|
using System;
|
|
|
|
using Dalamud.Interface.Windowing;
|
|
|
|
using ImGuiNET;
|
|
|
|
|
|
|
|
namespace Auracite;
|
|
|
|
|
|
|
|
public class StepWindow()
|
|
|
|
: Window("Step Window"), IDisposable
|
|
|
|
{
|
|
|
|
public void Dispose()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void Draw()
|
|
|
|
{
|
|
|
|
if (Plugin.CurrentStep != null)
|
|
|
|
{
|
|
|
|
ImGui.Text(Plugin.CurrentStep.StepName());
|
|
|
|
ImGui.Text(Plugin.CurrentStep.StepDescription());
|
|
|
|
|
|
|
|
ImGui.TextDisabled("Step requires manual user action.");
|
2024-11-01 19:03:30 -04:00
|
|
|
|
|
|
|
if (ImGui.Button("Retry"))
|
|
|
|
{
|
|
|
|
Plugin.CurrentStep.Run();
|
|
|
|
}
|
2024-10-05 12:10:31 -04:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
ImGui.Text("Auracite is not running.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|