Class Server
The instantiable RageCoop server class
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class Server
Constructors
Server(ServerSettings, Logger)
Instantiate a server.
Declaration
public Server(ServerSettings settings, Logger logger = null)
Parameters
Type | Name | Description |
---|---|---|
ServerSettings | settings | |
Logger | logger |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
Properties
API
The API for controlling server and hooking events.
Declaration
public API API { get; }
Property Value
Type | Description |
---|---|
API |
Methods
Start()
Spawn threads and start the server
Declaration
public void Start()
Stop()
Terminate threads and stop the server
Declaration
public void Stop()