1
0
forked from liza/Questionable

Hide ActionManager info in quest window

This commit is contained in:
Liza 2024-10-11 16:26:08 +02:00
parent 5bc0d4d80e
commit 569261c041
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -157,14 +157,17 @@ internal sealed class CreationUtilsComponent
}
#endif
#if true
unsafe
#if false
if (_configuration.Advanced.AdditionalStatusInformation)
{
var actionManager = ActionManager.Instance();
ImGui.Text(
$"A1: {actionManager->CastActionId} ({actionManager->LastUsedActionSequence} → {actionManager->LastHandledActionSequence})");
ImGui.Text($"A2: {actionManager->CastTimeElapsed} / {actionManager->CastTimeTotal}");
ImGui.Text($"{_questController.TaskQueue.CurrentTaskExecutor?.ProgressContext}");
unsafe
{
var actionManager = ActionManager.Instance();
ImGui.Text(
$"A1: {actionManager->CastActionId} ({actionManager->LastUsedActionSequence} → {actionManager->LastHandledActionSequence})");
ImGui.Text($"A2: {actionManager->CastTimeElapsed} / {actionManager->CastTimeTotal}");
ImGui.Text($"{_questController.TaskQueue.CurrentTaskExecutor?.ProgressContext}");
}
}
#endif