feature/test #9
25
libs/xassets/xfxelemmarkvisuals.cpp
Normal file
25
libs/xassets/xfxelemmarkvisuals.cpp
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#include "xfxelemmarkvisuals.h"
|
||||||
|
|
||||||
|
XFxElemMarkVisuals::XFxElemMarkVisuals()
|
||||||
|
: XAsset()
|
||||||
|
, mMaterialPtrs()
|
||||||
|
, mMaterials()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
XFxElemMarkVisuals::~XFxElemMarkVisuals()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XFxElemMarkVisuals::Clear()
|
||||||
|
{
|
||||||
|
mMaterialPtrs.clear();
|
||||||
|
mMaterials.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
void XFxElemMarkVisuals::ParseData(QDataStream *aStream)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
23
libs/xassets/xfxelemmarkvisuals.h
Normal file
23
libs/xassets/xfxelemmarkvisuals.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#ifndef XFXELEMMARKVISUALS_H
|
||||||
|
#define XFXELEMMARKVISUALS_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
#include "xmaterial.h"
|
||||||
|
|
||||||
|
#include <QVector2D>
|
||||||
|
|
||||||
|
class XFxElemMarkVisuals : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
explicit XFxElemMarkVisuals();
|
||||||
|
~XFxElemMarkVisuals();
|
||||||
|
|
||||||
|
void Clear() override;
|
||||||
|
void ParseData(QDataStream *aStream) override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
QVector<qint32> mMaterialPtrs;
|
||||||
|
QVector<XMaterial> mMaterials;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XFXELEMMARKVISUALS_H
|
||||||
Loading…
x
Reference in New Issue
Block a user