Files
Project-Reboot-3.0/Project Reboot 3.0/FortItemDefinition.h
2023-03-11 09:24:00 -05:00

21 lines
548 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);
float GetMaxStackSize();
bool DoesAllowMultipleStacks()
{
static auto bAllowMultipleStacksOffset = GetOffset("bAllowMultipleStacks");
static auto bAllowMultipleStacksFieldMask = GetFieldMask(GetProperty("bAllowMultipleStacks"));
return ReadBitfieldValue(bAllowMultipleStacksOffset, bAllowMultipleStacksFieldMask);
}
};