#pragma once #include "RE/B/BSTEvent.h" namespace RE { class TESInitScriptEvent { public: [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESInitScriptEvent::GetEventSource); static REL::Relocation func{ ID::TESInitScriptEvent::GetEventSource }; return func(); } // members TESObjectREFR* hObjectInitialized; // 00 }; static_assert(sizeof(TESInitScriptEvent) == 0x8); }