pocketmine\network\protocol\PlayerActionPacket::encode PHP Метод

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

public encode ( )
    public function encode()
    {
        $this->reset();
        $this->putLong($this->eid);
        $this->putInt($this->action);
        $this->putInt($this->x);
        $this->putInt($this->y);
        $this->putInt($this->z);
        $this->putInt($this->face);
    }
PlayerActionPacket