Свойство | Type | Description | |
---|---|---|---|
Clients | ClientCollection | ||
SelectedMapName | string |
Méthode | Description | |
---|---|---|
EndServer ( string reason ) : void | ||
SendAvailableMaps ( |
||
SendBombExploded ( Bomb bomb ) : void | ||
SendClientId ( |
Sends the id generate by the server to the corresponding client
|
|
SendClientsToNew ( |
||
SendEnd ( |
||
SendKillPlayer ( |
||
SendNewClientInfo ( |
||
SendPings ( ) : void | ||
SendPlayerPlacingBomb ( |
||
SendPlayerPosition ( |
||
SendPowerUpDrop ( PowerUp powerUp ) : void | ||
SendPowerUpPickUp ( |
||
SendRemovePlayer ( Player removedPlayer ) : void | ||
SendRoundEnd ( |
||
SendSelectedMap ( |
||
SendStartGame ( bool gameInProgress ) : void | ||
SendSuddenDeath ( ) : void | ||
SendSuicidePlayer ( |
||
StartServer ( ) : void |
Start the server
|
|
Update ( ) : void |
Check for new messages from clients
|
Méthode | Description | |
---|---|---|
CheckNewClientMessages ( ) : void | ||
DataProcessing ( |
||
GameServer ( ) : System | ||
GetClientInfo ( |
||
OnBombPlacing ( |
||
OnConnectedClient ( |
Event raised when a client is connecting
|
|
OnDisconnectedClient ( |
Event raised when a client is disconnecting
|
|
ReceiveBombPlacing ( |
||
ReceiveCredentials ( |
||
ReceiveHasMap ( |
||
ReceiveMapSelection ( |
||
ReceiveMovePlayer ( |
||
ReceiveNeedMap ( |
||
ReceiveReady ( |
||
ReceiveWantToStartGame ( ) : void | ||
SendCurrentMap ( |
||
SendGameWillStart ( ) : void | ||
SendIsReady ( |
||
SendPlayersPosition ( bool exceptHim ) : void |
public SendAvailableMaps ( |
||
client | ||
Résultat | void |
public SendBombExploded ( Bomb bomb ) : void | ||
bomb | Bomb | |
Résultat | void |
public SendClientId ( |
||
client | The corresponding client | |
Résultat | void |
public SendClientsToNew ( |
||
client | ||
Résultat | void |
public SendKillPlayer ( |
||
victimClient | ||
killerClient | ||
Résultat | void |
public SendNewClientInfo ( |
||
client | ||
Résultat | void |
public SendPlayerPlacingBomb ( |
||
client | ||
position | Point | |
Résultat | void |
public SendPlayerPosition ( |
||
client | ||
notDir | bool | |
exceptHim | bool | |
Résultat | void |
public SendPowerUpDrop ( PowerUp powerUp ) : void | ||
powerUp | PowerUp | |
Résultat | void |
public SendPowerUpPickUp ( |
||
client | ||
powerUp | PowerUp | |
Résultat | void |
public SendRemovePlayer ( Player removedPlayer ) : void | ||
removedPlayer | Player | |
Résultat | void |
public SendRoundEnd ( |
||
client | ||
Résultat | void |
public SendSelectedMap ( |
||
client | ||
Résultat | void |
public SendStartGame ( bool gameInProgress ) : void | ||
gameInProgress | bool | |
Résultat | void |
public SendSuicidePlayer ( |
||
suicidalClient | ||
Résultat | void |