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

24 lines
547 B
C++

#pragma once
#include "RE/B/BSTEvent.h"
#include "RE/N/NiPointer.h"
namespace RE
{
class TESCellAttachDetachEvent
{
public:
[[nodiscard]] static BSTEventSource<TESCellAttachDetachEvent>* GetEventSource()
{
using func_t = decltype(&TESCellAttachDetachEvent::GetEventSource);
static REL::Relocation<func_t> func{ ID::TESCellAttachDetachEvent::GetEventSource };
return func();
}
// members
NiPointer<TESObjectREFR> refr;
bool isAttaching;
};
static_assert(sizeof(TESCellAttachDetachEvent) == 0x10);
}