C# Class LoginServer.ServerList

Exibir arquivo Open project: polserver/poltools Class Usage Examples

Public Methods

Method Description
AddServer ( ServerInfo server ) : void

Add a new Server to the Server List.

AddServer ( string name, string host, int port ) : void

Add a new Server to the Server List.

ReportServers ( ) : void

Outputs Server List to the Console.

Method Details

AddServer() public method

Add a new Server to the Server List.
public AddServer ( ServerInfo server ) : void
server ServerInfo ServerInfo Object
return void

AddServer() public method

Add a new Server to the Server List.
public AddServer ( string name, string host, int port ) : void
name string string
host string string
port int Int
return void

ReportServers() public method

Outputs Server List to the Console.
public ReportServers ( ) : void
return void