|
Phpcraft
|


Public Member Functions | |
| __construct (Server $server, ClientConnection $client, bool $old_value) | |
Public Member Functions inherited from Phpcraft\Event\ServerClientEvent | |
| __construct (Server $server, ClientConnection $client) | |
Public Member Functions inherited from Phpcraft\Event\ServerEvent | |
| __construct (Server $server) | |
Public Attributes | |
| $old_value | |
Public Attributes inherited from Phpcraft\Event\ServerClientEvent | |
| $client | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
| $server | |
Public Attributes inherited from Phpcraft\Event\Event | |
| const | PRIORITY_HIGHEST = 2 |
| const | PRIORITY_HIGH = 1 |
| const | PRIORITY_NORMAL = 0 |
| const | PRIORITY_LOW = -1 |
| const | PRIORITY_LOWEST = -2 |
| $cancelled = false | |
The event emitted by the server when a client's on_ground value has changed. Not cancellable.
| Phpcraft\Event\ServerOnGroundChangeEvent::__construct | ( | Server | $server, |
| ClientConnection | $client, | ||
| bool | $old_value | ||
| ) |
| Server | $server | |
| ClientConnection | $client | |
| boolean | $old_value | The client's on_ground value before the change. |
| boolean Phpcraft\Event\ServerOnGroundChangeEvent::$old_value |
The client's on_ground value before the change.
1.8.16