C# Class TypedLobby

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.
Show file Open project: daniel-cheng/stellar Class Usage Examples

Public Properties

Property Type Description
Default TypedLobby,
Name string
Type LobbyType

Public Methods

Method Description
ToString ( ) : string
TypedLobby ( ) : System
TypedLobby ( string name, LobbyType type ) : System

Method Details

ToString() public method

public ToString ( ) : string
return string

TypedLobby() public method

public TypedLobby ( ) : System
return System

TypedLobby() public method

public TypedLobby ( string name, LobbyType type ) : System
name string
type LobbyType
return System

Property Details

Default public static property

public static TypedLobby, Default
return TypedLobby,

Name public property

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.
public string Name
return string

Type public property

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