punish v6.8.18.0
This commit is contained in:
commit
cfb4dea47e
316 changed files with 554088 additions and 0 deletions
29
Questionable/Questionable.Model/MinionReward.cs
Normal file
29
Questionable/Questionable.Model/MinionReward.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.UI;
|
||||
|
||||
namespace Questionable.Model;
|
||||
|
||||
public sealed record MinionReward : ItemReward
|
||||
{
|
||||
public uint MinionId { get; init; }
|
||||
|
||||
public override EItemRewardType Type => EItemRewardType.Minion;
|
||||
|
||||
public MinionReward(ItemRewardDetails Item, uint MinionId)
|
||||
{
|
||||
this.MinionId = MinionId;
|
||||
base._002Ector(Item);
|
||||
}
|
||||
|
||||
public unsafe override bool IsUnlocked()
|
||||
{
|
||||
return UIState.Instance()->IsCompanionUnlocked(MinionId);
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public void Deconstruct(out ItemRewardDetails Item, out uint MinionId)
|
||||
{
|
||||
Item = base.Item;
|
||||
MinionId = this.MinionId;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue