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

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

public encode ( )
    public function encode()
    {
        $this->reset();
        $this->putEntityId($this->eid);
        $this->putByte($this->event);
        $this->putVarInt($this->unknown);
    }
EntityEventPacket