qstbak/Questionable/Questionable.Model/MountReward.cs
2026-08-17 20:29:32 +10:00

29 lines
598 B
C#

using System.Runtime.CompilerServices;
using LLib.GameData;
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 override bool IsUnlocked()
{
return PlayerStateHelper.IsMountUnlocked(MountId);
}
[CompilerGenerated]
public void Deconstruct(out ItemRewardDetails Item, out uint MountId)
{
Item = base.Item;
MountId = this.MountId;
}
}