using SoulHarvest.Items;
using System;
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace SoulHarvest.Common;
/// <summary>
/// Keeps the Boss reward subsystem compilable while MyPlayer owns the public API.
/// An instance method with either name may replace these forwarding extensions
/// without changing any call sites.
/// </summary>
public static class ReaperProgressionPlayerExtensions
{
public static bool TryGrantSoulSeal(this MyPlayer modPlayer, ReaperStage stage)
{
return ReaperProgressionSoulSealService.TryGrant(modPlayer.Player, stage);
}
public static bool TryDeliverPendingSoulSeals(this MyPlayer modPlayer)
{
return ReaperProgressionSoulSealService.TryDeliverPending(modPlayer.Player);
}
}
using SoulHarvest.Items;
using System;
using System.Collections.Generic;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace SoulHarvest.Common;
/// <summary>
/// Keeps the Boss reward subsystem compilable while MyPlayer owns the public API.
/// An instance method with either name may replace these forwarding extensions
/// without changing any call sites.
/// </summary>
public static class ReaperProgressionPlayerExtensions
{
public static bool TryGrantSoulSeal(this MyPlayer modPlayer, ReaperStage stage)
{
return ReaperProgressionSoulSealService.TryGrant(modPlayer.Player, stage);
}
public static bool TryDeliverPendingSoulSeals(this MyPlayer modPlayer)
{
return ReaperProgressionSoulSealService.TryDeliverPending(modPlayer.Player);
}
}