Phpcraft
Public Member Functions | Public Attributes | List of all members
Phpcraft\Event\ServerOnGroundChangeEvent Class Reference
Inheritance diagram for Phpcraft\Event\ServerOnGroundChangeEvent:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\Event\ServerOnGroundChangeEvent:
Collaboration graph
[legend]

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
 

Detailed Description

The event emitted by the server when a client's on_ground value has changed.

See also
ClientConnection::on_ground

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Event\ServerOnGroundChangeEvent::__construct ( Server  $server,
ClientConnection  $client,
bool  $old_value 
)

Member Data Documentation

◆ $old_value

boolean Phpcraft\Event\ServerOnGroundChangeEvent::$old_value

The client's on_ground value before the change.