Skip to content
Snippets Groups Projects
Commit 1edab4f7 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Merge branch 'dev/5.4' into 'dev/5.5'

Pull 5.4 changes into 5.5

See merge request !6
parents 8c8451a3 515658b2
No related branches found
No related tags found
1 merge request!6Pull 5.4 changes into 5.5
...@@ -41,7 +41,6 @@ include: ...@@ -41,7 +41,6 @@ include:
variables: variables:
UNREAL_VERSION: "5.5" UNREAL_VERSION: "5.5"
CUSTOM_NDISPLAY_CONFIG: "aixcave_5_3_dev.ndisplay"
stages: stages:
- analyze - analyze
......
No preview for this file type
#include "RWTHVRCluster.h" #include "RWTHVRCluster.h"
#include "GameDelegates.h"
#include "Logging/StructuredLog.h"
#define LOCTEXT_NAMESPACE "FRWTHVRClusterModule" #define LOCTEXT_NAMESPACE "FRWTHVRClusterModule"
void FRWTHVRClusterModule::StartupModule() { ClusterConsole.Register(); } void FRWTHVRClusterModule::StartupModule()
{
ClusterConsole.Register();
FGameDelegates::Get().GetModifyCookDelegate().AddRaw(this, &FRWTHVRClusterModule::GetPackagesToAlwaysCook);
}
void FRWTHVRClusterModule::ShutdownModule() { ClusterConsole.Unregister(); } void FRWTHVRClusterModule::ShutdownModule() { ClusterConsole.Unregister(); }
void FRWTHVRClusterModule::GetPackagesToAlwaysCook(TConstArrayView<const ITargetPlatform*> InTargetPlatforms,
TArray<FName>& InOutPackagesToCook,
TArray<FName>& InOutPackagesToNeverCook)
{
InOutPackagesToCook.Add("/RWTHVRCluster/Config/aixcave");
InOutPackagesToCook.Add("/RWTHVRCluster/Config/aixcave_two_player");
UE_LOGFMT(LogTemp, Display,
"GetPackagesToAlwaysCook delegate called, adding aixcave configs to always cook list...");
}
#undef LOCTEXT_NAMESPACE #undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FRWTHVRClusterModule, RWTHVRCluster) IMPLEMENT_MODULE(FRWTHVRClusterModule, RWTHVRCluster)
...@@ -10,6 +10,9 @@ public: ...@@ -10,6 +10,9 @@ public:
virtual void StartupModule() override; virtual void StartupModule() override;
virtual void ShutdownModule() override; virtual void ShutdownModule() override;
void GetPackagesToAlwaysCook(TConstArrayView<const ITargetPlatform*> InTargetPlatforms,
TArray<FName>& InOutPackagesToCook, TArray<FName>& InOutPackagesToNeverCook);
private: private:
FClusterConsole ClusterConsole; FClusterConsole ClusterConsole;
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment