C# Class ServerListener

显示文件 Open project: LilTsubaki/Les-fragments-d-Erule Class Usage Examples

Public Properties

Property Type Description
_character Character,
_client TcpClient
_isRunning bool
_name string
_server Server,

Public Methods

Method Description
EndGame ( Character, character ) : void
EndTurn ( ) : void
ListenClient ( ) : void
ReadMakeSpell ( ) : void
ReadRunicBoard ( ) : void
RefuseCharacter ( ) : void
ResetBoard ( bool success, bool crit, int runes ) : void
RestartGame ( ) : void
SendCharacter ( ) : void
ServerListener ( Server, server, TcpClient client ) : System
Stop ( ) : void
UpdateCharacter ( ) : void

Method Details

EndGame() public method

public EndGame ( Character, character ) : void
character Character,
return void

EndTurn() public method

public EndTurn ( ) : void
return void

ListenClient() public method

public ListenClient ( ) : void
return void

ReadMakeSpell() public method

public ReadMakeSpell ( ) : void
return void

ReadRunicBoard() public method

public ReadRunicBoard ( ) : void
return void

RefuseCharacter() public method

public RefuseCharacter ( ) : void
return void

ResetBoard() public method

public ResetBoard ( bool success, bool crit, int runes ) : void
success bool
crit bool
runes int
return void

RestartGame() public method

public RestartGame ( ) : void
return void

SendCharacter() public method

public SendCharacter ( ) : void
return void

ServerListener() public method

public ServerListener ( Server, server, TcpClient client ) : System
server Server,
client TcpClient
return System

Stop() public method

public Stop ( ) : void
return void

UpdateCharacter() public method

public UpdateCharacter ( ) : void
return void

Property Details

_character public_oe property

public Character, _character
return Character,

_client public_oe property

public TcpClient _client
return TcpClient

_isRunning public_oe property

public bool _isRunning
return bool

_name public_oe property

public string _name
return string

_server public_oe property

public Server, _server
return Server,