25 lines
508 B
C++
25 lines
508 B
C++
#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);
|
|
}
|