Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
Interface class for various online utility functions
| Name | IOnlineSubsystemUtils |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/OnlineSubsystemUtils.h |
| Include Path | #include "OnlineSubsystemUtils.h" |
Syntax
class IOnlineSubsystemUtils
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IOnlineSubsystemUtils() |
Hidden on purpose | OnlineSubsystemUtils.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IOnlineSubsystemUtils() |
OnlineSubsystemUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Create a TRANSPORT LAYER unique id NOTE: Do NOT Use this for anything other than replication to non native platforms This is NOT a shortcut for creating unique ids | OnlineSubsystemUtils.h | ||
int32 GetNumPIELogins() |
OnlineSubsystemUtils.h | ||
FName GetOnlineIdentifier
(
const FWorldContext& WorldContext, |
Gets an FName that uniquely identifies an instance of OSS | OnlineSubsystemUtils.h | |
FName GetOnlineIdentifier
(
const UWorld* World, |
Gets an FName that uniquely identifies an instance of OSS | OnlineSubsystemUtils.h | |
void GetPIELogins
(
TArray< FOnlineAccountCredentials >& Logins |
OnlineSubsystemUtils.h | ||
uint8 GetReplicationHashForSubsystem
(
FName SubsystemName |
Return the replication hash for a given subsystem | OnlineSubsystemUtils.h | |
FName GetSubsystemFromReplicationHash
(
uint8 InHash |
Return the name of the online subsystem associated with this hash | OnlineSubsystemUtils.h | |
bool IsOnlinePIEEnabled() |
OnlineSubsystemUtils.h | ||
void SetEngineExternalUIBinding
(
const FOnExternalUIChangeDelegate& OnExternalUIChangeDelegate |
Bind a notification delegate when any subsystem external UI is opened/closed NOTE there is only meant to be one delegate needed for this, game code should bind manually | OnlineSubsystemUtils.h | |
void SetShouldTryOnlinePIE
(
bool bShouldTry |
Enable/Disable online PIE at runtime | OnlineSubsystemUtils.h | |
bool SupportsOnlinePIE() |
Play in Editor settings | OnlineSubsystemUtils.h |