cheat spawnpickup, teams on >s4, bga spawning, gameplayeffects apply from abilityset
This commit is contained in:
Milxnor
2023-04-08 00:35:54 -04:00
parent 636a084bcb
commit 5f5d7fb649
27 changed files with 712 additions and 125 deletions

View 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;
}
};