muffin v7.4.10

This commit is contained in:
alydev 2026-01-19 08:31:23 +10:00
parent 2df81c5d15
commit b8dd142c23
47 changed files with 3604 additions and 1058 deletions

View file

@ -0,0 +1,22 @@
using System.Collections.Immutable;
using FFXIVClientStructs.FFXIV.Client.Game.UI;
using Questionable.Model.Questing;
namespace Questionable.Data;
public sealed record DutyInfo(uint ContentFinderConditionId, uint ContentId, string Name, uint ContentTypeId, string ContentTypeName, ushort Level, ushort ItemLevel, ImmutableList<QuestId> UnlockQuests, bool IsHighEndDuty, EDutyCategory DutyCategory)
{
public bool IsUnlocked => UIState.IsInstanceContentUnlocked(ContentId);
public bool? IsCompleted
{
get
{
if (DutyCategory != EDutyCategory.DeepDungeon)
{
return UIState.IsInstanceContentCompleted((ushort)ContentId);
}
return null;
}
}
}