Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/T/TESMagicEffectApplyEvent.h
T
2026-05-30 18:33:24 +12:00

25 lines
633 B
C++

#pragma once
#include "RE/B/BSTEvent.h"
#include "RE/N/NiPointer.h"
namespace RE
{
class TESMagicEffectApplyEvent
{
public:
[[nodiscard]] static BSTEventSource<TESMagicEffectApplyEvent>* GetEventSource()
{
using func_t = decltype(&TESMagicEffectApplyEvent::GetEventSource);
static REL::Relocation<func_t> func{ ID::TESMagicEffectApplyEvent::GetEventSource };
return func();
}
// members
NiPointer<TESObjectREFR> target; // 00
NiPointer<TESObjectREFR> caster; // 08
std::uint32_t magicEffectFormID; // 10
};
static_assert(sizeof(TESMagicEffectApplyEvent) == 0x18);
}