PFLobbyArrangedJoinConfiguration
The initial configuration data used when joining an arranged lobby.
Syntax
struct PFLobbyArrangedJoinConfiguration {
uint32_t maxMemberCount;
PFLobbyOwnerMigrationPolicy ownerMigrationPolicy;
PFLobbyAccessPolicy accessPolicy;
uint32_t memberPropertyCount;
const char* const* memberPropertyKeys;
const char* const* memberPropertyValues;
}
Members
maxMemberCount
uint32_t
The maximum number of members allowed in the lobby, if joiner is the first member in the lobby.
This value must be at least PFLobbyMaxMemberCountLowerLimit
and no more than PFLobbyMaxMemberCountUpperLimit
.
If a client would violate this limit by calling PFMultiplayerJoinLobby() or PFLobbyAddMember, the operation will fail asynchronously.
ownerMigrationPolicy
PFLobbyOwnerMigrationPolicy
The owner migration policy for the lobby, if the joiner is the first member in the lobby.
This value cannot be set to PFLobbyOwnerMigrationPolicy::Server
.
accessPolicy
PFLobbyAccessPolicy
The access policy for the lobby, if the joiner is the first member in the lobby.
memberPropertyCount
uint32_t
The number of initial member properties for the joiner of the lobby.
memberPropertyKeys
const char* const*
array of size memberPropertyCount
The keys of the initial member properties for the joiner of the lobby.
Per-member properties are only visible to members of the lobby.
memberPropertyValues
const char* const*
array of size memberPropertyCount
The values of the initial member properties for the joiner of the lobby.
Per-member properties are only visible to members of the lobby.
Requirements
Header: PFLobby.h