mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
a bit
cheat spawnpickup, teams on >s4, bga spawning, gameplayeffects apply from abilityset
This commit is contained in:
25
Project Reboot 3.0/FortGadgetItemDefinition.h
Normal file
25
Project Reboot 3.0/FortGadgetItemDefinition.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user