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

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

public encode ( )
    public function encode()
    {
        $this->reset();
        $this->putEntityId($this->entityUniqueId);
        $this->putEntityId($this->entityRuntimeId);
        $this->putBlockCoords($this->x, $this->y, $this->z);
        $this->putVarInt($this->unknown);
    }
AddHangingEntityPacket