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

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

public encode ( )
    public function encode()
    {
        $this->reset();
        $this->putBlockCoords($this->x, $this->y, $this->z);
        $this->putVarInt($this->case1);
        $this->putVarInt($this->case2);
    }
BlockEventPacket