1
0
Fork 0
forked from aly/qstbak
qstbak/Questionable/Questionable.Model/UnlockLinkReward.cs
2026-08-17 20:29:32 +10:00

29 lines
693 B
C#

using System.Runtime.CompilerServices;
using FFXIVClientStructs.FFXIV.Client.Game.UI;
namespace Questionable.Model;
public sealed record UnlockLinkReward : ItemReward
{
public uint UnlockLinkId { get; init; }
public override EItemRewardType Type => EItemRewardType.UnlockLink;
public UnlockLinkReward(ItemRewardDetails Item, uint UnlockLinkId)
{
this.UnlockLinkId = UnlockLinkId;
base._002Ector(Item);
}
public unsafe override bool IsUnlocked()
{
return UIState.Instance()->IsUnlockLinkUnlocked(UnlockLinkId);
}
[CompilerGenerated]
public void Deconstruct(out ItemRewardDetails Item, out uint UnlockLinkId)
{
Item = base.Item;
UnlockLinkId = this.UnlockLinkId;
}
}