#ifndef XASSETHEADER_H
#define XASSETHEADER_H

#include "xasset.h"

class ZoneFile;

class XAssetHeader: public XAsset
{
public:
    explicit XAssetHeader();
    XAssetHeader(ZoneFile* aZoneFile);
    ~XAssetHeader();

    void ParseData(QDataStream *aStream) override;
    void Clear() override;

    XAssetType GetAssetType() const;
    qint32 GetAssetPtr() const;

private:
    XAssetType mAssetType;
    qint32 mAssetPtr;
    ZoneFile *mZoneFile;
};

#endif // XASSETHEADER_H

