Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Inheritance Hierarchy
- IOnlineSubsystem
- FOnlineSubsystemImpl
- FOnlineSubsystemAmazon
- FOnlineSubsystemGoogleCommon
- FOnlineSubsystemGoogle
- FOnlineSubsystemNull
- FOnlineSubsystemSteam
- IOnlineSubsystemEOS
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystem.h |
| Include | #include "OnlineSubsystem.h" |
Syntax
class IOnlineSubsystem
Remarks
OnlineSubsystem - Series of interfaces to support communicating with various web/platform layer services
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnConfigChanged | OnConfigChangedDelegates | Delegate fired when a configuration change was detected as a result of ReloadConfigs being called. | |
| FOnConnectionStatusChanged | OnConnectionStatusChangedDelegates | Called when the connection state as reported by the online platform changes | |
| FOnlineNotificationHandlerPtr | OnlineNotificationHandler | ||
| FOnlineNotificationTransportManagerPtr | OnlineNotificationTransportManager | ||
| FOnOnlineEnvironmentChanged | OnOnlineEnvironmentChangedDelegates | Delegate fired when the online environment changes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Hidden on purpose |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddOnConfigChangedDelegate_Handle
(
const FOnConfigChangedDelegate& Delegate |
||
| FDelegateHandle | AddOnConnectionStatusChangedDelegate_Handle
(
const FOnConnectionStatusChangedDelegate& Delegate |
||
| FDelegateHandle | AddOnOnlineEnvironmentChangedDelegate_Handle
(
const FOnOnlineEnvironmentChangedDelegate& Delegate |
||
| void | ClearOnConfigChangedDelegate_Handle
(
FDelegateHandle& Handle |
||
| void | ClearOnConfigChangedDelegates
(
void* Object |
||
| void | |||
| void | ClearOnConnectionStatusChangedDelegates
(
void* Object |
||
| void | |||
| void | ClearOnOnlineEnvironmentChangedDelegates
(
void* Object |
||
| void | Destroy a single online subsystem instance | ||
| bool | DoesInstanceExist
(
const FName& SubsystemName |
Determine if an instance of the subsystem already exists | |
| bool | Exec
(
UWorld* InWorld, |
Exec handler that allows the online subsystem to process exec commands | |
| IOnlineSubsystem * | Get the online subsystem for a given service | ||
| IOnlineAchievementsPtr | Get the interface for accessing online achievements | ||
| FString | GetAppId () |
Each online subsystem has a global id for the app | |
| IOnlineSubsystem * | GetByConfig
(
const FString& ConfigString, |
Get the online subsystem associated with the given config string | |
| IOnlineSubsystem * | GetByPlatform
(
bool bAutoLoad |
Get the online subsystem native to the current hardware | |
| IOnlineChatPtr | Get the interface for user-user and user-room chat functionality | ||
| IOnlineEntitlementsPtr | Get the interface for accessing user entitlements | ||
| IOnlineEventsPtr | Get the interface for accessing online achievements | ||
| IOnlineExternalUIPtr | Get the interface for accessing the external UIs of a service | ||
| IOnlineFriendsPtr | Get the interface for accessing the player friends services | ||
| IOnlineGameActivityPtr | Get interface for accessing the game activity | ||
| IOnlineGameItemStatsPtr | Get interface for accessing the game item stats | ||
| IOnlineGameMatchesPtr | Get interface for accessing game matches | ||
| IOnlineGroupsPtr | Get the interface for accessing the groups services | ||
| IOnlineIdentityPtr | Get the interface for accessing identity online services | ||
| FName | Get the instance name, which is typically "default" or "none" but distinguishes one instance from another in "Play In Editor" mode. | ||
| IOnlineLeaderboardsPtr | Get the interface for accessing leaderboards/rankings of a service | ||
| FString | Get the local online platform based on compile time determination of hardware. | ||
| IOnlineMessagePtr | Get the interface for accessing online messages | ||
| IMessageSanitizerPtr | GetMessageSanitizer
(
int32 LocalUserNum, |
Get the interface for accessing the message sanitizer service | |
| UObject * | GetNamedInterface
(
FName InterfaceName |
Get custom UObject data preserved by the online subsystem | |
| EOnlineEnvironment::Type | |||
| FString | |||
| FOnlineNotificationHandlerPtr | Get the notification handler instance for this subsystem | ||
| FOnlineNotificationTransportManagerPtr | Get the transport manager instance for this subsystem | ||
| FText | |||
| IOnlinePartyPtr | Get the interface for accessing the player party services | ||
| IOnlinePresencePtr | Get the interface for managing rich presence information | ||
| IOnlinePurchasePtr | Get the interface for purchasing | ||
| IOnlineSessionPtr | Get the interface for accessing the session management services | ||
| IOnlineSharedCloudPtr | Get the interface for sharing user files in the cloud | ||
| IOnlineSharingPtr | Get the interface for accessing online sharing | ||
| FText | |||
| IOnlineStatsPtr | Get the interface for accessing online stats | ||
| IOnlineStoreV2Ptr | Get the interface for accessing an online store | ||
| FName | Return the name of the subsystem | ||
| IOnlineTimePtr | Get the interface for accessing the server time from an online service | ||
| IOnlineTitleFilePtr | Get the interface for accessing title file online services | ||
| IOnlineTournamentPtr | Get the interface for managing tournament information | ||
| IOnlineTurnBasedPtr | Get the interface for managing turn based multiplayer games | ||
| IOnlineUserCloudPtr | Get the interface for accessing user files in the cloud | ||
| IOnlineUserPtr | Get the interface for accessing online user information | ||
| IOnlineVoicePtr | Get the interface for accessing voice related data | ||
| bool | Init () |
Initialize the underlying subsystem APIs | |
| bool | IsDedicated () |
Is the online subsystem associated with the game/editor/engine running as dedicated. | |
| bool | IsEnabled () |
||
| bool | Determine if the subsystem for a given interface is enabled by config and command line | ||
| bool | Determine if the subsystem for a given interface is already loaded | ||
| bool | IsLocalPlayer
(
const FUniqueNetId& UniqueId |
Is a player local to this machine by unique id | |
| bool | IsServer () |
Is this instance of the game running as a server (dedicated OR listen) checks the Engine if possible for netmode status | |
| void | PreUnload () |
Perform any shutdown actions prior to any other modules being unloaded/shutdown | |
| void | ReloadConfigs
(
const TSet< FString >& ConfigSections |
Reload the configuration if it is relevant for this OSS instance | |
| void | Unload the current default subsystem and attempt to reload the configured default subsystem May be different if the fallback subsystem was created an startup | ||
| void | SetForceDedicated
(
bool bForce |
Force the online subsystem to behave as if it's associated with running a dedicated server | |
| void | SetNamedInterface
(
FName InterfaceName, |
Set a custom UObject to be preserved by the online subsystem | |
| void | SetUsingMultiplayerFeatures
(
const FUniqueNetId& UniqueId, |
Some platforms must know when the game is using Multiplayer features so they can do recurring authorization checks. | |
| bool | Shutdown () |
Shutdown the underlying subsystem APIs | |
| void | TriggerOnConfigChangedDelegates
(
const TSet< FString >& Param1 |
||
| void | TriggerOnConnectionStatusChangedDelegates
(
const FString& Param1, |
||
| void |