Phpcraft
|
Public Member Functions | |
__construct (string $channel="", string $data="") | |
__toString () | |
Public Member Functions inherited from Phpcraft\Packet\PluginMessage\PluginMessagePacket | |
send (Connection $con) | |
Protected Member Functions | |
send_ (Connection $con) | |
Protected Member Functions inherited from Phpcraft\Packet\PluginMessage\PluginMessagePacket | |
__construct (string $packet_name, string $channel="", string $data="") | |
Additional Inherited Members | |
Static Public Member Functions inherited from Phpcraft\Packet\PluginMessage\ServerboundPluginMessagePacket | |
static | read (Connection $con) |
Public Attributes inherited from Phpcraft\Packet\PluginMessage\PluginMessagePacket | |
const | CHANNEL_REGISTER = "minecraft:register" |
const | CHANNEL_UNREGISTER = "minecraft:unregister" |
const | CHANNEL_BRAND = "minecraft:brand" |
const | CHANNEL_BUNGEECORD = "bungeecord:main" |
$channel | |
$data | |
Static Protected Member Functions inherited from Phpcraft\Packet\PluginMessage\PluginMessagePacket | |
static | readChannel (Connection $con) |
A serverbound plugin message with only a string as data.
Phpcraft\Packet\PluginMessage\ServerboundStringPluginMessagePacket::__construct | ( | string | $channel = "" , |
string | $data = "" |
||
) |
string | $channel | The name of the plugin message's channel. |
string | $data | The data of the plugin message. |
Reimplemented from Phpcraft\Packet\PluginMessage\ServerboundPluginMessagePacket.
Phpcraft\Packet\PluginMessage\ServerboundStringPluginMessagePacket::__toString | ( | ) |
Reimplemented from Phpcraft\Packet\PluginMessage\PluginMessagePacket.
|
protected |
Connection | $con |
Reimplemented from Phpcraft\Packet\PluginMessage\PluginMessagePacket.