docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSTEvent.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class TESCellFullyLoadedEvent
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] static BSTEventSource<TESCellFullyLoadedEvent>* GetEventSource()
|
||||
{
|
||||
using func_t = decltype(&TESCellFullyLoadedEvent::GetEventSource);
|
||||
static REL::Relocation<func_t> func{ ID::TESCellFullyLoadedEvent::GetEventSource };
|
||||
return func();
|
||||
}
|
||||
|
||||
// members
|
||||
TESObjectCELL* cell;
|
||||
};
|
||||
static_assert(sizeof(TESCellFullyLoadedEvent) == 0x8);
|
||||
}
|
||||
Reference in New Issue
Block a user