class

FOnlineServices

The registry plugin InitializeModule hooks write into. Registration happens at plugin load (before any project opens); Init runs when the project's platform settings arrive through FPlatformInit::Apply.

Module
Networking
Header
#include "Networking/OnlineService.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
voidRegister
voidInitAll
voidUpdateAll
voidShutdownAll
size_tRemoveAllInModuleShuts down and destroys every service whose vtable lives inside the given module image — a plugin-provided service left registered past its DLL would route the per-frame UpdateAll (and the eventual dtor) into freed pages.
IOnlineService*PrimaryThe identity-owning platform: the first AVAILABLE service reporting a nonzero local user id (Steam).
IOnlineService*FindByName
FOnlineVoiceSettingsVoiceSettingsThe first available service that reports voice settings (Discord).
const char*HardwareName"none", "steam_deck", "steam_machine", "steam_frame" or "other" — the spelling crash tags and scripts see.
int32_tRecommendedQualityPresetThe primary platform's default settings profile as a quality preset index (Low 0 ..
voidSetOverlayCallbackOne overlay handler fanned across every service, re-armed for every service registered afterwards — the engine installs its overlay policy at startup, before a platform plugin is guaranteed to be loaded, and the plugin that arrives later still has to reach it.
boolIsOverlayActive
const std::vector<std::unique_ptr<IOnlineService>>&All

Function details

Register

C++
static void Register(std::unique_ptr<IOnlineService> service)

InitAll

C++
static void InitAll(const FPlatformInitParams& params)

UpdateAll

C++
static void UpdateAll()

ShutdownAll

C++
static void ShutdownAll()

RemoveAllInModule

C++
static size_t RemoveAllInModule(void* moduleHandle)

Shuts down and destroys every service whose vtable lives inside the given module image — a plugin-provided service left registered past its DLL would route the per-frame UpdateAll (and the eventual dtor) into freed pages. Driven by the FModuleManager unload broadcast. Returns the number of services dropped.

Primary

C++
static IOnlineService* Primary()

The identity-owning platform: the first AVAILABLE service reporting a nonzero local user id (Steam). Null when no such platform is up — every facade already handles that as "feature honestly absent".

FindByName

C++
static IOnlineService* FindByName(const char* name)

VoiceSettings

C++
static FOnlineVoiceSettings VoiceSettings()

The first available service that reports voice settings (Discord).

HardwareName

C++
static const char* HardwareName(EOnlinePlatformHardware hardware)

"none", "steam_deck", "steam_machine", "steam_frame" or "other" — the spelling crash tags and scripts see.

RecommendedQualityPreset

C++
static int32_t RecommendedQualityPreset()

The primary platform's default settings profile as a quality preset index (Low 0 .. Cinematic 4), or -1 when it offers none. Generic profiles map one to one (Max is Epic); a Steam Deck gets Low, a Steam Frame Medium, since both render on a handheld-class GPU; a Steam Machine gets High. Kept here rather than in the renderer so a platform plugin needs no renderer header to answer.

SetOverlayCallback

C++
static void SetOverlayCallback(std::function<void(bool)> callback)

One overlay handler fanned across every service, re-armed for every service registered afterwards — the engine installs its overlay policy at startup, before a platform plugin is guaranteed to be loaded, and the plugin that arrives later still has to reach it. Passing an empty handler clears it.

IsOverlayActive

C++
static bool IsOverlayActive()

All

C++
static const std::vector<std::unique_ptr<IOnlineService>>& All()
Generated from Networking/OnlineService.h via networking.json · Nov 4, 2026Version 1.0.0