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