chat.connectToLobby
Prototype
public function connectToLobby(lobbyComponentInstance)
Input parameters
lobbyComponentInstance - the lobby object to connect the chat with
Return value
null
Description
Should be called when initializing the game client to connect the chat component with the lobby component.
Example code
chat.connectToPlayerComponent(lobby);
