AdditionalModulesToLoad

AdditionalModulesToLoad

#Overview

name: AdditionalModulesToLoad

The value of this variable can be defined or overridden in .ini config files. 3 .ini config files referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:2237, section: [OnlineSubsystem]

Location: <Workspace>/Engine/Config/BaseEngine.ini:2238, section: [OnlineSubsystem]

Location: <Workspace>/Engine/Config/BaseEngine.ini:2239, section: [OnlineSubsystem]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineSubsystemModule.cpp:68

Scope (from outer to inner):

file
function     void FOnlineSubsystemModule::StartupModule

Source code excerpt:

	// For all modules loaded here, we want to ensure they will still exist during ShutdownModule.
	// We will always load these modules at the cost of extra modules loaded for the few OSS (like Null) that don't use it.
	TArray<FString> AdditionalModulesToLoad;
	GConfig->GetArray(TEXT("OnlineSubsystem"), TEXT("AdditionalModulesToLoad"), AdditionalModulesToLoad, GEngineIni);
	for (const FString& AdditonalModule : AdditionalModulesToLoad)
	{
		if (FModuleManager::Get().ModuleExists(*AdditonalModule))
		{
			FModuleManager::Get().LoadModule(*AdditonalModule);
		}
	}

#Loc: <Workspace>/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemFeatureFlags.h:19

Scope: file

Source code excerpt:

  *
  * Application overrides must be registered before the OnlineSubsystem module is started by
  * using AdditionalModulesToLoad and are evaluated only once for the duration of the application.
  * 
  * Example application usage:
  * REGISTER_ONLINE_SUBSYSTEM_FEATURE_RUNTIMECHECK(FRIENDS, FOnlineSubsystemFeatureCheck::CreateStatic(FParse::Param(FCommandLine::Get(), TEXT("EnableFriends")))
*/ 

DECLARE_DELEGATE_RetVal(bool, FOnlineSubsystemFeatureCheck);

#if ONLINE_SUBSYSTEM_FEATURE_RUNTIMECHECKS

#define UE_REGISTER_ONLINE_SUBSYSTEM_FEATURE_RUNTIMECHECK(FeatureName, CheckFunction) \
UE::OnlineSubsystemFeature::FeatureRuntimeCheckDelegate_##FeatureName = CheckFunction;

#define UE_UNREGISTER_ONLINE_SUBSYSTEM_FEATURE_RUNTIMECHECK(FeatureName) \
UE::OnlineSubsystemFeature::FeatureRuntimeCheckDelegate_##FeatureName.Unbind();

#define UE_DECLARE_ONLINE_SUBSYSTEM_FEATURE(StorageClass, FeatureName) \
namespace UE::OnlineSubsystemFeature { \