Table of Contents

Class LobbyManager

public class LobbyManager : LobbyEventCallbacks
Inheritance
LobbyManager
Extension Methods

Constructors

LobbyManager(Lobby)

public LobbyManager(Lobby lobby)

Parameters

lobby Lobby

Properties

AvailableSlots

public int AvailableSlots { get; }

Property Value

int

Lobby

public Lobby Lobby { get; }

Property Value

Lobby

MaxPlayers

public int MaxPlayers { get; }

Property Value

int

Players

public List<Player> Players { get; }

Property Value

List<Player>

Methods

GetLobby()

public Lobby GetLobby()

Returns

Lobby

IsHost(string)

public bool IsHost(string playerId)

Parameters

playerId string

Returns

bool

Leave(string)

public void Leave(string playerId)

Parameters

playerId string

StartHostHeartBeat()

public void StartHostHeartBeat()

StopHostHeartBeat()

public void StopHostHeartBeat()