Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameInstance
Description
Retrieves the name of the online subsystem for the platform used by this instance. This will be used as the value of the PlayerOnlinePlatformName parameter in the NMT_Login message when this client connects to a server. Normally this will be the same as the DefaultPlatformService config value, but games may override it if they need non-default behavior (for example, if they are using multiple online subsystems at the same time).
| Name | GetOnlinePlatformName |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h |
| Include Path | #include "Engine/GameInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameInstance.cpp |
virtual FName GetOnlinePlatformName() const