PHP Class pocketmine\event\server\QueryRegenerateEvent

Inheritance: extends ServerEvent
Show file Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Server $server, $timeout = 5 )
canListPlugins ( )
getExtraData ( ) : array Returns the extra Query data in key => value form
getLongQuery ( )
getMaxPlayerCount ( )
getPlayerCount ( )
getPlayerList ( ) : Player[]
getPlugins ( ) : pocketmine\plugin\Plugin[]
getServerName ( )
getShortQuery ( )
getTimeout ( ) : integer Gets the min. timeout for Query Regeneration
getWorld ( )
setExtraData ( array $extraData )
setListPlugins ( $value )
setMaxPlayerCount ( $count )
setPlayerCount ( $count )
setPlayerList ( array $players )
setPlugins ( array $plugins )
setServerName ( $serverName )
setTimeout ( $timeout )
setWorld ( $world )

Method Details

__construct() public method

public __construct ( Server $server, $timeout = 5 )
$server pocketmine\Server

canListPlugins() public method

public canListPlugins ( )

getExtraData() public method

Returns the extra Query data in key => value form
public getExtraData ( ) : array
return array

getLongQuery() public method

public getLongQuery ( )

getMaxPlayerCount() public method

public getMaxPlayerCount ( )

getPlayerCount() public method

public getPlayerCount ( )

getPlayerList() public method

public getPlayerList ( ) : Player[]
return pocketmine\Player[]

getPlugins() public method

public getPlugins ( ) : pocketmine\plugin\Plugin[]
return pocketmine\plugin\Plugin[]

getServerName() public method

public getServerName ( )

getShortQuery() public method

public getShortQuery ( )

getTimeout() public method

Gets the min. timeout for Query Regeneration
public getTimeout ( ) : integer
return integer

getWorld() public method

public getWorld ( )

setExtraData() public method

public setExtraData ( array $extraData )
$extraData array

setListPlugins() public method

public setListPlugins ( $value )

setMaxPlayerCount() public method

public setMaxPlayerCount ( $count )

setPlayerCount() public method

public setPlayerCount ( $count )

setPlayerList() public method

public setPlayerList ( array $players )
$players array

setPlugins() public method

public setPlugins ( array $plugins )
$plugins array

setServerName() public method

public setServerName ( $serverName )

setTimeout() public method

public setTimeout ( $timeout )

setWorld() public method

public setWorld ( $world )

Property Details

$handlerList public static property

public static $handlerList