2025-08-17 13:14:17 -04:00
|
|
|
#ifndef XPATHNODEDYNAMIC_H
|
|
|
|
|
#define XPATHNODEDYNAMIC_H
|
|
|
|
|
|
|
|
|
|
#include "xasset.h"
|
2025-09-05 18:35:17 -04:00
|
|
|
#include "xsentienthandle.h"
|
|
|
|
|
|
|
|
|
|
#include <QVector>
|
2025-08-17 13:14:17 -04:00
|
|
|
|
|
|
|
|
class XPathNodeDynamic : public XAsset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit XPathNodeDynamic();
|
2025-09-05 18:35:17 -04:00
|
|
|
~XPathNodeDynamic();
|
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
|
|
|
|
2025-09-05 18:35:17 -04:00
|
|
|
XSentientHandle* GetOwner() const;
|
|
|
|
|
void SetOwner(XSentientHandle *owner);
|
2025-08-17 13:14:17 -04:00
|
|
|
|
|
|
|
|
int GetFreeTime() const;
|
|
|
|
|
void SetFreeTime(int time);
|
|
|
|
|
|
2025-09-05 18:35:17 -04:00
|
|
|
QVector<int> GetValidTime() const;
|
|
|
|
|
void SetValidTime(QVector<int> aValidTime);
|
2025-08-17 13:14:17 -04:00
|
|
|
|
|
|
|
|
int GetPlayerLostTime() const;
|
|
|
|
|
void SetPlayerLostTime(int time);
|
|
|
|
|
|
|
|
|
|
short GetLinkCount() const;
|
|
|
|
|
void SetLinkCount(short count);
|
|
|
|
|
|
|
|
|
|
short GetOverlapCount() const;
|
|
|
|
|
void SetOverlapCount(short count);
|
|
|
|
|
|
|
|
|
|
short GetTurretEntNumber() const;
|
|
|
|
|
void SetTurretEntNumber(short number);
|
|
|
|
|
|
|
|
|
|
short GetUserCount() const;
|
|
|
|
|
void SetUserCount(short count);
|
|
|
|
|
|
|
|
|
|
private:
|
2025-09-05 18:35:17 -04:00
|
|
|
XSentientHandle* mOwner;
|
|
|
|
|
int mFreeTime;
|
|
|
|
|
QVector<int> mValidTime;
|
|
|
|
|
int mPlayerLostTime;
|
|
|
|
|
short mLinkCount;
|
|
|
|
|
short mOverlapCount;
|
|
|
|
|
short mTurretEntNumber;
|
|
|
|
|
short mUserCount;
|
2025-08-17 13:14:17 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XPATHNODEDYNAMIC_H
|