Photon Unity Networking 2 2.45

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...
 

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.