mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-14 03:02:22 +01:00
some ai stuff
might have completely broke ai but idk
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Object.h"
|
||||
#include "Package.h"
|
||||
|
||||
#define ANY_PACKAGE (UObject*)-1
|
||||
|
||||
@@ -11,4 +12,10 @@ static inline T* StaticFindObject(UClass* Class, UObject* InOuter, const TCHAR*
|
||||
{
|
||||
// LOG_INFO(LogDev, "StaticFindObjectOriginal: {}", __int64(StaticFindObjectOriginal));
|
||||
return (T*)StaticFindObjectOriginal(Class, InOuter, Name, ExactClass);
|
||||
}
|
||||
|
||||
static inline UPackage* GetTransientPackage()
|
||||
{
|
||||
static auto TransientPackage = StaticFindObject<UPackage>(nullptr, nullptr, L"/Engine/Transient");
|
||||
return TransientPackage;
|
||||
}
|
||||
Reference in New Issue
Block a user