#ifndef XPATHNODECONSTANT_H
#define XPATHNODECONSTANT_H

#include "xasset.h"
#include "xnodetype.h"
#include "xpathlink.h"

#include <QVector2D>
#include <QVector3D>

class XPathNodeConstant : public XAsset
{
public:
    explicit XPathNodeConstant();
    ~XPathNodeConstant();

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

private:
    XNodeType mType;
    quint16 mSpawnflags;
    quint16 mTargetname;
    quint16 mScriptLinkName;
    quint16 mScriptNoteworthy;
    quint16 mTarget;
    quint16 mAnimscript;
    qint32 mAnimscriptfunc;
    QVector3D mOrigin;
    float mAngle;
    QVector2D mForward;
    float mRadius;
    float mMinUseDistSq;
    QVector2D mOverlapNode;
    qint16 mChainId;
    qint16 mChainDepth;
    qint16 mChainParent;
    quint16 mTotalLinkCount;
    QVector<XPathLink> mLinks;
};

#endif // XPATHNODECONSTANT_H
