PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\network\query\QueryInfo Class Reference
+ Collaboration diagram for pocketmine\network\query\QueryInfo:

Public Member Functions

 __construct (Server $server)
 
 canListPlugins ()
 
 getExtraData ()
 
 getLongQuery ()
 
 getMaxPlayerCount ()
 
 getPlayerCount ()
 
 getPlayerList ()
 
 getPlugins ()
 
 getServerName ()
 
 getShortQuery ()
 
 getWorld ()
 
 setExtraData (array $extraData)
 
 setListPlugins (bool $value)
 
 setMaxPlayerCount (int $count)
 
 setPlayerCount (int $count)
 
 setPlayerList (array $players)
 
 setPlugins (array $plugins)
 
 setServerName (string $serverName)
 
 setWorld (string $world)
 

Public Attributes

const GAME_ID = "MINECRAFTPE"
 

Detailed Description

Definition at line 39 of file QueryInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\query\QueryInfo::__construct ( Server $server)

Definition at line 68 of file QueryInfo.php.

Member Function Documentation

◆ canListPlugins()

pocketmine\network\query\QueryInfo::canListPlugins ( )

Definition at line 101 of file QueryInfo.php.

◆ getExtraData()

pocketmine\network\query\QueryInfo::getExtraData ( )

Returns the extra Query data in key => value form

Returns
string[] @phpstan-return array<string, string>

Definition at line 175 of file QueryInfo.php.

◆ getLongQuery()

pocketmine\network\query\QueryInfo::getLongQuery ( )

Definition at line 189 of file QueryInfo.php.

◆ getMaxPlayerCount()

pocketmine\network\query\QueryInfo::getMaxPlayerCount ( )

Definition at line 151 of file QueryInfo.php.

◆ getPlayerCount()

pocketmine\network\query\QueryInfo::getPlayerCount ( )

Definition at line 142 of file QueryInfo.php.

◆ getPlayerList()

pocketmine\network\query\QueryInfo::getPlayerList ( )
Returns
string[]

Definition at line 129 of file QueryInfo.php.

◆ getPlugins()

pocketmine\network\query\QueryInfo::getPlugins ( )
Returns
Plugin[]

Definition at line 113 of file QueryInfo.php.

◆ getServerName()

pocketmine\network\query\QueryInfo::getServerName ( )

Definition at line 92 of file QueryInfo.php.

◆ getShortQuery()

pocketmine\network\query\QueryInfo::getShortQuery ( )

Definition at line 238 of file QueryInfo.php.

◆ getWorld()

pocketmine\network\query\QueryInfo::getWorld ( )

Definition at line 160 of file QueryInfo.php.

◆ setExtraData()

pocketmine\network\query\QueryInfo::setExtraData ( array $extraData)
Parameters
string[]$extraData

@phpstan-param array<string, string> $extraData

Definition at line 184 of file QueryInfo.php.

◆ setListPlugins()

pocketmine\network\query\QueryInfo::setListPlugins ( bool $value)

Definition at line 105 of file QueryInfo.php.

◆ setMaxPlayerCount()

pocketmine\network\query\QueryInfo::setMaxPlayerCount ( int $count)

Definition at line 155 of file QueryInfo.php.

◆ setPlayerCount()

pocketmine\network\query\QueryInfo::setPlayerCount ( int $count)

Definition at line 146 of file QueryInfo.php.

◆ setPlayerList()

pocketmine\network\query\QueryInfo::setPlayerList ( array $players)
Parameters
string[]$players

Definition at line 136 of file QueryInfo.php.

◆ setPlugins()

pocketmine\network\query\QueryInfo::setPlugins ( array $plugins)
Parameters
Plugin[]$plugins

Definition at line 120 of file QueryInfo.php.

◆ setServerName()

pocketmine\network\query\QueryInfo::setServerName ( string $serverName)

Definition at line 96 of file QueryInfo.php.

◆ setWorld()

pocketmine\network\query\QueryInfo::setWorld ( string $world)

Definition at line 164 of file QueryInfo.php.

Member Data Documentation

◆ GAME_ID

const pocketmine\network\query\QueryInfo::GAME_ID = "MINECRAFTPE"

Definition at line 40 of file QueryInfo.php.


The documentation for this class was generated from the following file: