Méthode | Description | |
---|---|---|
Server ( ) : System | ||
finish ( Int32 currplayerid, Int32 otherplayerid ) : void | ||
initializeGame ( Int32 starterplayerid, Int32 secondplayerid, Object gameField ) : bool | ||
sendGameRequest ( Int32 player1id, Int32 player2id ) : bool | ||
step ( Int32 currplayerid, Int32 otherplayerid, Object gameField ) : void | ||
stopServer ( ) : void | ||
stopserver ( ) : void | ||
stratServer ( String _ip, Int32 _port ) : void | ||
stratserver ( String _ip, Int32 _port ) : void |
Méthode | Description | |
---|---|---|
OnNeedLog ( ServerInfoEventArgs e ) : void |
Méthode | Description | |
---|---|---|
acceptConnection ( Int32 _inputsize ) : void | ||
receiveCompleted ( IAsyncResult ar ) : void | ||
recieveData ( Socket socket, Int32 inputsize ) : String | ||
recieveReaction ( Socket socket, Int32 inputsize ) : bool | ||
serializeObject ( Object obj ) : byte[] |
protected OnNeedLog ( ServerInfoEventArgs e ) : void | ||
e | ServerInfoEventArgs | |
Résultat | void |
public finish ( Int32 currplayerid, Int32 otherplayerid ) : void | ||
currplayerid | Int32 | |
otherplayerid | Int32 | |
Résultat | void |
public initializeGame ( Int32 starterplayerid, Int32 secondplayerid, Object gameField ) : bool | ||
starterplayerid | Int32 | |
secondplayerid | Int32 | |
gameField | Object | |
Résultat | bool |
public sendGameRequest ( Int32 player1id, Int32 player2id ) : bool | ||
player1id | Int32 | |
player2id | Int32 | |
Résultat | bool |
public step ( Int32 currplayerid, Int32 otherplayerid, Object gameField ) : void | ||
currplayerid | Int32 | |
otherplayerid | Int32 | |
gameField | Object | |
Résultat | void |
public stratServer ( String _ip, Int32 _port ) : void | ||
_ip | String | |
_port | Int32 | |
Résultat | void |
public stratserver ( String _ip, Int32 _port ) : void | ||
_ip | String | |
_port | Int32 | |
Résultat | void |