CommonLibSSE NG
Loading...
Searching...
No Matches
RE::TESDataHandler Class Reference

#include <TESDataHandler.h>

Inheritance diagram for RE::TESDataHandler:
RE::BSTSingletonSDM< TESDataHandler > RE::BSTSingletonSDMBase< Traits >

Classes

struct  RUNTIME_DATA
 

Public Member Functions

std::uint32_t LoadScripts ()
 
TESFormLookupForm (FormID a_localFormID, std::string_view a_modName)
 
TESFormLookupFormRaw (FormID a_rawFormID, std::string_view a_modName)
 
template<class T >
T * LookupForm (FormID a_localFormID, std::string_view a_modName)
 
template<class T >
T * LookupFormRaw (FormID a_rawFormID, std::string_view a_modName)
 
FormID LookupFormID (FormID a_localFormID, std::string_view a_modName)
 
FormID LookupFormIDRaw (FormID a_rawFormID, std::string_view a_modName)
 
const TESFileLookupModByName (std::string_view a_modName)
 
std::optional< std::uint8_t > GetModIndex (std::string_view a_modName)
 
const TESFileLookupLoadedModByName (std::string_view a_modName)
 
const TESFileLookupLoadedModByIndex (std::uint8_t a_index)
 
std::optional< std::uint8_t > GetLoadedModIndex (std::string_view a_modName)
 
const TESFileLookupLoadedLightModByName (std::string_view a_modName)
 
const TESFileLookupLoadedLightModByIndex (std::uint16_t a_index)
 
std::optional< std::uint16_t > GetLoadedLightModIndex (std::string_view a_modName)
 
bool IsGeneratedID (FormID a_formID)
 
BSTArray< TESForm * > & GetFormArray (FormType a_formType)
 
template<class T >
BSTArray< T * > & GetFormArray ()
 
ObjectRefHandle CreateReferenceAtLocation (TESBoundObject *a_base, const NiPoint3 &a_location, const NiPoint3 &a_rotation, TESObjectCELL *a_targetCell, TESWorldSpace *a_selfWorldSpace, TESObjectREFR *a_alreadyCreatedRef, BGSPrimitive *a_primitive, const ObjectRefHandle &a_linkedRoomRefHandle, bool a_forcePersist, bool a_arg11)
 
RUNTIME_DATAGetGeometryRuntimeData () noexcept
 
const RUNTIME_DATAGetGeometryRuntimeData () const noexcept
 
TESFile ** GetLoadedMods () noexcept
 
const TESFile *const * GetLoadedMods () const noexcept
 
std::uint8_t GetLoadedModCount () const noexcept
 
TESFile ** GetLoadedLightMods () noexcept
 
const TESFile *const * GetLoadedLightMods () const noexcept
 
std::uint8_t GetLoadedLightModCount () const noexcept
 
TESRegionDataManagerGetRegionDataManager () noexcept
 
const TESRegionDataManagerGetRegionDataManager () const noexcept
 
InventoryChangesGetMerchantInventory () noexcept
 
const InventoryChangesGetMerchantInventory () const noexcept
 

Static Public Member Functions

static TESDataHandlerGetSingleton ()
 

Public Attributes

std::uint8_t pad001
 
std::uint16_t pad002
 
std::uint32_t pad004
 
TESObjectListobjectList
 
BSTArray< TESForm * > formArrays [stl::to_underlying(FormType::Max)]
 
TESRegionListregionList
 
NiTPrimitiveArray< TESObjectCELL * > interiorCells
 
NiTPrimitiveArray< BGSAddonNode * > addonNodes
 
NiTList< TESForm * > badForms
 
FormID nextID
 
std::uint32_t padD54
 
TESFileactiveFile
 
BSSimpleList< TESFile * > files
 
TESFileCollection compiledFileCollection
 
RUNTIME_DATA_CONTENT std::uint8_t unkDAA
 
std::uint8_t padDAB
 
std::uint32_t padDAC
 
TESRegionDataManagerregionDataManager
 
InventoryChangesmerchantInventory
 

Additional Inherited Members

- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Member Function Documentation

◆ CreateReferenceAtLocation()

ObjectRefHandle RE::TESDataHandler::CreateReferenceAtLocation ( TESBoundObject a_base,
const NiPoint3 a_location,
const NiPoint3 a_rotation,
TESObjectCELL a_targetCell,
TESWorldSpace a_selfWorldSpace,
TESObjectREFR a_alreadyCreatedRef,
BGSPrimitive *  a_primitive,
const ObjectRefHandle a_linkedRoomRefHandle,
bool  a_forcePersist,
bool  a_arg11 
)

◆ GetFormArray() [1/2]

template<class T >
BSTArray< T * > & RE::TESDataHandler::GetFormArray

◆ GetFormArray() [2/2]

BSTArray< TESForm * > & RE::TESDataHandler::GetFormArray ( FormType  a_formType)

◆ GetGeometryRuntimeData() [1/2]

const RUNTIME_DATA & RE::TESDataHandler::GetGeometryRuntimeData ( ) const
inlinenoexcept

◆ GetGeometryRuntimeData() [2/2]

RUNTIME_DATA & RE::TESDataHandler::GetGeometryRuntimeData ( )
inlinenoexcept

◆ GetLoadedLightModCount()

std::uint8_t RE::TESDataHandler::GetLoadedLightModCount ( ) const
inlinenoexcept

◆ GetLoadedLightModIndex()

std::optional< std::uint16_t > RE::TESDataHandler::GetLoadedLightModIndex ( std::string_view  a_modName)

◆ GetLoadedLightMods() [1/2]

const TESFile *const * RE::TESDataHandler::GetLoadedLightMods ( ) const
inlinenoexcept

◆ GetLoadedLightMods() [2/2]

TESFile ** RE::TESDataHandler::GetLoadedLightMods ( )
inlinenoexcept

◆ GetLoadedModCount()

std::uint8_t RE::TESDataHandler::GetLoadedModCount ( ) const
inlinenoexcept

◆ GetLoadedModIndex()

std::optional< std::uint8_t > RE::TESDataHandler::GetLoadedModIndex ( std::string_view  a_modName)

◆ GetLoadedMods() [1/2]

const TESFile *const * RE::TESDataHandler::GetLoadedMods ( ) const
inlinenoexcept

◆ GetLoadedMods() [2/2]

TESFile ** RE::TESDataHandler::GetLoadedMods ( )
inlinenoexcept

◆ GetMerchantInventory() [1/2]

const InventoryChanges * RE::TESDataHandler::GetMerchantInventory ( ) const
inlinenoexcept

◆ GetMerchantInventory() [2/2]

InventoryChanges * RE::TESDataHandler::GetMerchantInventory ( )
inlinenoexcept

◆ GetModIndex()

std::optional< std::uint8_t > RE::TESDataHandler::GetModIndex ( std::string_view  a_modName)

◆ GetRegionDataManager() [1/2]

const TESRegionDataManager * RE::TESDataHandler::GetRegionDataManager ( ) const
inlinenoexcept

◆ GetRegionDataManager() [2/2]

TESRegionDataManager * RE::TESDataHandler::GetRegionDataManager ( )
inlinenoexcept

◆ GetSingleton()

static TESDataHandler * RE::TESDataHandler::GetSingleton ( )
static

◆ IsGeneratedID()

bool RE::TESDataHandler::IsGeneratedID ( FormID  a_formID)

◆ LoadScripts()

std::uint32_t RE::TESDataHandler::LoadScripts ( )

◆ LookupForm() [1/2]

TESForm * RE::TESDataHandler::LookupForm ( FormID  a_localFormID,
std::string_view  a_modName 
)

◆ LookupForm() [2/2]

template<class T >
T * RE::TESDataHandler::LookupForm ( FormID  a_localFormID,
std::string_view  a_modName 
)

◆ LookupFormID()

FormID RE::TESDataHandler::LookupFormID ( FormID  a_localFormID,
std::string_view  a_modName 
)

◆ LookupFormIDRaw()

FormID RE::TESDataHandler::LookupFormIDRaw ( FormID  a_rawFormID,
std::string_view  a_modName 
)

◆ LookupFormRaw() [1/2]

TESForm * RE::TESDataHandler::LookupFormRaw ( FormID  a_rawFormID,
std::string_view  a_modName 
)

◆ LookupFormRaw() [2/2]

template<class T >
T * RE::TESDataHandler::LookupFormRaw ( FormID  a_rawFormID,
std::string_view  a_modName 
)

◆ LookupLoadedLightModByIndex()

const TESFile * RE::TESDataHandler::LookupLoadedLightModByIndex ( std::uint16_t  a_index)

◆ LookupLoadedLightModByName()

const TESFile * RE::TESDataHandler::LookupLoadedLightModByName ( std::string_view  a_modName)

◆ LookupLoadedModByIndex()

const TESFile * RE::TESDataHandler::LookupLoadedModByIndex ( std::uint8_t  a_index)

◆ LookupLoadedModByName()

const TESFile * RE::TESDataHandler::LookupLoadedModByName ( std::string_view  a_modName)

◆ LookupModByName()

const TESFile * RE::TESDataHandler::LookupModByName ( std::string_view  a_modName)

Member Data Documentation

◆ activeFile

TESFile* RE::TESDataHandler::activeFile

◆ addonNodes

NiTPrimitiveArray<BGSAddonNode*> RE::TESDataHandler::addonNodes

◆ badForms

NiTList<TESForm*> RE::TESDataHandler::badForms

◆ compiledFileCollection

TESFileCollection RE::TESDataHandler::compiledFileCollection

◆ files

BSSimpleList<TESFile*> RE::TESDataHandler::files

◆ formArrays

BSTArray<TESForm*> RE::TESDataHandler::formArrays[stl::to_underlying(FormType::Max)]

◆ interiorCells

NiTPrimitiveArray<TESObjectCELL*> RE::TESDataHandler::interiorCells

◆ merchantInventory

InventoryChanges* RE::TESDataHandler::merchantInventory

◆ nextID

FormID RE::TESDataHandler::nextID

◆ objectList

TESObjectList* RE::TESDataHandler::objectList

◆ pad001

std::uint8_t RE::TESDataHandler::pad001

◆ pad002

std::uint16_t RE::TESDataHandler::pad002

◆ pad004

std::uint32_t RE::TESDataHandler::pad004

◆ padD54

std::uint32_t RE::TESDataHandler::padD54

◆ padDAB

std::uint8_t RE::TESDataHandler::padDAB

◆ padDAC

std::uint32_t RE::TESDataHandler::padDAC

◆ regionDataManager

TESRegionDataManager* RE::TESDataHandler::regionDataManager

◆ regionList

TESRegionList* RE::TESDataHandler::regionList

◆ unkDAA

RUNTIME_DATA_CONTENT std::uint8_t RE::TESDataHandler::unkDAA

The documentation for this class was generated from the following file: