Phpcraft
|
Public Member Functions | |
__construct (Server $server, ?ClientConnection $client, array &$data) | |
Public Member Functions inherited from Phpcraft\Event\ServerEvent | |
__construct (Server $server) | |
Public Attributes | |
$client | |
$data | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
$server | |
The event emitted by the server when it has been list pinged. Cancellable.
Phpcraft\Event\ServerListPingEvent::__construct | ( | Server | $server, |
?ClientConnection | $client, | ||
array & | $data | ||
) |
ClientConnection null Phpcraft\Event\ServerListPingEvent::$client |
The client that has triggered this event or null if called internally to get list ping information.
array Phpcraft\Event\ServerListPingEvent::$data |
The list ping data that will be responded with.