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/MountReward.cs
Normal file
29
Questionable/Questionable.Model/MountReward.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using FFXIVClientStructs.FFXIV.Client.Game.UI;
|
||||
|
||||
namespace Questionable.Model;
|
||||
|
||||
public sealed record MountReward : ItemReward
|
||||
{
|
||||
public uint MountId { get; init; }
|
||||
|
||||
public override EItemRewardType Type => EItemRewardType.Mount;
|
||||
|
||||
public MountReward(ItemRewardDetails Item, uint MountId)
|
||||
{
|
||||
this.MountId = MountId;
|
||||
base._002Ector(Item);
|
||||
}
|
||||
|
||||
public unsafe override bool IsUnlocked()
|
||||
{
|
||||
return PlayerState.Instance()->IsMountUnlocked(MountId);
|
||||
}
|
||||
|
||||
[CompilerGenerated]
|
||||
public void Deconstruct(out ItemRewardDetails Item, out uint MountId)
|
||||
{
|
||||
Item = base.Item;
|
||||
MountId = this.MountId;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue