mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
apparently gui is fixed?
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user