qstbak/Questionable/Questionable.Model/OrchestrionRollReward.cs
2025-10-09 07:47:19 +10:00

29 lines
757 B
C#

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