15 class InventoryChanges;
18 class TESRegionDataManager;
52 std::optional<std::uint8_t>
GetModIndex(std::string_view a_modName);
106 auto form =
LookupForm(a_rawFormID, a_modName);
111 return form->Is(T::FORMTYPE) ?
static_cast<T*
>(form) : 0;
Definition: BSTArray.h:378
Definition: InventoryChanges.h:15
Definition: NiTArray.h:136
Definition: TESBoundObject.h:24
Definition: TESDataHandler.h:39
std::uint32_t padD54
Definition: TESDataHandler.h:81
TESRegionDataManager * regionDataManager
Definition: TESDataHandler.h:98
BSTArray< TESForm * > formArrays[std::to_underlying(FormType::Max)]
Definition: TESDataHandler.h:75
std::uint32_t pad004
Definition: TESDataHandler.h:73
std::uint8_t unkDAA
Definition: TESDataHandler.h:95
FormID nextID
Definition: TESDataHandler.h:80
BSSimpleList< TESFile * > files
Definition: TESDataHandler.h:83
bool clearingData
Definition: TESDataHandler.h:90
const TESFile * LookupLoadedModByIndex(std::uint8_t a_index)
BSTArray< TESForm * > & GetFormArray(FormType a_formType)
bool AddFormToDataHandler(TESForm *a_form)
const TESFile * LookupLoadedLightModByName(std::string_view a_modName)
bool loadingFiles
Definition: TESDataHandler.h:93
InventoryChanges * merchantInventory
Definition: TESDataHandler.h:99
const TESFile * LookupModByName(std::string_view a_modName)
bool checkingModels
Definition: TESDataHandler.h:92
NiTList< TESForm * > badForms
Definition: TESDataHandler.h:79
TESObjectList * objectList
Definition: TESDataHandler.h:74
const TESFile * LookupLoadedLightModByIndex(std::uint16_t a_index)
std::optional< std::uint8_t > GetLoadedModIndex(std::string_view a_modName)
const TESFile * LookupLoadedModByName(std::string_view a_modName)
BSTArray< T * > & GetFormArray()
Definition: TESDataHandler.h:115
bool blockSave
Definition: TESDataHandler.h:86
std::uint8_t pad001
Definition: TESDataHandler.h:71
bool masterSave
Definition: TESDataHandler.h:85
bool exportingPlugin
Definition: TESDataHandler.h:89
std::uint32_t LoadScripts()
bool dontRemoveIDs
Definition: TESDataHandler.h:94
NiTPrimitiveArray< TESObjectCELL * > interiorCells
Definition: TESDataHandler.h:77
TESRegionList * regionList
Definition: TESDataHandler.h:76
bool hasDesiredFiles
Definition: TESDataHandler.h:91
NiTPrimitiveArray< BGSAddonNode * > addonNodes
Definition: TESDataHandler.h:78
TESFile * activeFile
Definition: TESDataHandler.h:82
std::optional< std::uint8_t > GetModIndex(std::string_view a_modName)
std::uint32_t padDAC
Definition: TESDataHandler.h:97
std::optional< std::uint16_t > GetLoadedLightModIndex(std::string_view a_modName)
TESFileCollection compiledFileCollection
Definition: TESDataHandler.h:84
TESForm * LookupForm(FormID a_rawFormID, std::string_view a_modName)
static TESDataHandler * GetSingleton()
bool saveLoadGame
Definition: TESDataHandler.h:87
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)
bool autoSaving
Definition: TESDataHandler.h:88
std::uint16_t pad002
Definition: TESDataHandler.h:72
FormID LookupFormID(FormID a_rawFormID, std::string_view a_modName)
bool IsGeneratedID(FormID a_formID)
std::uint8_t padDAB
Definition: TESDataHandler.h:96
Definition: TESObjectCELL.h:115
Definition: TESObjectREFR.h:114
Definition: TESRegionDataManager.h:18
Definition: TESRegionList.h:10
Definition: TESWorldSpace.h:118
Definition: AbsorbEffect.h:6
FormType
Definition: FormTypes.h:139
std::uint32_t FormID
Definition: BSCoreTypes.h:5
Definition: BSTSingleton.h:50
Definition: TESDataHandler.h:30
BSTArray< TESFile * > smallFiles
Definition: TESDataHandler.h:34
BSTArray< TESFile * > files
Definition: TESDataHandler.h:33
Definition: TESDataHandler.h:22
std::uint8_t pad0
Definition: TESDataHandler.h:25