QueryInfo
in package
Table of Contents
- GAME_ID = "MINECRAFTPE"
- $extraData : array<string|int, string>
- $gametype : string
- $ip : string
- $listPlugins : bool
- $longQueryCache : string|null
- $map : string
- $maxPlayers : int
- $numPlayers : int
- $players : array<string|int, Player>
- $plugins : array<string|int, Plugin>
- $port : int
- $server_engine : string
- $serverName : string
- $shortQueryCache : string|null
- $version : string
- $whitelist : string
- __construct() : mixed
- canListPlugins() : bool
- getExtraData() : array<string|int, string>
- Returns the extra Query data in key => value form
- getLongQuery() : string
- getMaxPlayerCount() : int
- getPlayerCount() : int
- getPlayerList() : array<string|int, Player>
- getPlugins() : array<string|int, Plugin>
- getServerName() : string
- getShortQuery() : string
- getWorld() : string
- setExtraData() : void
- setListPlugins() : void
- setMaxPlayerCount() : void
- setPlayerCount() : void
- setPlayerList() : void
- setPlugins() : void
- setServerName() : void
- setWorld() : void
- destroyCache() : void
Constants
GAME_ID
public
mixed
GAME_ID
= "MINECRAFTPE"
Properties
$extraData
private
array<string|int, string>
$extraData
= []
Tags
$gametype
private
string
$gametype
$ip
private
string
$ip
$listPlugins
private
bool
$listPlugins
$longQueryCache
private
string|null
$longQueryCache
= null
$map
private
string
$map
$maxPlayers
private
int
$maxPlayers
$numPlayers
private
int
$numPlayers
$players
private
array<string|int, Player>
$players
$plugins
private
array<string|int, Plugin>
$plugins
$port
private
int
$port
$server_engine
private
string
$server_engine
$serverName
private
string
$serverName
$shortQueryCache
private
string|null
$shortQueryCache
= null
$version
private
string
$version
$whitelist
private
string
$whitelist
Methods
__construct()
public
__construct(Server $server) : mixed
Parameters
- $server : Server
Return values
mixed —canListPlugins()
public
canListPlugins() : bool
Return values
bool —getExtraData()
Returns the extra Query data in key => value form
public
getExtraData() : array<string|int, string>
Tags
Return values
array<string|int, string> —getLongQuery()
public
getLongQuery() : string
Return values
string —getMaxPlayerCount()
public
getMaxPlayerCount() : int
Return values
int —getPlayerCount()
public
getPlayerCount() : int
Return values
int —getPlayerList()
public
getPlayerList() : array<string|int, Player>
Return values
array<string|int, Player> —getPlugins()
public
getPlugins() : array<string|int, Plugin>
Return values
array<string|int, Plugin> —getServerName()
public
getServerName() : string
Return values
string —getShortQuery()
public
getShortQuery() : string
Return values
string —getWorld()
public
getWorld() : string
Return values
string —setExtraData()
public
setExtraData(array<string|int, string> $extraData) : void
Parameters
- $extraData : array<string|int, string>
Tags
Return values
void —setListPlugins()
public
setListPlugins(bool $value) : void
Parameters
- $value : bool
Return values
void —setMaxPlayerCount()
public
setMaxPlayerCount(int $count) : void
Parameters
- $count : int
Return values
void —setPlayerCount()
public
setPlayerCount(int $count) : void
Parameters
- $count : int
Return values
void —setPlayerList()
public
setPlayerList(array<string|int, Player> $players) : void
Parameters
- $players : array<string|int, Player>
Return values
void —setPlugins()
public
setPlugins(array<string|int, Plugin> $plugins) : void
Parameters
- $plugins : array<string|int, Plugin>
Return values
void —setServerName()
public
setServerName(string $serverName) : void
Parameters
- $serverName : string
Return values
void —setWorld()
public
setWorld(string $world) : void
Parameters
- $world : string
Return values
void —destroyCache()
private
destroyCache() : void