mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
print mutators, fix clear aircraft on 4.1, do a scuffed fix for pickup animation on s3-s5
27 lines
709 B
C++
27 lines
709 B
C++
#pragma once
|
|
|
|
#include "FortItem.h"
|
|
#include "Object.h"
|
|
#include "Class.h"
|
|
|
|
#include "reboot.h"
|
|
|
|
class UFortItemDefinition : public UObject
|
|
{
|
|
public:
|
|
UFortItem* CreateTemporaryItemInstanceBP(int Count, int Level = 1); // Should Level be 20?
|
|
float GetMaxStackSize();
|
|
|
|
bool DoesAllowMultipleStacks()
|
|
{
|
|
static auto bAllowMultipleStacksOffset = GetOffset("bAllowMultipleStacks");
|
|
static auto bAllowMultipleStacksFieldMask = GetFieldMask(GetProperty("bAllowMultipleStacks"));
|
|
return ReadBitfieldValue(bAllowMultipleStacksOffset, bAllowMultipleStacksFieldMask);
|
|
}
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortItemDefinition");
|
|
return Class;
|
|
}
|
|
}; |