Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineSession
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool JoinSession
(
int32 LocalUserNum, |
Joins the session specified | Interfaces/OnlineSessionInterface.h | |
bool JoinSession
(
const FUniqueNetId& LocalUserId, |
Joins the session specified | Interfaces/OnlineSessionInterface.h |
JoinSession(int32, FName, const FOnlineSessionSearchResult &)
Description
Joins the session specified
| Name | JoinSession |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
bool JoinSession
(
int32 LocalUserNum,
FName SessionName,
const FOnlineSessionSearchResult & DesiredSession
)
true if the call completed successfully, false otherwise
Parameters
| Name | Remarks |
|---|---|
| LocalUserNum | the index of the player searching for a match |
| SessionName | the name of the session to join |
| DesiredSession | the desired session to join |
JoinSession(const FUniqueNetId &, FName, const FOnlineSessionSearchResult &)
Description
Joins the session specified
| Name | JoinSession |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
bool JoinSession
(
const FUniqueNetId & LocalUserId,
FName SessionName,
const FOnlineSessionSearchResult & DesiredSession
)
true if the call completed successfully, false otherwise
Parameters
| Name | Remarks |
|---|---|
| LocalUserId | the id of the player searching for a match |
| SessionName | the name of the session to join |
| DesiredSession | the desired session to join |