|
Phpcraft
|


Public Member Functions | |
| __construct (ServerConnection $server, string $message) | |
Public Member Functions inherited from Phpcraft\Event\ClientEvent | |
| __construct (ServerConnection $server) | |
Public Attributes | |
| $message | |
Public Attributes inherited from Phpcraft\Event\ClientEvent | |
| $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 client when the console has proposed a message. Cancellable.
| Phpcraft\Event\ClientConsoleEvent::__construct | ( | ServerConnection | $server, |
| string | $message | ||
| ) |
| ServerConnection | $server | The client's server connection. |
| string | $message | The message that the console has proposed. |
| string Phpcraft\Event\ClientConsoleEvent::$message |
The message that the console has proposed.
1.8.16