Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Type
typedef TBaseDelegate_NoParams< bool > FOnlineSubsystemFeatureCheck
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemFeatureFlags.h |
| Include | #include "OnlineSubsystemFeatureFlags.h" |
Remarks
Feature checks allow an application to enable online subsystem features based on runtime configuration such as the command-line. The behavior is split so that features can be toggled on or off through a build script while allowing the application to override when ONLINE_SUBSYSTEM_FEATURE_RUNTIMECHECKS is enabled.
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")))