PhotonCloudAPI > Photon Cloud Object > Join Random Room

Join Random Room

Joins a random room, if there is no room open with the paramters passed (properties included) in the server it will trigger an error
\param LobbyName lobby room with stats and properties
\param SelectedLobbyType See: ELobbyType for for information
\param MaxPlayers limit of players count
\param SelectedMatchMakingMode See: EMatchMakingMode
\param InitialProperties a JSON to be converted to a hashtable as the list of properties to set in the room (do not use objects, just basic types)
\param SqlLobbyFilter Only used for LobbyType::SQL_LOBBY. This allows 'bigger', 'less', 'or' and 'and' combinations for filtering against certain room properties.

Inputs

In
Exec

Target
Photon Cloud Object Object Reference

Lobby Name
String

Selected Lobby Type
ELobbyType Enum

Max Players
Byte

Selected Match Making Mode
EMatchMakingMode Enum

Initial Properties
Photon JSON Object Reference

Sql Lobby Filter
String

Outputs

Out
Exec