PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\event\server\QueryRegenerateEvent Class Reference
+ Inheritance diagram for pocketmine\event\server\QueryRegenerateEvent:
+ Collaboration diagram for pocketmine\event\server\QueryRegenerateEvent:

Public Member Functions

 __construct (Server $server, $timeout=5)
 
 getTimeout ()
 
 setTimeout ($timeout)
 
 getServerName ()
 
 setServerName ($serverName)
 
 canListPlugins ()
 
 setListPlugins ($value)
 
 getPlugins ()
 
 setPlugins (array $plugins)
 
 getPlayerList ()
 
 setPlayerList (array $players)
 
 getPlayerCount ()
 
 setPlayerCount ($count)
 
 getMaxPlayerCount ()
 
 setMaxPlayerCount ($count)
 
 getWorld ()
 
 setWorld ($world)
 
 getExtraData ()
 
 setExtraData (array $extraData)
 
 getLongQuery ()
 
 getShortQuery ()
 
 getEventName ()
 
 getHandlers ()
 

Public Attributes

const GAME_ID = "MINECRAFTPE"
 

Static Public Attributes

static $handlerList = null
 
static $eventPool = []
 
static $nextEvent = 0
 

Protected Attributes

 $eventName = null
 

Detailed Description

Definition at line 28 of file QueryRegenerateEvent.php.

Member Function Documentation

pocketmine\event\Event::getEventName ( )
finalinherited
Returns
string

Definition at line 45 of file Event.php.

References pocketmine\event\Event\$eventName.

Referenced by pocketmine\plugin\PluginManager\callEvent().

+ Here is the caller graph for this function:

pocketmine\event\server\QueryRegenerateEvent::getExtraData ( )

Returns the extra Query data in key => value form

Returns
array

Definition at line 166 of file QueryRegenerateEvent.php.

pocketmine\event\Event::getHandlers ( )
inherited
Returns
HandlerList

Definition at line 82 of file Event.php.

Referenced by pocketmine\plugin\PluginManager\callEvent().

+ Here is the caller graph for this function:

pocketmine\event\server\QueryRegenerateEvent::getPlayerList ( )
Returns
[]

Definition at line 126 of file QueryRegenerateEvent.php.

pocketmine\event\server\QueryRegenerateEvent::getPlugins ( )
Returns
[]

Definition at line 112 of file QueryRegenerateEvent.php.

pocketmine\event\server\QueryRegenerateEvent::getTimeout ( )

Gets the min. timeout for Query Regeneration

Returns
int

Definition at line 85 of file QueryRegenerateEvent.php.

pocketmine\event\server\QueryRegenerateEvent::setPlayerList ( array  $players)
Parameters
\pocketmine\Player[]$players

Definition at line 133 of file QueryRegenerateEvent.php.

pocketmine\event\server\QueryRegenerateEvent::setPlugins ( array  $plugins)
Parameters
\pocketmine\plugin\Plugin[]$plugins

Definition at line 119 of file QueryRegenerateEvent.php.

Member Data Documentation

pocketmine\event\Event::$eventName = null
protectedinherited

Any callable event must declare the static variable

public static $handlerList = null; public static $eventPool = []; public static $nextEvent = 0;

Not doing so will deny the proper event initialization

Definition at line 39 of file Event.php.

Referenced by pocketmine\event\Event\getEventName().


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