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

23 lines
479 B
C++

#pragma once
#include "RE/B/BSTEvent.h"
namespace RE
{
class TESObjectLoadedEvent
{
public:
[[nodiscard]] static BSTEventSource<TESObjectLoadedEvent>* GetEventSource()
{
using func_t = decltype(&TESObjectLoadedEvent::GetEventSource);
static REL::Relocation<func_t> func{ ID::TESObjectLoadedEvent::GetEventSource };
return func();
}
// members
TESFormID formID; // 00
bool loaded; // 04
};
static_assert(sizeof(TESObjectLoadedEvent) == 0x8);
}