C# Class FBClient.Network.GameServer

Exibir arquivo Open project: Noxalus/Final-Bomber

Public Properties

Property Type Description
Clients ClientCollection
GameManager NetworkGameManager
Maps string>.Dictionary
SelectedMapMd5 string

Public Methods

Method Description
EndClientConnection ( string reason ) : void
SendBombPlacing ( ) : void
SendHasMap ( ) : void
SendIsReady ( bool value = true ) : void
SendMapSelection ( string md5 ) : void
SendMovement ( byte direction ) : void
SendWantToStartGame ( ) : void
SetGameManager ( GameManager gameManager ) : void
StartClientConnection ( string ip, string port ) : void
TryToConnect ( string ip, string port ) : void
Update ( ) : void

Private Methods

Method Description
CheckNewServerMessages ( ) : void
DataProcessing ( byte type, NetIncomingMessage message ) : void
GameServer ( ) : System.Collections.Generic
MessagePooling ( ) : void
SendCredentials ( ) : void
SendNeedMap ( ) : void

Method Details

EndClientConnection() public method

public EndClientConnection ( string reason ) : void
reason string
return void

SendBombPlacing() public method

public SendBombPlacing ( ) : void
return void

SendHasMap() public method

public SendHasMap ( ) : void
return void

SendIsReady() public method

public SendIsReady ( bool value = true ) : void
value bool
return void

SendMapSelection() public method

public SendMapSelection ( string md5 ) : void
md5 string
return void

SendMovement() public method

public SendMovement ( byte direction ) : void
direction byte
return void

SendWantToStartGame() public method

public SendWantToStartGame ( ) : void
return void

SetGameManager() public method

public SetGameManager ( GameManager gameManager ) : void
gameManager GameManager
return void

StartClientConnection() public method

public StartClientConnection ( string ip, string port ) : void
ip string
port string
return void

TryToConnect() public method

public TryToConnect ( string ip, string port ) : void
ip string
port string
return void

Update() public method

public Update ( ) : void
return void

Property Details

Clients public_oe property

public ClientCollection Clients
return ClientCollection

GameManager public_oe property

public NetworkGameManager,FBClient.Network GameManager
return NetworkGameManager

Maps public_oe property

public Dictionary Maps
return string>.Dictionary

SelectedMapMd5 public_oe property

public string SelectedMapMd5
return string