Property | Type | Description | |
---|---|---|---|
lobbySlots | CaptainsMessPlayer[], | ||
maxPlayers | int | ||
maxPlayersPerConnection | int | ||
minPlayers | int |
Method | Description | |
---|---|---|
CallOnClientEnterLobby ( ) : void | ||
CallOnClientExitLobby ( ) : void | ||
HasGameStarted ( ) : bool | ||
OnClientConnect ( NetworkConnection conn ) : void | ||
OnClientDisconnect ( NetworkConnection conn ) : void | ||
OnLobbyClientEnter ( ) : void | ||
OnLobbyClientExit ( ) : void | ||
OnLobbyServerConnect ( NetworkConnection conn ) : void | ||
OnLobbyServerCreateLobbyPlayer ( NetworkConnection conn, short playerControllerId ) : GameObject | ||
OnLobbyServerDisconnect ( NetworkConnection conn ) : void | ||
OnLobbyServerPlayersReady ( ) : void | ||
OnServerAddPlayer ( NetworkConnection conn, short playerControllerId ) : void | ||
OnServerConnect ( NetworkConnection conn ) : void | ||
OnServerDisconnect ( NetworkConnection conn ) : void | ||
OnServerRemovePlayer ( NetworkConnection conn, PlayerController player ) : void | ||
OnStartClient ( NetworkClient lobbyClient ) : void | ||
OnStartServer ( ) : void | ||
OnStopClient ( ) : void | ||
SetMaxPlayers ( int value ) : void |
Method | Description | |
---|---|---|
FindSlot ( ) : Byte |
public OnClientConnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnClientDisconnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnLobbyServerConnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnLobbyServerCreateLobbyPlayer ( NetworkConnection conn, short playerControllerId ) : GameObject | ||
conn | NetworkConnection | |
playerControllerId | short | |
return | GameObject |
public OnLobbyServerDisconnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnServerAddPlayer ( NetworkConnection conn, short playerControllerId ) : void | ||
conn | NetworkConnection | |
playerControllerId | short | |
return | void |
public OnServerConnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnServerDisconnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | |
return | void |
public OnServerRemovePlayer ( NetworkConnection conn, PlayerController player ) : void | ||
conn | NetworkConnection | |
player | PlayerController | |
return | void |
public OnStartClient ( NetworkClient lobbyClient ) : void | ||
lobbyClient | NetworkClient | |
return | void |