XPlor/libs/xassets/xassetlist.h

33 lines
620 B
C
Raw Normal View History

2025-08-17 13:14:17 -04:00
#ifndef XASSETLIST_H
#define XASSETLIST_H
#include "xscriptstringlist.h"
2025-08-17 13:14:17 -04:00
#include "xasset.h"
2025-08-17 13:14:17 -04:00
#include <QVector>
class XAssetList : public XAsset
{
public:
explicit XAssetList();
void ParseData(QDataStream *aStream) override;
XScriptStringList GetStringList() const;
void SetStringList(const XScriptStringList& stringList);
2025-08-17 13:14:17 -04:00
int GetAssetCount() const;
void SetAssetCount(int count);
QVector<XAsset*> GetAssets();
void SetAssets(QVector<XAsset *> assets);
2025-08-17 13:14:17 -04:00
private:
XScriptStringList mStringList;
2025-08-17 13:14:17 -04:00
int mAssetCount = 0;
QVector<XAsset*> mAssets;
2025-08-17 13:14:17 -04:00
};
#endif // XASSETLIST_H