#include "FortAthenaMutator_Barrier.h" void AFortAthenaMutator_Barrier::OnGamePhaseStepChangedHook(UObject* Context, FFrame& Stack, void* Ret) { /* TScriptInterface SafeZoneInterface; EAthenaGamePhaseStep GamePhaseStep; static auto SafeZoneInterfaceOffset = FindOffsetStruct("/Script/FortniteGame.FortAthenaMutator_Barrier.OnGamePhaseStepChanged", "SafeZoneInterface", false); if (SafeZoneInterfaceOffset != -1) Stack.StepCompiledIn(&SafeZoneInterface); Stack.StepCompiledIn(&GamePhaseStep); LOG_INFO(LogDev, "{} GamePhaseStep: {}", __FUNCTION__, (int)GamePhaseStep); if (GamePhaseStep == EAthenaGamePhaseStep::Warmup) { // idk when they spawn the barrier could also be warmup or something } else if (GamePhaseStep == EAthenaGamePhaseStep::BusLocked) { // idk if they spawn the heads on flying or locked } */ return OnGamePhaseStepChangedOriginal(Context, Stack, Ret); }