PICO Unreal Platform SDK
FPicoOnlineSessionSettings Struct Reference

The settings of a session. Similar to FOnlineSessionSettings. More...

#include <OnlineSubsystemPicoNames.h>

Public Attributes

int NumPublicConnections
 
int NumPrivateConnections
 
bool bShouldAdvertise
 
bool bAllowInvites
 
bool bUsesPresence
 
bool bAllowJoinViaPresence
 
bool bAllowJoinViaPresenceFriendsOnly
 
int BuildUniqueId
 
TArray< FString > KeyArray
 
TArray< FString > ValueArray
 

Detailed Description

The settings of a session. Similar to FOnlineSessionSettings.

Note
Private Room's Join Policy Settings
InvitedUsers
  • (Default) bShouldAdvertise=false
    or
  • bShouldAdvertise & bAllowInvites=true) and (bAllowJoinViaPresence & bAllowJoinViaPresenceFriendsOnly=false)
FriendsOfMembers bShouldAdvertise & bAllowJoinViaPresenceFriendsOnly=true
Everyone bShouldAdvertise=true and (bAllowJoinViaPresence=true or bAllowInvites=false)

Member Data Documentation

◆ bAllowInvites

bool bAllowInvites

When creating a private room, this field will affect the room's join policy

◆ bAllowJoinViaPresence

bool bAllowJoinViaPresence

When creating a private room, this field will affect the room's join policy

◆ bAllowJoinViaPresenceFriendsOnly

bool bAllowJoinViaPresenceFriendsOnly

When creating a private room, this field will affect the room's join policy

◆ bShouldAdvertise

bool bShouldAdvertise

When creating a private room, this field will affect the room's join policy.

◆ BuildUniqueId

int BuildUniqueId

Will be saved in datastore with the key PICOSESSIONBUILDUNIQUEID. You don't need to use this field

◆ bUsesPresence

bool bUsesPresence

When creating a private room, this field will affect the room's join policy

◆ KeyArray

TArray<FString> KeyArray

Datastore keys. When creating a matchmaking room, you need to add the key PICOPOOL

◆ NumPrivateConnections

int NumPrivateConnections

Need to be zero

◆ NumPublicConnections

int NumPublicConnections

The maximum number of users allowed for the session

◆ ValueArray

TArray<FString> ValueArray

Datastore values. When creating a matchmaking room, you need to add the value of the key PICOPOOL