mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 03:32:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
45
dependencies/reboot/Project Reboot 3.0/FortItemDefinition.h
vendored
Normal file
45
dependencies/reboot/Project Reboot 3.0/FortItemDefinition.h
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
#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>(L"/Script/FortniteGame.FortItemDefinition");
|
||||
return Class;
|
||||
}
|
||||
};
|
||||
|
||||
struct FItemAndCount
|
||||
{
|
||||
private:
|
||||
int Count; // 0x0000(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
||||
unsigned char UnknownData00[0x4]; // 0x0004(0x0004) MISSED OFFSET
|
||||
UFortItemDefinition* Item; // 0x0008(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
||||
public:
|
||||
int& GetCount()
|
||||
{
|
||||
return Count;
|
||||
}
|
||||
|
||||
UFortItemDefinition*& GetItem()
|
||||
{
|
||||
return Item;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user