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