pocketmine\network\protocol\MoveEntityPacket::decode PHP Метод

decode() публичный Метод

public decode ( )
    public function decode()
    {
        $this->eid = $this->getLong();
        $this->x = $this->getFloat();
        $this->y = $this->getFloat();
        $this->z = $this->getFloat();
        $this->pitch = $this->getByte() * (360.0 / 256);
        $this->yaw = $this->getByte() * (360.0 / 256);
        $this->headYaw = $this->getByte() * (360.0 / 256);
    }
MoveEntityPacket