FOnlineServicesCommon

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IOnlineServices

FOnlineServicesCommon

FOnlineServicesEOS

References

Module

OnlineServicesCommon

Header

/Engine/Plugins/Online/Experimental/OnlineServices/Source/OnlineServicesCommon/Public/Online/OnlineServicesCommon.h

Include

#include "Online/OnlineServicesCommon.h"

Syntax

class FOnlineServicesCommon :
    public UE::Online::IOnlineServices,
    public TSharedFromThis< FOnlineServicesCommon >,
    public FTSTickerObjectBase,
    public FSelfRegisteringExec

Variables

Constructors

Name Description

Public function

FOnlineServicesCommon

(
    const FString& InConfigName
)

Public function

FOnlineServicesCommon

(
    const FOnlineServicesCommon&
)

Public function

FOnlineServicesCommon

(
    FOnlineServicesCommon&&
)

Destructors

Name Description

Public function Virtual

~FOnlineServicesCommon()

Functions

Name Description

Public function

void

 

AddConfigSectionOverride

(
    const FString& Override
)

Add a config section override. These will be used in the order they are added

Public function

void

 

Execute

(
    FOnlineAsyncExecutionPolicy Executi...,
    CallableType&& Callable
)

Call a callable according to a specified execution policy

Public function

void

 

ExecuteOnGameThread

(
    CallableType&& Callable
)

Call a callable on the game thread

Public function

ComponentTyp...

 

Get()

Retrieve any of the Interface IOnlineComponents

Public function Const

const FStrin...

 

GetConfigName()

Get the config name for the Subsystem

Public function Const

TArray< FStr...

 

GetConfigSectionHeiarchy

(
    const FString& OperationName
)

Public function Const

TArray< FStr...

 

GetConfigSectionHeirachWithOverrides

(
    const TArray< FString >& SectionHe...
)

Get an array of a config section with the overrides added in

Public function

TOnlineAsync...

 

GetJoinableOp

(
    typename OpType::Params&& Params,
    const TArray< FString > ConfigSecti...
)

Public function

TOnlineAsync...

 

GetJoinableOp

(
    typename OpType::Params&& Params
)

Public function

TOnlineAsync...

 

GetMergeableOp

(
    typename OpType::Params&& Params,
    const TArray< FString > ConfigSecti...
)

Public function

TOnlineAsync...

 

GetMergeableOp

(
    typename OpType::Params&& Params
)

Public function

TOnlineAsync...

 

GetOp

(
    typename OpType::Params&& Params,
    const TArray< FString > ConfigSecti...
)

Get op (Interface)

Public function

TOnlineAsync...

 

GetOp

(
    typename OpType::Params&& Params
)

Get op (OnlineServices)

Public function

FOnlineAsync...

 

GetParallelQueue()

Queue for executing tasks in parallel. Serial queues feed into this

Public function

FOnlineAsync...

 

GetSerialQueue

(
    const FOnlineAccountIdHandle& Acco...
)

Queues for executing per-user tasks in serial

Public function

FOnlineAsync...

 

GetSerialQueue()

Queue for executing tasks in serial

Public function Virtual

void

 

Initialize()

Calls Initialize on all the components, called after RegisterComponents

Public function Virtual

void

 

LoadConfig()

Calls LoadConfig on all the components

Public function Const

bool

 

LoadConfig

(
    StructType& Struct,
    const FString& InterfaceName,
    const FString& OperationName
)

Load a config struct for an interface + operation Will load values from the following sections: OnlineServices OnlineServices. OnlineServices.. (if InterfaceName is set) OnlineServices... (if OperationName is set)

Public function Const

bool

 

LoadConfig

(
    StructType& Struct,
    const TArray< FString >& SectionHe...
)

Load a config struct for a section heiarchy, also using the ConfigSectionOverrides

Public function Virtual

void

 

PostInitialize()

Calls PostInitialize on all the components, called after Initialize

Public function Virtual

void

 

PreShutdown()

Calls PreShutdown on all the components, called prior to Shutdown

Public function Virtual

void

 

RegisterComponents()

Called to register all the IOnlineComponents with the IOnlineService, called after this is constructed

Public function

void

 

RegisterExecHandler

(
    const FString& Name,
    TUniquePtr< IOnlineExecHandler >&&...
)

Public function

void

 

ResetConfigSectionOverrides()

Clear the list of config overrides

Public function

void

 

SetConfigProvider

Override the default config provider (FOnlineConfigProviderGConfig(GEngineini))

Public function Virtual

void

 

Shutdown()

Calls Shutdown on all the components, called before this is destructed

Overridden from IOnlineServices

Overridden from FTSTickerObjectBase

Name Description

Public function Virtual

bool

 

Tick

(
    float DeltaSeconds
)

Calls Tick on all the components

Overridden from FExec

Name Description

Public function Virtual

bool

 

Exec

(
    UWorld* InWorld,
    const TCHAR* Cmd,
    FOutputDevice& Ar
)

Exec handler

Typedefs

Name

Description

Super

Constants

Name

Description

NextInstanceIndex