13declare(strict_types=1);
15namespace pocketmine\network\mcpe\protocol;
20 public const NETWORK_ID = ProtocolInfo::TICKING_AREAS_LOAD_STATUS_PACKET;
22 private bool $waitingForPreload;
27 public static function create(
bool $waitingForPreload) : self{
29 $result->waitingForPreload = $waitingForPreload;
33 public function isWaitingForPreload() : bool{ return $this->waitingForPreload; }
36 $this->waitingForPreload = $in->getBool();
40 $out->putBool($this->waitingForPreload);
44 return $handler->handleTickingAreasLoadStatus($this);
encodePayload(PacketSerializer $out)
handle(PacketHandlerInterface $handler)
decodePayload(PacketSerializer $in)
static create(bool $waitingForPreload)