<feat: New project structure>

<feat: New release>
This commit is contained in:
Alessandro Autiero
2023-09-02 15:34:15 +02:00
parent 64b33102f4
commit b41e22adeb
953 changed files with 1373072 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#include "FortVolumeManager.h"
AFortVolume* AFortVolumeManager::SpawnVolumeHook(AFortVolumeManager* VolumeManager, UClass* VolumeActor, UFortPlaysetItemDefinition* Playset, FVector Location, FRotator Rotation)
{
// They inlined SetPlayset idk why
static auto VolumeObjectsOffset = VolumeManager->GetOffset("VolumeObjects");
auto& VolumeObjects = VolumeManager->Get<TArray<AFortVolume*>>(VolumeObjectsOffset);
LOG_INFO(LogDev, "SpawnVolumeHook!");
auto ret = SpawnVolumeOriginal(VolumeManager, VolumeActor, Playset, Location, Rotation);
return ret;
}