1
0
Fork 0
forked from aly/qstbak

muffin v7.5.0

This commit is contained in:
alydev 2026-05-01 05:17:35 +10:00
parent afafd5e377
commit a6481e7b9a
67 changed files with 4281 additions and 2372 deletions

View file

@ -1,3 +1,4 @@
using System;
using Dalamud.Bindings.ImGui;
using Dalamud.Game.Text;
using Dalamud.Interface;
@ -38,10 +39,19 @@ internal sealed class QuestTooltipComponent
public void Draw(IQuestInfo questInfo)
{
using ImRaii.IEndObject endObject = ImRaii.Tooltip();
if (endObject)
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
TooltipDisposable val = ImRaii.Tooltip();
try
{
DrawInner(questInfo, showItemRewards: true);
if (((TooltipDisposable)(ref val)).Alive)
{
DrawInner(questInfo, showItemRewards: true);
}
}
finally
{
((TooltipDisposable)(ref val)).Dispose();
}
}
@ -143,10 +153,15 @@ internal sealed class QuestTooltipComponent
}
else
{
using (ImRaii.Disabled())
DisabledDisposable val = ImRaii.Disabled();
try
{
_uiUtils.ChecklistItem($"Unknown Quest ({previousQuest.QuestId})", ImGuiColors.DalamudGrey, FontAwesomeIcon.Question);
}
finally
{
((IDisposable)val)?.Dispose();
}
}
}
}