mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a lot
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
This commit is contained in:
30
Project Reboot 3.0/FortAthenaMutator_Barrier.cpp
Normal file
30
Project Reboot 3.0/FortAthenaMutator_Barrier.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "FortAthenaMutator_Barrier.h"
|
||||
|
||||
void AFortAthenaMutator_Barrier::OnGamePhaseStepChangedHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
/*
|
||||
TScriptInterface<UObject> 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);
|
||||
}
|
||||
Reference in New Issue
Block a user