Phpcraft
|
Public Member Functions | |
__construct (Server $server, ClientConnection $client, string $message) | |
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 | |
$message | |
Public Attributes inherited from Phpcraft\Event\ServerClientEvent | |
$client | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
$server | |
The event emitted by the server when a client has proposed a chat message. Cancellable.
Phpcraft\Event\ServerChatEvent::__construct | ( | Server | $server, |
ClientConnection | $client, | ||
string | $message | ||
) |
string Phpcraft\Event\ServerChatEvent::$message |
The message that the client has proposed.