"faafo/contrib/install-aws.sh" did not exist on "a2ab32360c4ec270edcda37c67b70cdecdb1623b"
Select Git revision
DensityField.h
RWTHVRCluster.cpp 990 B
#include "RWTHVRCluster.h"
#include "GameDelegates.h"
#include "Logging/StructuredLog.h"
#define LOCTEXT_NAMESPACE "FRWTHVRClusterModule"
void FRWTHVRClusterModule::StartupModule()
{
ClusterConsole.Register();
FGameDelegates::Get().GetModifyCookDelegate().AddRaw(this, &FRWTHVRClusterModule::GetPackagesToAlwaysCook);
}
void FRWTHVRClusterModule::ShutdownModule() { ClusterConsole.Unregister(); }
void FRWTHVRClusterModule::GetPackagesToAlwaysCook(TConstArrayView<const ITargetPlatform*> InTargetPlatforms,
TArray<FName>& InOutPackagesToCook,
TArray<FName>& InOutPackagesToNeverCook)
{
InOutPackagesToCook.Add("/RWTHVRCluster/Config/aixcave.aixcave");
InOutPackagesToCook.Add("/RWTHVRCluster/Config/aixcave_two_player.aixcave_two_player");
UE_LOGFMT(LogTemp, Display,
"GetPackagesToAlwaysCook delegate called, adding aixcave configs to always cook list...");
}
#undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FRWTHVRClusterModule, RWTHVRCluster)