Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSessionSettings.h |
Include |
#include "OnlineSessionSettings.h" |
class FOnlineSessionSearch
Encapsulation of a search for sessions request. Contains all the search parameters and any search results returned after the OnFindSessionsCompleteDelegate has triggered Check the SearchState for Done/Failed state before using the data
Name | Description | ||
---|---|---|---|
|
bIsLanQuery |
Whether the query is intended for LAN matches or not |
|
|
MaxSearchResults |
Max number of queries returned by the matchmaking service |
|
|
PingBucketSize |
Used to sort games into buckets since a the difference in terms of feel for ping in the same bucket is often not a useful comparison and skill is better |
|
|
PlatformHash |
Search hash used by the online subsystem to disambiguate search queries, stamped every time FindSession is called |
|
|
QuerySettings |
The query to use for finding matching servers |
|
|
SearchResults |
Array of all sessions found when searching for the given criteria |
|
|
SearchState |
State of the search |
|
|
float |
TimeoutInSeconds |
Amount of time to wait for the search results. May not apply to all platforms. |
Name | Description | |
---|---|---|
|
FOnlineSessionSearch() |
Constructor |
|
FOnlineSessionSearch ( |
|
|
FOnlineSessionSearch ( |
Name | Description | |
---|---|---|
|
~FOnlineSessionSearch() |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetDefaultSessionSettings() |
Get the default session settings for this search type Allows games to set reasonable defaults that aren't advertised but would be setup for each instantiated search result |
|
SortSearchResults() |
Give the game a chance to sort the returned results |
Name | Description | ||
---|---|---|---|
|
FOnlineSessi... |
operator= ( |
|
|
FOnlineSessi... |
operator= ( |