mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 19:55:33 +00:00
Add PHPDoc information for API parsing.
This commit is contained in:
parent
249e83db91
commit
b8763a7a3f
@ -30,6 +30,10 @@ class ServerAPI{
|
|||||||
private $rcon;
|
private $rcon;
|
||||||
private $query;
|
private $query;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return PocketMinecraftServer
|
||||||
|
*/
|
||||||
public static function request(){
|
public static function request(){
|
||||||
return self::$serverRequest;
|
return self::$serverRequest;
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,14 @@
|
|||||||
|
|
||||||
class PocketMinecraftServer{
|
class PocketMinecraftServer{
|
||||||
public $tCnt;
|
public $tCnt;
|
||||||
public $serverID, $interface, $database, $version, $invisible, $api, $tickMeasure, $preparedSQL, $seed, $gamemode, $name, $maxClients, $clients, $eidCnt, $custom, $description, $motd, $port, $saveEnabled;
|
public $serverID, $interface, $database, $version, $invisible, $tickMeasure, $preparedSQL, $seed, $gamemode, $name, $maxClients, $clients, $eidCnt, $custom, $description, $motd, $port, $saveEnabled;
|
||||||
private $serverip, $evCnt, $handCnt, $events, $eventsID, $handlers, $serverType, $lastTick, $ticks, $memoryStats, $async = array(), $asyncID = 0;
|
private $serverip, $evCnt, $handCnt, $events, $eventsID, $handlers, $serverType, $lastTick, $ticks, $memoryStats, $async = array(), $asyncID = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var ServerAPI
|
||||||
|
*/
|
||||||
|
public $api;
|
||||||
|
|
||||||
private function load(){
|
private function load(){
|
||||||
$this->version = new VersionString();
|
$this->version = new VersionString();
|
||||||
/*if(defined("DEBUG") and DEBUG >= 0){
|
/*if(defined("DEBUG") and DEBUG >= 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user