Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineSession
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetResolvedConnectString
(
FName SessionName, |
Returns the platform specific connection information for joining the match. | Interfaces/OnlineSessionInterface.h | |
bool GetResolvedConnectString
(
const FOnlineSessionSearchResult& SearchResult, |
Returns the platform specific connection information for joining a search result. | Interfaces/OnlineSessionInterface.h |
GetResolvedConnectString(FName, FString &, FName)
Description
Returns the platform specific connection information for joining the match. Call this function from the delegate of join completion
| Name | GetResolvedConnectString |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
bool GetResolvedConnectString
(
FName SessionName,
FString & ConnectInfo,
FName PortType
)
true if the call was successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| SessionName | the name of the session to resolve |
| ConnectInfo | the string containing the platform specific connection information |
| PortType | type of port to append to result (Game, Beacon, etc) |
GetResolvedConnectString(const class FOnlineSessionSearchResult &, FName, FString &)
Description
Returns the platform specific connection information for joining a search result.
| Name | GetResolvedConnectString |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include Path | #include "Interfaces/OnlineSessionInterface.h" |
bool GetResolvedConnectString
(
const class FOnlineSessionSearchResult & SearchResult,
FName PortType,
FString & ConnectInfo
)
true if the call was successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| SearchResult | the search result to get connection info from |
| PortType | type of port to append to result (Game, Beacon, etc) |
| ConnectInfo | the string containing the platform specific connection information |