Photon Unity Networking: TypedLobby Class Reference

Photon Unity Networking

Refers to a specific lobby (and type) on the server. More...

Inherited by TypedLobbyInfo.

Public Member Functions

 TypedLobby ()
 
 TypedLobby (string name, LobbyType type)
 
override string ToString ()
 

Public Attributes

string Name
 Name of the lobby this game gets added to. Default: null, attached to default lobby. Lobbies are unique per lobbyName plus lobbyType, so the same name can be used when several types are existing. More...
 
LobbyType Type
 Type of the (named)lobby this game gets added to More...
 

Static Public Attributes

static readonly TypedLobby Default = new TypedLobby()
 

Properties

bool IsDefault [get]
 

Detailed Description

Refers to a specific lobby (and type) on the server.

The name and type are the unique identifier for a lobby.
Join a lobby via PhotonNetwork.JoinLobby(TypedLobby lobby).
The current lobby is stored in PhotonNetwork.lobby.

Constructor & Destructor Documentation

TypedLobby.TypedLobby ( )
TypedLobby.TypedLobby ( string  name,
LobbyType  type 
)

Member Function Documentation

override string TypedLobby.ToString ( )

Member Data Documentation

readonly TypedLobby TypedLobby.Default = new TypedLobby()
static
string TypedLobby.Name

Name of the lobby this game gets added to. Default: null, attached to default lobby. Lobbies are unique per lobbyName plus lobbyType, so the same name can be used when several types are existing.

LobbyType TypedLobby.Type

Type of the (named)lobby this game gets added to

Property Documentation

bool TypedLobby.IsDefault
get
Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH