fix 1.11 replication, fix some ltm specific stuff, start on shadow stones, fix some events not having foundations, fix s4-s6 gadgets, fix clear inventory on some versions
This commit is contained in:
Milxnor
2023-04-22 23:52:20 -04:00
parent 769dfa08ef
commit 5da8485485
57 changed files with 1869 additions and 888 deletions

View File

@@ -155,6 +155,23 @@ bool UObject::IsA(UClass* otherClass)
return false;
}
UFunction* UObject::FindFunction(const std::string& ShortFunctionName)
{
// We could also loop through children.
UClass* super = ClassPrivate;
while (super)
{
if (auto Func = FindObject<UFunction>(super->GetPathName() + "." + ShortFunctionName))
return Func;
super = super->GetSuperStruct();
}
return nullptr;
}
/* class UClass* UObject::StaticClass()
{
static auto Class = FindObject<UClass>("/Script/CoreUObject.Object");