Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Inheritance Hierarchy
- IOnlineSubsystem
- FTSTickerObjectBase
- FOnlineSubsystemImpl
- FOnlineSubsystemAmazon
- FOnlineSubsystemGoogleCommon
- FOnlineSubsystemGoogle
- FOnlineSubsystemNull
- FOnlineSubsystemSteam
- IOnlineSubsystemEOS
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemImpl.h |
| Include | #include "OnlineSubsystemImpl.h" |
Syntax
class FOnlineSubsystemImpl :
public IOnlineSubsystem,
public FTSTickerObjectBase
Remarks
FOnlineSubsystemImpl - common functionality to share across online platforms, not intended for direct use
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bForceDedicated | Whether or not the online subsystem is in forced dedicated server mode | |
| bool | bTickerStarted | Is the ticker started | |
| TArray< FNextTickDelegate > | CurrentTickBuffer | Buffer to hold callbacks for the current tick (so it's safe to call ExecuteNextTick within a tick callback) | |
| FName | InstanceName | Instance name (disambiguates PIE instances for example) | |
| UNamedInterfaces * | NamedInterfaces | Holds all currently named interfaces | |
| TQueue< FNextTickDelegate, EQueueMode::Mpsc > | NextTickQueue | Queue to hold callbacks scheduled for next tick using ExecuteNextTick | |
| FName | SubsystemName | Name of the subsystem |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Hidden on purpose | |||
FOnlineSubsystemImpl
(
FName InSubsystemName, |
|||
FOnlineSubsystemImpl
(
FName InSubsystemName, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ExecuteDelegateNextTick
(
const FNextTickDelegate& Callback |
Queue a delegate to be executed on the next tick | |
| void | ExecuteNextTick
(
LAMBDA_TYPE&& Callback |
Templated helper for calling ExecuteDelegateNextTick with a lambda function | |
| FString | FilterResponseStr
(
const FString& ResponseStr, |
Modify a response string so that it can be logged cleanly | |
| void | Load in any named interfaces specified by the ini configuration | ||
| void | OnConfigSectionsChanged
(
const FString& IniFilename, |
Delegate for config file changes. | |
| void | Delegate fired when named interfaces are cleaned up at exit | ||
| void | StartTicker () |
Start Ticker | |
| void | StopTicker () |
Stop Ticker |
Overridden from IOnlineSubsystem
| Type | Name | Description | |
|---|---|---|---|
| bool | Exec
(
UWorld* InWorld, |
Exec handler that allows the online subsystem to process exec commands | |
| IOnlineAchievementsPtr | Get the interface for accessing online achievements | ||
| 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 | ||
| 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 | IOnlineSubsystem. | ||
| 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 | ||
| 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 | |||
| 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 | ||
| 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 | IsDedicated () |
Is the online subsystem associated with the game/editor/engine running as dedicated. | |
| bool | IsEnabled () |
||
| 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 | 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 |
Overridden from FTSTickerObjectBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Tick
(
float DeltaTime |
FTSTickerObjectBase. |
Constants
| Name | Description |
|---|---|
| DefaultInstanceName | Name given to default OSS instances (disambiguates for PIE) |