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.
Mostra 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_oe static_oe property

public static TypedLobby, Default
return TypedLobby,

Name public_oe 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_oe property

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