CommonLibSSE (Parapets fork)
RE::TESDataHandler Class Reference

#include <TESDataHandler.h>

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

Public Member Functions

std::uint32_t LoadScripts ()
 
TESFormLookupForm (FormID a_rawFormID, stl::zstring a_modName)
 
template<class T >
T * LookupForm (FormID a_rawFormID, stl::zstring a_modName)
 
const TESFileLookupModByName (stl::zstring a_modName)
 
std::optional< std::uint8_t > GetModIndex (stl::zstring a_modName)
 
const TESFileLookupLoadedModByName (stl::zstring a_modName)
 
const TESFileLookupLoadedModByIndex (std::uint8_t a_index)
 
std::optional< std::uint8_t > GetLoadedModIndex (stl::zstring a_modName)
 
const TESFileLookupLoadedLightModByName (stl::zstring a_modName)
 
const TESFileLookupLoadedLightModByIndex (std::uint16_t a_index)
 
std::optional< std::uint16_t > GetLoadedLightModIndex (stl::zstring a_modName)
 
bool IsGeneratedID (FormID a_formID)
 
BSTArray< TESForm * > & GetFormArray (FormType a_formType)
 
template<class T >
BSTArray< T * > & GetFormArray ()
 
const TESFileCollectionQCompiledFiles () const
 
std::span< const TESFile *const > QNormalFileList () const
 
std::span< const TESFile *const > QSmallFileList () const
 
template<class T >
T * LookupForm (FormID a_rawFormID, std::string_view a_modName)
 

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
 
bool masterSave
 
bool blockSave
 
bool saveLoadGame
 
bool autoSaving
 
bool exportingPlugin
 
bool clearingData
 
bool hasDesiredFiles
 
bool checkingModels
 
bool loadingFiles
 
bool dontRemoveIDs
 
std::uint8_t unkDAA
 
std::uint8_t padDAB
 
std::uint32_t padDAC
 
TESRegionDataManagerregionDataManager
 
std::uint64_t unkDB8
 

Additional Inherited Members

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

Member Function Documentation

◆ GetFormArray() [1/2]

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

◆ GetFormArray() [2/2]

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

◆ GetLoadedLightModIndex()

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

◆ GetLoadedModIndex()

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

◆ GetModIndex()

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

◆ GetSingleton()

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

◆ IsGeneratedID()

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

◆ LoadScripts()

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

◆ LookupForm() [1/3]

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

◆ LookupForm() [2/3]

TESForm* RE::TESDataHandler::LookupForm ( FormID  a_rawFormID,
stl::zstring  a_modName 
)

◆ LookupForm() [3/3]

template<class T >
T* RE::TESDataHandler::LookupForm ( FormID  a_rawFormID,
stl::zstring  a_modName 
)

◆ LookupLoadedLightModByIndex()

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

◆ LookupLoadedLightModByName()

const TESFile* RE::TESDataHandler::LookupLoadedLightModByName ( stl::zstring  a_modName)

◆ LookupLoadedModByIndex()

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

◆ LookupLoadedModByName()

const TESFile* RE::TESDataHandler::LookupLoadedModByName ( stl::zstring  a_modName)

◆ LookupModByName()

const TESFile* RE::TESDataHandler::LookupModByName ( stl::zstring  a_modName)

◆ QCompiledFiles()

const TESFileCollection* RE::TESDataHandler::QCompiledFiles ( ) const

◆ QNormalFileList()

std::span<const TESFile* const> RE::TESDataHandler::QNormalFileList ( ) const

◆ QSmallFileList()

std::span<const TESFile* const> RE::TESDataHandler::QSmallFileList ( ) const

Member Data Documentation

◆ activeFile

TESFile* RE::TESDataHandler::activeFile

◆ addonNodes

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

◆ autoSaving

bool RE::TESDataHandler::autoSaving

◆ badForms

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

◆ blockSave

bool RE::TESDataHandler::blockSave

◆ checkingModels

bool RE::TESDataHandler::checkingModels

◆ clearingData

bool RE::TESDataHandler::clearingData

◆ compiledFileCollection

TESFileCollection RE::TESDataHandler::compiledFileCollection

◆ dontRemoveIDs

bool RE::TESDataHandler::dontRemoveIDs

◆ exportingPlugin

bool RE::TESDataHandler::exportingPlugin

◆ files

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

◆ formArrays

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

◆ hasDesiredFiles

bool RE::TESDataHandler::hasDesiredFiles

◆ interiorCells

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

◆ loadingFiles

bool RE::TESDataHandler::loadingFiles

◆ masterSave

bool RE::TESDataHandler::masterSave

◆ 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

◆ saveLoadGame

bool RE::TESDataHandler::saveLoadGame

◆ unkDAA

std::uint8_t RE::TESDataHandler::unkDAA

◆ unkDB8

std::uint64_t RE::TESDataHandler::unkDB8

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