UGameInstance::GetOnlinePlatformName

Retrieves the name of the online subsystem for the platform used by this instance.