using SoulHarvest.Items; using System; using System.Collections.Generic; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace SoulHarvest.Common; /// /// 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. /// 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); } }