FOnlineSubsystemModule::GetOnlineSubsystem

Main entry point for accessing an online subsystem by name Will load the appropriate module if the subsystem isn't currently loaded It's possible that the subsystem doesn't exist and therefore can return NULL

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemModule.h

Include

#include "OnlineSubsystemModule.h"

Source

/Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineSubsystemModule.cpp

Syntax

virtual IOnlineSubsystem * GetOnlineSubsystem
(
    const FName InSubsystemName
)

Remarks

Main entry point for accessing an online subsystem by name Will load the appropriate module if the subsystem isn't currently loaded It's possible that the subsystem doesn't exist and therefore can return NULL

Returns

Requested online subsystem, or NULL if that subsystem was unable to load or doesn't exist

Parameters

Parameter

Description

InSubsystemName

name of subsystem as referenced by consumers

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss