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

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
 

Detailed Description

The event emitted by the client when the console has proposed a message. Cancellable.

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Event\ClientConsoleEvent::__construct ( ServerConnection  $server,
string  $message 
)

Member Data Documentation

◆ $message

string Phpcraft\Event\ClientConsoleEvent::$message

The message that the console has proposed.