XPlor/libs/xassets/xpathnodeconstant.h

43 lines
872 B
C
Raw Normal View History

2025-08-17 13:14:17 -04:00
#ifndef XPATHNODECONSTANT_H
#define XPATHNODECONSTANT_H
#include "xasset.h"
#include "xnodetype.h"
#include "xpathlink.h"
2025-09-05 18:35:17 -04:00
#include <QVector2D>
#include <QVector3D>
2025-08-17 13:14:17 -04:00
class XPathNodeConstant : public XAsset
{
public:
explicit XPathNodeConstant();
2025-09-05 18:35:17 -04:00
~XPathNodeConstant();
2025-08-17 13:14:17 -04:00
2025-09-10 21:58:26 -04:00
void ParseData(XDataStream *aStream) override;
2025-09-05 18:35:17 -04:00
void Clear() override;
2025-08-17 13:14:17 -04:00
private:
2025-09-05 18:35:17 -04:00
XNodeType mType;
2025-09-10 21:58:26 -04:00
quint16 mSpawnflags;
quint16 mTargetname;
quint16 mScriptLinkName;
quint16 mScriptNoteworthy;
quint16 mTarget;
quint16 mAnimscript;
qint32 mAnimscriptfunc;
2025-09-05 18:35:17 -04:00
QVector3D mOrigin;
float mAngle;
QVector2D mForward;
float mRadius;
float mMinUseDistSq;
QVector2D mOverlapNode;
2025-09-10 21:58:26 -04:00
qint16 mChainId;
qint16 mChainDepth;
qint16 mChainParent;
quint16 mTotalLinkCount;
2025-09-05 18:35:17 -04:00
QVector<XPathLink> mLinks;
2025-08-17 13:14:17 -04:00
};
#endif // XPATHNODECONSTANT_H