mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix 1.11 replication, fix some ltm specific stuff, start on shadow stones, fix some events not having foundations, fix s4-s6 gadgets, fix clear inventory on some versions
18 lines
687 B
C++
18 lines
687 B
C++
#include "FortAthenaMutator_Disco.h"
|
|
|
|
void AFortAthenaMutator_Disco::OnGamePhaseStepChangedHook(UObject* Context, FFrame& Stack, void* Ret)
|
|
{
|
|
TScriptInterface<UObject> SafeZoneInterface;
|
|
EAthenaGamePhaseStep GamePhaseStep = EAthenaGamePhaseStep::BusFlying;
|
|
|
|
static auto SafeZoneInterfaceOffset = FindOffsetStruct("/Script/FortniteGame.FortAthenaMutator_Disco.OnGamePhaseStepChanged", "SafeZoneInterface", false);
|
|
|
|
if (SafeZoneInterfaceOffset != -1)
|
|
Stack.StepCompiledIn(&SafeZoneInterface);
|
|
|
|
// Stack.StepCompiledIn(&GamePhaseStep, true);
|
|
|
|
LOG_INFO(LogDev, "{} GamePhaseStep: {}", __FUNCTION__, (int)GamePhaseStep);
|
|
|
|
return OnGamePhaseStepChangedOriginal(Context, Stack, Ret);
|
|
} |