RCONInstance: add docs to fields, make 'stop' private

This commit is contained in:
Dylan K. Taylor 2018-05-07 13:52:33 +01:00
parent 83008440c0
commit 0e5504ed3f

View File

@ -31,13 +31,20 @@ class RCONInstance extends Thread{
private const STATUS_AUTHENTICATING = 0; private const STATUS_AUTHENTICATING = 0;
private const STATUS_CONNECTED = 1; private const STATUS_CONNECTED = 1;
public $stop; /** @var string */
public $cmd; public $cmd;
/** @var string */
public $response; public $response;
/** @var bool */
private $stop;
/** @var resource */ /** @var resource */
private $socket; private $socket;
/** @var string */
private $password; private $password;
/** @var int */
private $maxClients; private $maxClients;
/** @var bool */
private $waiting; private $waiting;
public function isWaiting(){ public function isWaiting(){