F4MP/tiltedcode/Code/client/Games/Skyrim/Magic/MagicCaster.cpp
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

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);
}