Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UOnlineSession
- UOnlineSessionClient
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/OnlineSession.h |
| Include | #include "GameFramework/OnlineSession.h" |
Syntax
class UOnlineSession : public UObject
Constructors
| Type | Name | Description | |
|---|---|---|---|
UOnlineSession
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Tear down all delegates used to manage online sessions. | ||
| void | EndOnlineSession
(
FName SessionName |
End the online session specified | |
| void | HandleDisconnect
(
UWorld* World, |
Called to tear down any online sessions and return to main menu | |
| void | OnSessionUserInviteAccepted
(
const bool bWasSuccess, |
Called when a user accepts an invite | |
| void | Register all delegates needed to manage online sessions. | ||
| void | StartOnlineSession
(
FName SessionName |
Start the online session specified |