14 class TESRegionDataManager;
45 std::optional<std::uint8_t>
GetModIndex(std::string_view a_modName);
97 auto form =
LookupForm(a_rawFormID, a_modName);
102 return form->Is(T::FORMTYPE) ?
static_cast<T*
>(form) : 0;
Definition: BSTArray.h:377
Definition: NiTArray.h:136
Definition: TESDataHandler.h:35
std::uint32_t padD54
Definition: TESDataHandler.h:72
TESRegionDataManager * regionDataManager
Definition: TESDataHandler.h:89
std::uint32_t pad004
Definition: TESDataHandler.h:64
std::uint8_t unkDAA
Definition: TESDataHandler.h:86
FormID nextID
Definition: TESDataHandler.h:71
BSSimpleList< TESFile * > files
Definition: TESDataHandler.h:74
bool clearingData
Definition: TESDataHandler.h:81
TESForm * LookupForm(FormID a_rawFormID, std::string_view a_modName)
static TESDataHandler * GetSingleton()
std::optional< std::uint8_t > GetModIndex(std::string_view a_modName)
const TESFile * LookupLoadedModByName(std::string_view a_modName)
const TESFile * LookupModByName(std::string_view a_modName)
bool loadingFiles
Definition: TESDataHandler.h:84
bool checkingModels
Definition: TESDataHandler.h:83
const TESFile * LookupLoadedModByIndex(std::uint8_t a_index)
NiTList< TESForm * > badForms
Definition: TESDataHandler.h:70
TESObjectList * objectList
Definition: TESDataHandler.h:65
BSTArray< T * > & GetFormArray()
Definition: TESDataHandler.h:106
const TESFile * LookupLoadedLightModByIndex(std::uint16_t a_index)
bool blockSave
Definition: TESDataHandler.h:77
std::uint8_t pad001
Definition: TESDataHandler.h:62
std::optional< std::uint16_t > GetLoadedLightModIndex(std::string_view a_modName)
bool masterSave
Definition: TESDataHandler.h:76
bool exportingPlugin
Definition: TESDataHandler.h:80
std::uint64_t unkDB8
Definition: TESDataHandler.h:90
std::uint32_t LoadScripts()
bool dontRemoveIDs
Definition: TESDataHandler.h:85
NiTPrimitiveArray< TESObjectCELL * > interiorCells
Definition: TESDataHandler.h:68
BSTArray< TESForm * > & GetFormArray(FormType a_formType)
std::optional< std::uint8_t > GetLoadedModIndex(std::string_view a_modName)
TESRegionList * regionList
Definition: TESDataHandler.h:67
bool hasDesiredFiles
Definition: TESDataHandler.h:82
NiTPrimitiveArray< BGSAddonNode * > addonNodes
Definition: TESDataHandler.h:69
TESFile * activeFile
Definition: TESDataHandler.h:73
const TESFile * LookupLoadedLightModByName(std::string_view a_modName)
std::uint32_t padDAC
Definition: TESDataHandler.h:88
TESFileCollection compiledFileCollection
Definition: TESDataHandler.h:75
bool saveLoadGame
Definition: TESDataHandler.h:78
bool autoSaving
Definition: TESDataHandler.h:79
std::uint16_t pad002
Definition: TESDataHandler.h:63
bool IsGeneratedID(FormID a_formID)
BSTArray< TESForm * > formArrays[stl::to_underlying(FormType::Max)]
Definition: TESDataHandler.h:66
std::uint8_t padDAB
Definition: TESDataHandler.h:87
Definition: TESRegionDataManager.h:18
Definition: TESRegionList.h:10
Definition: AbsorbEffect.h:6
FormType
Definition: FormTypes.h:139
std::uint32_t FormID
Definition: BSCoreTypes.h:5
constexpr auto to_underlying(Enum a_val) noexcept
Definition: PCH.h:635
Definition: BSTSingleton.h:50
Definition: TESDataHandler.h:26
BSTArray< TESFile * > smallFiles
Definition: TESDataHandler.h:30
BSTArray< TESFile * > files
Definition: TESDataHandler.h:29
Definition: TESDataHandler.h:18
std::uint8_t pad0
Definition: TESDataHandler.h:21