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

@ -24,6 +24,9 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
public void DrawSelection()
{
//IL_0144: Unknown result type (might be due to invalid IL or missing references)
//IL_0149: Unknown result type (might be due to invalid IL or missing references)
//IL_014b: Unknown result type (might be due to invalid IL or missing references)
if (QuestSelected == null)
{
throw new InvalidOperationException("QuestSelected action must be set before drawing the quest selector.");
@ -52,9 +55,10 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
{
enumerable = questRegistry.AllQuests.Where((Quest x) => DefaultPredicate?.Invoke(x) ?? true);
}
using (ImRaii.IEndObject endObject = ImRaii.Child("##QuestScrollArea", new Vector2(0f, 300f), border: false))
ChildDisposable val = ImRaii.Child((ImU8String)"##QuestScrollArea", new Vector2(0f, 300f), false);
try
{
if (endObject)
if (ChildDisposable.op_Implicit(val))
{
foreach (Quest item in enumerable)
{
@ -71,6 +75,10 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
}
}
}
finally
{
((ChildDisposable)(ref val)).Dispose();
}
ImGui.EndCombo();
}
else