mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Merge branch 'stable'
This commit is contained in:
@@ -71,6 +71,7 @@ class Config{
|
||||
/** @var array */
|
||||
private $config = [];
|
||||
|
||||
/** @var mixed[] */
|
||||
private $nestedCache = [];
|
||||
|
||||
/** @var string */
|
||||
@@ -83,6 +84,7 @@ class Config{
|
||||
/** @var bool */
|
||||
private $changed = false;
|
||||
|
||||
/** @var int[] */
|
||||
public static $formats = [
|
||||
"properties" => Config::PROPERTIES,
|
||||
"cnf" => Config::CNF,
|
||||
|
@@ -62,7 +62,9 @@ use const SOCK_DGRAM;
|
||||
use const SOL_UDP;
|
||||
|
||||
class Internet{
|
||||
/** @var string|false */
|
||||
public static $ip = false;
|
||||
/** @var bool */
|
||||
public static $online = true;
|
||||
|
||||
/**
|
||||
|
@@ -29,6 +29,7 @@ use function time;
|
||||
|
||||
class ServerKiller extends Thread{
|
||||
|
||||
/** @var int */
|
||||
public $time;
|
||||
|
||||
/** @var bool */
|
||||
|
@@ -32,29 +32,51 @@ use function stream_isatty;
|
||||
use const PHP_EOL;
|
||||
|
||||
abstract class Terminal{
|
||||
/** @var string */
|
||||
public static $FORMAT_BOLD = "";
|
||||
/** @var string */
|
||||
public static $FORMAT_OBFUSCATED = "";
|
||||
/** @var string */
|
||||
public static $FORMAT_ITALIC = "";
|
||||
/** @var string */
|
||||
public static $FORMAT_UNDERLINE = "";
|
||||
/** @var string */
|
||||
public static $FORMAT_STRIKETHROUGH = "";
|
||||
|
||||
/** @var string */
|
||||
public static $FORMAT_RESET = "";
|
||||
|
||||
/** @var string */
|
||||
public static $COLOR_BLACK = "";
|
||||
/** @var string */
|
||||
public static $COLOR_DARK_BLUE = "";
|
||||
/** @var string */
|
||||
public static $COLOR_DARK_GREEN = "";
|
||||
/** @var string */
|
||||
public static $COLOR_DARK_AQUA = "";
|
||||
/** @var string */
|
||||
public static $COLOR_DARK_RED = "";
|
||||
/** @var string */
|
||||
public static $COLOR_PURPLE = "";
|
||||
/** @var string */
|
||||
public static $COLOR_GOLD = "";
|
||||
/** @var string */
|
||||
public static $COLOR_GRAY = "";
|
||||
/** @var string */
|
||||
public static $COLOR_DARK_GRAY = "";
|
||||
/** @var string */
|
||||
public static $COLOR_BLUE = "";
|
||||
/** @var string */
|
||||
public static $COLOR_GREEN = "";
|
||||
/** @var string */
|
||||
public static $COLOR_AQUA = "";
|
||||
/** @var string */
|
||||
public static $COLOR_RED = "";
|
||||
/** @var string */
|
||||
public static $COLOR_LIGHT_PURPLE = "";
|
||||
/** @var string */
|
||||
public static $COLOR_YELLOW = "";
|
||||
/** @var string */
|
||||
public static $COLOR_WHITE = "";
|
||||
|
||||
/** @var bool|null */
|
||||
|
@@ -87,7 +87,7 @@ use const STR_PAD_RIGHT;
|
||||
* Big collection of functions
|
||||
*/
|
||||
class Utils{
|
||||
/** @var string */
|
||||
/** @var string|null */
|
||||
private static $os;
|
||||
/** @var UUID|null */
|
||||
private static $serverUniqueId = null;
|
||||
|
Reference in New Issue
Block a user