mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 04:20:53 +01:00
19 lines
593 B
C++
19 lines
593 B
C++
#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);
|
|
}
|