#ifndef XASSETLIST_H #define XASSETLIST_H #include "xasset.h" #include #include "scriptstringlist.h" class XAssetList : public XAsset { public: explicit XAssetList(); void ParseData(QDataStream *aStream) override; const ScriptStringList& GetStringList() const; void SetStringList(const ScriptStringList& stringList); int GetAssetCount() const; void SetAssetCount(int count); QVector& GetAssets(); const QVector& GetAssets() const; void SetAssets(const QVector& assets); private: ScriptStringList mStringList; int mAssetCount = 0; QVector mAssets; }; #endif // XASSETLIST_H