punish v6.8.18.0
This commit is contained in:
commit
060278c1b7
317 changed files with 554155 additions and 0 deletions
29
Questionable/Questionable.Model/OrchestrionRollReward.cs
Normal file
29
Questionable/Questionable.Model/OrchestrionRollReward.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue