Phpcraft
|
Public Member Functions | |
__construct (Server $server, ClientConnection $client, Living $prev_metadata) | |
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 | |
$prev_metadata | |
Public Attributes inherited from Phpcraft\Event\ServerClientEvent | |
$client | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
$server | |
Fired by the server when a client changes their metadata (starting or stopping to crouch or sprint.)
Phpcraft\Event\ServerClientMetadataEvent::__construct | ( | Server | $server, |
ClientConnection | $client, | ||
Living | $prev_metadata | ||
) |
Living Phpcraft\Event\ServerClientMetadataEvent::$prev_metadata |
The client's metadata prior to this event.