mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
25 lines
608 B
C++
25 lines
608 B
C++
#pragma once
|
|
|
|
#include "FortWorldItemDefinition.h"
|
|
|
|
class UFortGadgetItemDefinition : public UFortWorldItemDefinition
|
|
{
|
|
public:
|
|
|
|
bool ShouldDropAllItemsOnEquip()
|
|
{
|
|
static auto bDropAllOnEquipOffset = GetOffset("bDropAllOnEquip", false);
|
|
|
|
if (bDropAllOnEquipOffset == -1)
|
|
return false;
|
|
|
|
static auto bDropAllOnEquipFieldMask = GetFieldMask(GetProperty("bDropAllOnEquip"));
|
|
return ReadBitfieldValue(bDropAllOnEquipOffset, bDropAllOnEquipFieldMask);
|
|
}
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortGadgetItemDefinition");
|
|
return Class;
|
|
}
|
|
}; |