mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-14 11:09:17 +01:00
quite a good update
Fixed Devourer of Worlds Event, Fixed chapter 2+ editing bug, Fixed all other bugs with editing, Fixed S13+ lategame.
This commit is contained in:
@@ -1,6 +1,21 @@
|
||||
#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());
|
||||
|
||||
static auto DynamicFoundationTransformOffset = BuildingFoundation->GetOffset("DynamicFoundationTransform");
|
||||
BuildingFoundation->Get<FTransform>(DynamicFoundationTransformOffset) = NewTransform;
|
||||
|
||||
return SetDynamicFoundationTransformOriginal(Context, Stack, Ret);
|
||||
}
|
||||
|
||||
void ABuildingFoundation::SetDynamicFoundationEnabledHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
bool bEnabled;
|
||||
|
||||
Reference in New Issue
Block a user