Свойство | Type | Description | |
---|---|---|---|
ServerProcess | Process |
Méthode | Description | |
---|---|---|
GetGametypeString ( string gametype ) : string | ||
SetServerPath ( string ServerPath ) : void |
Loads a battlefield 2 server into this object for use.
|
|
Start ( |
Starts the Battlefield 2 Server application
|
|
Stop ( ) : void |
Kills the Bf2 Server process
|
Méthode | Description | |
---|---|---|
CheckServerProcess ( ) : void |
Assigns the Server Process if the process is running
|
|
ServerProcess_Exited ( object sender, |
Event fired when the server closes down
|
protected static CheckServerProcess ( ) : void | ||
Résultat | void |
public static GetGametypeString ( string gametype ) : string | ||
gametype | string | |
Résultat | string |
protected static ServerProcess_Exited ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
public static SetServerPath ( string ServerPath ) : void | ||
ServerPath | string | The full root path to the server's executable file |
Résultat | void |
public static Start ( |
||
Mod | The battlefield 2 mod that the server is to use | |
ExtraArgs | string | Any arguments to be past to the application on startup |
ShowConsole | bool | If false, a console will not be created |
MinConsole | bool | If |
Résultat | void |