mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
a bit
added some specific playlist items, fix s8-s10 markers because i broke, fixed removing items on aircraft on every version, added thanos stone automatic spawning, fix a bug with lategame, add marshmello stage, fix multiple battle buses, fix teams on large team gamemodes, fix some items not removing automatically
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
|
||||
#include "Actor.h"
|
||||
#include "CurveTable.h"
|
||||
#include "GameplayAbilityTypes.h"
|
||||
#include "FortWorldItemDefinition.h"
|
||||
#include "Stack.h"
|
||||
#include "FortAthenaMutator.h"
|
||||
|
||||
struct FItemsToGive
|
||||
{
|
||||
UFortWorldItemDefinition* ItemToDrop; // 0x0000(0x0008) (Edit, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
||||
FScalableFloat NumberToGive; // 0x0008(0x0020) (Edit, NativeAccessSpecifierPublic)
|
||||
};
|
||||
|
||||
class AFortAthenaMutator_GiveItemsAtGamePhaseStep : public AFortAthenaMutator
|
||||
{
|
||||
public:
|
||||
static inline void (*OnGamePhaseStepChangedOriginal)(UObject* Context, FFrame& Stack, void* Ret);
|
||||
|
||||
uint8_t& GetPhaseToGiveItems()
|
||||
{
|
||||
static auto PhaseToGiveItemsOffset = GetOffset("PhaseToGiveItems");
|
||||
return Get<uint8_t>(PhaseToGiveItemsOffset);
|
||||
}
|
||||
|
||||
TArray<FItemsToGive>& GetItemsToGive()
|
||||
{
|
||||
static auto ItemsToGiveOffset = GetOffset("ItemsToGive");
|
||||
return Get<TArray<FItemsToGive>>(ItemsToGiveOffset);
|
||||
}
|
||||
|
||||
static void OnGamePhaseStepChangedHook(UObject* Context, FFrame& Stack, void* Ret);
|
||||
|
||||
static UClass* StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortAthenaMutator_GiveItemsAtGamePhaseStep");
|
||||
return Class;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user