docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/B/BSTSingleton.h"
|
||||
#include "RE/N/NiPointer.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class bhkWorldM;
|
||||
|
||||
class ExteriorCellSingleton :
|
||||
public BSTSingletonExplicit<ExteriorCellSingleton>
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] static ExteriorCellSingleton* GetSingleton()
|
||||
{
|
||||
static REL::Relocation<ExteriorCellSingleton**> singleton{ ID::ExteriorCellSingleton::Singleton };
|
||||
return *singleton;
|
||||
}
|
||||
|
||||
//members
|
||||
NiPointer<bhkWorldM> exteriorWorld;
|
||||
};
|
||||
static_assert(sizeof(ExteriorCellSingleton) == 0x8);
|
||||
}
|
||||
Reference in New Issue
Block a user