PhotonCloudAPI > Photon Voice Client > Join or Create Room

Join or Create Room

Joins or Create a Voice Room. If the room does not exists ,it will create it with the parameters passed.

Inputs

In
Exec

Target
Photon Voice Client Object Reference

Room Name
String

or game id

Max Players
Byte

limit of players count

Initial Properties
Photon JSON Object Reference

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)

Outputs

Out
Exec