mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fix some playlist starter loot, cleanup some code, fix death bugs on 1.8 and 1.7.2, fix reloading not taking items on 1.8 and 1.7.2, fix looting on s9, fix some s15 & s16 builds, fix bug with higher version looting
23 lines
635 B
C++
23 lines
635 B
C++
#pragma once
|
|
|
|
#include "BuildingSMActor.h"
|
|
#include "FortPawn.h"
|
|
|
|
class ABuildingContainer : public ABuildingSMActor
|
|
{
|
|
public:
|
|
bool ShouldDestroyOnSearch()
|
|
{
|
|
static auto bDestroyContainerOnSearchOffset = GetOffset("bDestroyContainerOnSearch");
|
|
static auto bDestroyContainerOnSearchFieldMask = GetFieldMask(GetProperty("bDestroyContainerOnSearch"));
|
|
return this->ReadBitfieldValue(bDestroyContainerOnSearchOffset, bDestroyContainerOnSearchFieldMask);
|
|
}
|
|
|
|
bool SpawnLoot(AFortPawn* Pawn);
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>("/Script/FortniteGame.BuildingContainer");
|
|
return Class;
|
|
}
|
|
}; |