Photon .NET Client API 4.1.4.8

Public Attributes | List of all members
Photon.Realtime.OpJoinRandomRoomParams Class Reference

Parameters for the matchmaking of JoinRandomRoom and JoinRandomOrCreateRoom. More...

Public Attributes

Hashtable ExpectedCustomRoomProperties
 The custom room properties a room must have to fit. All key-values must be present to match. In SQL Lobby, use SqlLobbyFilter instead. More...
 
byte ExpectedMaxPlayers
 Filters by the MaxPlayers value of rooms. More...
 
MatchmakingMode MatchingType
 The MatchmakingMode affects how rooms get filled. By default, the server fills rooms. More...
 
TypedLobby TypedLobby
 The lobby in which to match. The type affects how filters are applied. More...
 
string SqlLobbyFilter
 SQL query to filter room matches. For default-typed lobbies, use ExpectedCustomRoomProperties instead. More...
 
string[] ExpectedUsers
 The expected users list blocks player slots for your friends or team mates to join the room, too. More...
 

Detailed Description

Parameters for the matchmaking of JoinRandomRoom and JoinRandomOrCreateRoom.

More about matchmaking: https://doc.photonengine.com/en-us/pun/current/manuals-and-demos/matchmaking-and-lobby.

Member Data Documentation

◆ ExpectedCustomRoomProperties

Hashtable Photon.Realtime.OpJoinRandomRoomParams.ExpectedCustomRoomProperties

The custom room properties a room must have to fit. All key-values must be present to match. In SQL Lobby, use SqlLobbyFilter instead.

◆ ExpectedMaxPlayers

byte Photon.Realtime.OpJoinRandomRoomParams.ExpectedMaxPlayers

Filters by the MaxPlayers value of rooms.

◆ ExpectedUsers

string [] Photon.Realtime.OpJoinRandomRoomParams.ExpectedUsers

The expected users list blocks player slots for your friends or team mates to join the room, too.

See: https://doc.photonengine.com/en-us/pun/v2/lobby-and-matchmaking/matchmaking-and-lobby#matchmaking_slot_reservation

◆ MatchingType

MatchmakingMode Photon.Realtime.OpJoinRandomRoomParams.MatchingType

The MatchmakingMode affects how rooms get filled. By default, the server fills rooms.

◆ SqlLobbyFilter

string Photon.Realtime.OpJoinRandomRoomParams.SqlLobbyFilter

SQL query to filter room matches. For default-typed lobbies, use ExpectedCustomRoomProperties instead.

◆ TypedLobby

TypedLobby Photon.Realtime.OpJoinRandomRoomParams.TypedLobby

The lobby in which to match. The type affects how filters are applied.


The documentation for this class was generated from the following file: