XPlor/libs/xassets/xpathnodeconstant.h

43 lines
915 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
void ParseData(QDataStream *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;
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;
2025-08-17 13:14:17 -04:00
};
#endif // XPATHNODECONSTANT_H