Property | Type | Description | |
---|---|---|---|
GameName | string | ||
LocalMode | bool | ||
ServerName | string |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CloseServer ( ) : void | ||
ConnectToServer ( ) : void | ||
CreateServer ( ) : void | ||
MapPort ( ) : void | ||
OnApplicationQuit ( ) : void | ||
OnConnectedToServer ( ) : void | ||
OnDisconnectedFromServer ( NetworkDisconnection info ) : void | ||
OnFailedToConnect ( NetworkConnectionError error ) : void | ||
OnFailedToConnectToMasterServer ( NetworkConnectionError info ) : void | ||
OnPlayerConnected ( NetworkPlayer player ) : void | ||
OnPlayerDisconnected ( NetworkPlayer player ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetIP ( ) : string |
public OnDisconnectedFromServer ( NetworkDisconnection info ) : void | ||
info | NetworkDisconnection | |
return | void |
public OnFailedToConnect ( NetworkConnectionError error ) : void | ||
error | NetworkConnectionError | |
return | void |
public OnFailedToConnectToMasterServer ( NetworkConnectionError info ) : void | ||
info | NetworkConnectionError | |
return | void |
public OnPlayerConnected ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
public OnPlayerDisconnected ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |