|
|
@ -54,7 +54,6 @@ inline void CheckIncompatibleMods() |
|
|
|
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors"); |
|
|
|
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CheckBlacklist(); |
|
|
|
|
|
|
|
CheckWorldspaces(); |
|
|
|
CheckWorldspaces(); |
|
|
|
CheckUnconvertedMap(); |
|
|
|
CheckUnconvertedMap(); |
|
|
|
CheckSkyrimCells(); |
|
|
|
CheckSkyrimCells(); |
|
|
@ -67,8 +66,6 @@ inline void CheckIncompatibleMods() |
|
|
|
|
|
|
|
|
|
|
|
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName) |
|
|
|
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName) |
|
|
|
{ |
|
|
|
{ |
|
|
|
logger::info("Real - GetGlobalFunctionNames of {}", scriptName); |
|
|
|
|
|
|
|
std::vector<std::string> functionNames; |
|
|
|
|
|
|
|
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr; |
|
|
|
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr; |
|
|
|
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr); |
|
|
|
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr); |
|
|
|
auto functionCount = typeInfoPtr->GetNumGlobalFuncs(); |
|
|
|
auto functionCount = typeInfoPtr->GetNumGlobalFuncs(); |
|
|
|