Phpcraft
|
Public Member Functions | |
__construct (ProxyServer $server, ClientConnection $client, ClientboundPacketId $packetId) | |
Public Member Functions inherited from Phpcraft\Event\ProxyPacketEvent | |
__construct (ProxyServer $server, ClientConnection $client, PacketId $packetId) | |
Public Member Functions inherited from Phpcraft\Event\ProxyClientEvent | |
__construct (ProxyServer $server, ClientConnection $client) | |
Public Member Functions inherited from Phpcraft\Event\ProxyEvent | |
__construct (ProxyServer $server) | |
Public Attributes | |
$packetId | |
Public Attributes inherited from Phpcraft\Event\ProxyPacketEvent | |
$packetId | |
Public Attributes inherited from Phpcraft\Event\ProxyClientEvent | |
$client | |
Public Attributes inherited from Phpcraft\Event\ProxyEvent | |
$server | |
The event emitted by the proxy when it receives a packet addressed to one of its clients. Cancellable. Cancelling the event prevents the recipient from receiving the packet.
Phpcraft\Event\ProxyClientPacketEvent::__construct | ( | ProxyServer | $server, |
ClientConnection | $client, | ||
ClientboundPacketId | $packetId | ||
) |
ClientboundPacketId Phpcraft\Event\ProxyClientPacketEvent::$packetId |