PocketMine
|
Public Member Functions | |
putPacket (Player $player, DataPacket $packet, $needACK=false, $immediate=true) | |
close (Player $player, $reason="unknown reason") | |
setName ($name) | |
process () | |
shutdown () | |
emergencyShutdown () | |
Classes that implement this interface will be able to be attached to players
close | ( | Player | $player, |
$reason = "unknown reason" |
|||
) |
process | ( | ) |
Implemented in RakLibInterface.
putPacket | ( | Player | $player, |
DataPacket | $packet, | ||
$needACK = false , |
|||
$immediate = true |
|||
) |
Sends a DataPacket to the interface, returns an unique identifier for the packet if $needACK is true
Player | $player | |
DataPacket | $packet | |
bool | $needACK | |
bool | $immediate |
Implemented in RakLibInterface.
setName | ( | $name | ) |
string | $name |
Implemented in RakLibInterface.