/datum/control_server 
Allows us to communicate back to an external localhost webserver This external webserver should have two endpoints, "status" which can return any sort of JSON blob, and "restart" which triggers a reconnection to the game via the provided external measures
Vars | |
| controlling | The client that we are connected to |
|---|---|
| controlling_ckey | The ckey of the client we are connected to |
| initialised | If our software has responded successfully, and our browser has initialised |
| port | The port that their external software is running on |
| websocket_port | If supported, the websocket port for software initiated events |
Procs | |
| setup | Initialises our browser and triggers communication with the server |
Var Details
controlling 
The client that we are connected to
controlling_ckey 
The ckey of the client we are connected to
initialised 
If our software has responded successfully, and our browser has initialised
port 
The port that their external software is running on
websocket_port 
If supported, the websocket port for software initiated events
Proc Details
setup
Initialises our browser and triggers communication with the server