Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSessionSettings.h |
Include |
#include "OnlineSessionSettings.h" |
class FOnlineSessionSettings
Container for all settings describing a single online session
Name | Description | ||
---|---|---|---|
|
bAllowInvites |
Whether the match allows invitations for this session or not |
|
|
bAllowJoinInProgress |
Whether joining in progress is allowed or not |
|
|
bAllowJoinViaPresence |
Whether joining via player presence is allowed or not |
|
|
bAllowJoinViaPresenceFriendsOnly |
Whether joining via player presence is allowed for friends only or not |
|
|
bAntiCheatProtected |
Whether the server employs anti-cheat (punkbuster, vac, etc) |
|
|
bIsDedicated |
Whether the server is dedicated or player hosted |
|
|
bIsLANMatch |
This game will be lan only and not be visible to external players |
|
|
bShouldAdvertise |
Whether this match is publicly advertised on the online service |
|
|
BuildUniqueId |
Used to keep different builds from seeing each other during searches |
|
|
bUseLobbiesIfAvailable |
Whether to prefer lobbies APIs if the platform supports them |
|
|
bUseLobbiesVoiceChatIfAvailable |
Whether to create (and auto join) a voice chat room for the lobby, if the platform supports it |
|
|
bUsesPresence |
Whether to display user presence information or not |
|
|
bUsesStats |
Whether the match should gather stats or not |
|
|
MemberSettings |
Map of custom settings per session member (Not currently used by every OSS) |
|
|
NumPrivateConnections |
The number of connections that are private (invite/password) only |
|
|
NumPublicConnections |
The number of publicly available connections advertised |
|
|
Settings |
Array of custom session settings |
Name | Description | |
---|---|---|
|
FOnlineSessionSettings() |
Default constructor, used when serializing a network packet |
|
FOnlineSessionSettings |
|
|
FOnlineSessionSettings ( |
Name | Description | |
---|---|---|
|
~FOnlineSessionSettings() |
Name | Description | ||
---|---|---|---|
|
Get ( |
Gets a key value pair combination that defines a session setting |
|
|
EOnlineDataA... |
GetAdvertisementType ( |
Retrieve a session setting's advertisement type |
|
GetID ( |
Retrieve a session setting's ID |
|
|
Remove ( |
Removes a key value pair combination |
|
|
Set ( |
Sets a key value pair combination that defines a session setting from an existing session setting |
|
|
Set ( |
Sets a key value pair combination that defines a session setting |
|
|
Set ( |
Sets a key value pair combination that defines a session setting with an ID |
Name | Description | ||
---|---|---|---|
|
FOnlineSessi... |
operator= |
|
|
FOnlineSessi... |
operator= ( |