#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(QDataStream *aStream) override;
    void Clear() override;

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

#endif // XPATHNODECONSTANT_H
