메소드 | 설명 | |
---|---|---|
GameServer ( |
Construct a new GameServer object.
|
|
GetIPAddress ( ) : |
Get the IP address of the server. Raises an exception on failure.
|
|
PopulateFromDatabase ( IALFADatabase Database ) : void |
Retrieve the properties of the server from the database.
|
|
RefreshOnlineStatus ( IALFADatabase Database ) : void |
Re-compute the online status for the server.
|
|
SetHostnameAndPort ( string AddressString ) : void |
Set the hostname and port based on parsing an address string, which may be either 'hostname' or 'hostname:port'. The default port of 5121 is used if no port was set.
|
public GameServer ( |
||
WorldManager | Supplies the game world manager. /// | |
리턴 | System |
public PopulateFromDatabase ( IALFADatabase Database ) : void | ||
Database | IALFADatabase | Supplies the database connection to use for /// queries, if required. The active rowset may be consumed. |
리턴 | void |
public RefreshOnlineStatus ( IALFADatabase Database ) : void | ||
Database | IALFADatabase | Supplies the database connection to use for /// queries, if required. The active rowset may be consumed. |
리턴 | void |
public SetHostnameAndPort ( string AddressString ) : void | ||
AddressString | string | Supplies the address string to set the /// server network address information from. |
리턴 | void |