#include "MagicCaster.h"

bool MagicCaster::CastSpell(MagicItem* apSpell, TESObjectREFR* apDesiredTarget, bool abLoadCast) noexcept
{
    TP_THIS_FUNCTION(TCastSpell, bool, MagicCaster, MagicItem*, TESObjectREFR*, bool);

    POINTER_SKYRIMSE(TCastSpell, s_castSpell, 34401);

    return TiltedPhoques::ThisCall(s_castSpell, this, apSpell, apDesiredTarget, abLoadCast);
}

void MagicCaster::InterruptCast() noexcept
{
    TP_THIS_FUNCTION(TInterruptCast, void, MagicCaster);

    POINTER_SKYRIMSE(TInterruptCast, s_interruptCast, 34408);

    TiltedPhoques::ThisCall(s_interruptCast, this);
}
