Phpcraft
|
Public Member Functions | |
__construct (ProxyServer $server, ClientConnection $client, ServerboundPacketId $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 one of its clients sends a packet to their server. Cancellable. Cancelling the event prevents the recipient from receiving the packet.
Phpcraft\Event\ProxyServerPacketEvent::__construct | ( | ProxyServer | $server, |
ClientConnection | $client, | ||
ServerboundPacketId | $packetId | ||
) |
ServerboundPacketId Phpcraft\Event\ProxyServerPacketEvent::$packetId |