mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
14 lines
559 B
C++
14 lines
559 B
C++
#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;
|
|
} |