apparently gui is fixed?

This commit is contained in:
Gray
2024-09-14 10:07:50 -04:00
parent c106b35d18
commit 9dbd6ae2f0
10 changed files with 99 additions and 6 deletions

View File

@@ -4,6 +4,10 @@
#include "Object.h"
#include "Class.h"
#include "SoftObjectPath.h"
#include "SoftObjectPtr.h"
#include "Texture2D.h"
#include "reboot.h"
class UFortItemDefinition : public UObject
@@ -19,6 +23,18 @@ public:
return ReadBitfieldValue(bAllowMultipleStacksOffset, bAllowMultipleStacksFieldMask);
}
FSoftObjectPath& GetDisplayAssetPath()
{
static auto DisplayAssetPathOffset = GetOffset("DisplayAssetPath");
return Get<FSoftObjectPath>(DisplayAssetPathOffset);
}
TSoftObjectPtr<UTexture2D>& GetLargePreviewImage()
{
static auto LargePreviewImageOffset = GetOffset("LargePreviewImage");
return Get<TSoftObjectPtr<UTexture2D>>(LargePreviewImageOffset);
}
static UClass* StaticClass()
{
static auto Class = FindObject<UClass>(L"/Script/FortniteGame.FortItemDefinition");