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

Public Member Functions

 __construct (Server $server, ClientConnection $client, ClientSettingsPacket $packet)
 
- 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

 $packet
 
- Public Attributes inherited from Phpcraft\Event\ServerClientEvent
 $client
 
- Public Attributes inherited from Phpcraft\Event\ServerEvent
 $server
 

Detailed Description

Fired by the server when a client announces their settings after joining or when they have been changed. At this point, the values from the packet have not yet been copied into the ClientConnection.

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Event\ServerClientSettingsEvent::__construct ( Server  $server,
ClientConnection  $client,
ClientSettingsPacket  $packet 
)

Member Data Documentation

◆ $packet

ClientSettingsPacket Phpcraft\Event\ServerClientSettingsEvent::$packet