Update Unreal Engine SDK
This commit is contained in:
@@ -33,11 +33,11 @@ using namespace UC;
|
||||
*/
|
||||
namespace Offsets
|
||||
{
|
||||
inline int32 GObjects = 0x091A3D00;
|
||||
inline int32 AppendString = 0x011A2FE0;
|
||||
inline int32 GNames = 0x090ECF40;
|
||||
inline int32 GWorld = 0x093244B8;
|
||||
inline int32 ProcessEvent = 0x0138E560;
|
||||
inline int32 GObjects = 0x09176000;
|
||||
inline int32 AppendString = 0x011A2EE0;
|
||||
inline int32 GNames = 0x0905B2E8;
|
||||
inline int32 GWorld = 0x092F67B8;
|
||||
inline int32 ProcessEvent = 0x0138E480;
|
||||
inline int32 ProcessEventIdx = 0x0000004D;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace BasicFilesImpleUtils
|
||||
const FName& GetStaticName(const wchar_t* Name, FName& StaticName);
|
||||
|
||||
template<bool bIsFullName = false>
|
||||
class UClass* GetStaticClass(const char* Name, class UClass*& StaticClass)
|
||||
class UClass* GetStaticClassImpl(const char* Name, class UClass*& StaticClass)
|
||||
{
|
||||
if (StaticClass == nullptr)
|
||||
{
|
||||
@@ -166,13 +166,13 @@ ClassType* GetDefaultObjImpl()
|
||||
#define STATIC_CLASS_IMPL(NameString) \
|
||||
{ \
|
||||
static UClass* Clss = nullptr; \
|
||||
return GetStaticClass(NameString, Clss); \
|
||||
return GetStaticClassImpl(NameString, Clss); \
|
||||
}
|
||||
|
||||
#define STATIC_CLASS_IMPL_FULLNAME(FullNameString) \
|
||||
{ \
|
||||
static UClass* Clss = nullptr; \
|
||||
return GetStaticClass<true>(FullNameString, Clss); \
|
||||
return GetStaticClassImpl<true>(FullNameString, Clss); \
|
||||
}
|
||||
|
||||
#define BP_STATIC_CLASS_IMPL(NameString) \
|
||||
@@ -627,62 +627,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class FEncryptedObjPtr
|
||||
{
|
||||
public:
|
||||
class UObject* Object;
|
||||
uint64_t KeyOrSomething;
|
||||
};
|
||||
|
||||
template<typename UEType>
|
||||
class TEncryptedObjPtr : public FEncryptedObjPtr
|
||||
{
|
||||
public:
|
||||
|
||||
public:
|
||||
UEType* Get()
|
||||
{
|
||||
return static_cast<UEType*>(Object);
|
||||
}
|
||||
const UEType* Get() const
|
||||
{
|
||||
return static_cast<const UEType*>(Object);
|
||||
}
|
||||
|
||||
UEType* operator->()
|
||||
{
|
||||
return Get();
|
||||
}
|
||||
const UEType* operator->() const
|
||||
{
|
||||
return Get();
|
||||
}
|
||||
|
||||
inline operator UEType* ()
|
||||
{
|
||||
return Get();
|
||||
}
|
||||
inline operator UEType* () const
|
||||
{
|
||||
return Get();
|
||||
}
|
||||
|
||||
public:
|
||||
inline bool operator==(const FEncryptedObjPtr& Other) const
|
||||
{
|
||||
return Object == Other.Object;
|
||||
}
|
||||
inline bool operator!=(const FEncryptedObjPtr& Other) const
|
||||
{
|
||||
return Object != Other.Object;
|
||||
}
|
||||
|
||||
inline explicit operator bool() const
|
||||
{
|
||||
return Object != nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
// Predefined struct FScriptInterface
|
||||
// 0x0010 (0x0010 - 0x0000)
|
||||
class FScriptInterface
|
||||
|
||||
Reference in New Issue
Block a user