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