13declare(strict_types=1);
15namespace pocketmine\network\mcpe\protocol;
20 public const NETWORK_ID = ProtocolInfo::AUTOMATION_CLIENT_CONNECT_PACKET;
22 public string $serverUri;
27 public static function create(
string $serverUri) : self{
29 $result->serverUri = $serverUri;
34 $this->serverUri = $in->getString();
38 $out->putString($this->serverUri);
42 return $handler->handleAutomationClientConnect($this);
decodePayload(PacketSerializer $in)
encodePayload(PacketSerializer $out)
static create(string $serverUri)
handle(PacketHandlerInterface $handler)