#pragma once #include "RE/B/BSTEvent.h" #include "RE/B/BSTSingleton.h" #include "RE/C/CellAttachDetachEvent.h" namespace RE { namespace CellAttachDetachEventSource { class CellAttachDetachEventSourceSingleton : public BSTSingletonImplicit { public: [[nodiscard]] static CellAttachDetachEventSourceSingleton& GetSingleton() { using func_t = decltype(&CellAttachDetachEventSourceSingleton::GetSingleton); static REL::Relocation func{ ID::CellAttachDetachEvent::GetEventSource }; return func(); } // members BSTEventSource source; // 00 }; static_assert(sizeof(CellAttachDetachEventSourceSingleton) == 0x58); } }