mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
30
dependencies/reboot/Project Reboot 3.0/BuildingFoundation.cpp
vendored
Normal file
30
dependencies/reboot/Project Reboot 3.0/BuildingFoundation.cpp
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "BuildingFoundation.h"
|
||||
#include "FortGameModeAthena.h"
|
||||
|
||||
void ABuildingFoundation::SetDynamicFoundationTransformHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
FTransform NewTransform;
|
||||
Stack.StepCompiledIn(&NewTransform);
|
||||
|
||||
auto BuildingFoundation = (ABuildingFoundation*)Context;
|
||||
|
||||
LOG_INFO(LogDev, "Bruh: {}", BuildingFoundation->GetName());
|
||||
|
||||
SetFoundationTransform(BuildingFoundation, NewTransform);
|
||||
|
||||
return SetDynamicFoundationTransformOriginal(Context, Stack, Ret);
|
||||
}
|
||||
|
||||
void ABuildingFoundation::SetDynamicFoundationEnabledHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
bool bEnabled;
|
||||
Stack.StepCompiledIn(&bEnabled);
|
||||
|
||||
// LOG_INFO(LogDev, "{} TELL MILXNOR IF THIS PRINTS: {}", Context->GetFullName(), bEnabled);
|
||||
|
||||
auto BuildingFoundation = (ABuildingFoundation*)Context;
|
||||
|
||||
ShowFoundation(BuildingFoundation, bEnabled);
|
||||
|
||||
return SetDynamicFoundationEnabledOriginal(Context, Stack, Ret);
|
||||
}
|
||||
Reference in New Issue
Block a user