Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
| Name | UOnlineSessionClient |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/OnlineSessionClient.h |
| Include Path | #include "OnlineSessionClient.h" |
Syntax
UCLASS (MinimalAPI, Config=Game)
class UOnlineSessionClient : public UOnlineSession
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UOnlineSession → UOnlineSessionClient
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UOnlineSessionClient
(
const FObjectInitializer& ObjectInitializer |
OnlineSessionClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetInviteFlags
(
UWorld* World, |
Update the session settings on the client | OnlineSessionClient.h |
Overridden from UOnlineSession
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearOnlineDelegates() |
OnlineSessionClient.h | ||
virtual void EndOnlineSession
(
FName SessionName |
OnlineSessionClient.h | ||
virtual void HandleDisconnect
(
UWorld* World, |
OnlineSessionClient.h | ||
virtual void RegisterOnlineDelegates() |
OnlineSessionClient.h | ||
virtual void StartOnlineSession
(
FName SessionName |
OnlineSessionClient.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyExistingSession
(
FName SessionName, |
Destroys an existing session of a given name | OnlineSessionClient.h | |
void DestroyExistingSession_Impl
(
FDelegateHandle& OutResult, |
Implementation of DestroyExistingSession | OnlineSessionClient.h | |
void EndExistingSession
(
FName SessionName, |
Ends an existing session of a given name | OnlineSessionClient.h | |
virtual UGameInstance * GetGameInstance() |
OnlineSessionClient.h | ||
virtual IOnlineSessionPtr GetSessionInt() |
OnlineSessionClient.h | ||
virtual UWorld * GetWorld() |
OnlineSessionClient.h | ||
virtual bool HandleDisconnectInternal
(
UWorld* World, |
Chance for the session client to handle the disconnect | OnlineSessionClient.h | |
virtual void JoinSession
(
FName SessionName, |
Join a session of a given name after potentially tearing down an existing one | OnlineSessionClient.h | |
void OnDestroyForJoinSessionComplete
(
FName SessionName, |
Transition from destroying a session to joining a new one of the same name | OnlineSessionClient.h | |
void OnDestroyForMainMenuComplete
(
FName SessionName, |
Transition from destroying a session to returning to the main menu | OnlineSessionClient.h | |
void OnEndForJoinSessionComplete
(
FName SessionName, |
Transition from ending a session to destroying a session | OnlineSessionClient.h | |
virtual void OnEndSessionComplete
(
FName InSessionName, |
Delegate called when EndSession has completed | OnlineSessionClient.h | |
void OnJoinSessionComplete
(
FName SessionName, |
Delegate fired when the joining process for an online session has completed | OnlineSessionClient.h | |
virtual void OnStartSessionComplete
(
FName InSessionName, |
Delegate called when StartSession has completed | OnlineSessionClient.h |
Overridden from UOnlineSession
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnSessionUserInviteAccepted
(
const bool bWasSuccess, |
Called from GameInstance when the user accepts an invite | OnlineSessionClient.h |