ForgeDocs
Documentation for the forge framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Forge.Networking.Lobby.LobbyCommon Class Reference

Common code for LobbyMember and LobbyHost. More...

Inheritance diagram for Forge.Networking.Lobby.LobbyCommon:
Forge.Networking.Lobby.LobbyHost Forge.Networking.Lobby.LobbyMember

Public Member Functions

void Update ()
 
IEnumerable< PlayerGetLobbyMembers ()
 Get all members of the lobby, including the host. More...
 
bool IsHost (Player player)
 Is the given player the host of the lobby? More...
 
virtual void Dispose ()
 Dispose the lobby. More...
 

Properties

NetworkContext Context [get]
 
bool HasLaunched [get]
 Returns true if the lobby has launched. Make sure to dispose of the lobby. More...
 

Detailed Description

Common code for LobbyMember and LobbyHost.

Member Function Documentation

virtual void Forge.Networking.Lobby.LobbyCommon.Dispose ( )
virtual

Dispose the lobby.

Reimplemented in Forge.Networking.Lobby.LobbyHost, and Forge.Networking.Lobby.LobbyMember.

IEnumerable<Player> Forge.Networking.Lobby.LobbyCommon.GetLobbyMembers ( )

Get all members of the lobby, including the host.

bool Forge.Networking.Lobby.LobbyCommon.IsHost ( Player  player)

Is the given player the host of the lobby?

Property Documentation

bool Forge.Networking.Lobby.LobbyCommon.HasLaunched
get

Returns true if the lobby has launched. Make sure to dispose of the lobby.

Returns
True if the lobby has launched, false if it hasn't.

The documentation for this class was generated from the following file: