Photon Unity Networking 2 2.50

Public Attributes | List of all members
EnterRoomParams Class Reference

Parameters for creating rooms. More...

Public Attributes

string RoomName
 The name of the room to create. If null, the server generates a unique name. If not null, it must be unique and new or will cause an error. More...
 
RoomOptions RoomOptions
 The RoomOptions define the optional behaviour of rooms. More...
 
TypedLobby Lobby
 A lobby to attach the new room to. If set, this overrides a joined lobby (if any). More...
 
Hashtable PlayerProperties
 The custom player properties that describe this client / user. Keys must be strings. More...
 
string[] ExpectedUsers
 A list of users who are expected to join the room along with this client. Reserves slots for rooms with MaxPlayers value. More...
 
object Ticket
 Ticket for matchmaking. Provided by a plugin / server and contains a list of party members who should join the same room (among other things). More...
 

Detailed Description

Parameters for creating rooms.

Member Data Documentation

◆ ExpectedUsers

string [] ExpectedUsers

A list of users who are expected to join the room along with this client. Reserves slots for rooms with MaxPlayers value.

◆ Lobby

TypedLobby Lobby

A lobby to attach the new room to. If set, this overrides a joined lobby (if any).

◆ PlayerProperties

Hashtable PlayerProperties

The custom player properties that describe this client / user. Keys must be strings.

◆ RoomName

string RoomName

The name of the room to create. If null, the server generates a unique name. If not null, it must be unique and new or will cause an error.

◆ RoomOptions

The RoomOptions define the optional behaviour of rooms.

◆ Ticket

object Ticket

Ticket for matchmaking. Provided by a plugin / server and contains a list of party members who should join the same room (among other things).