This commit introduces a default destructor for the `XAnimPartTrans` class, simplifying the code and ensuring proper resource cleanup.
28 lines
460 B
C++
28 lines
460 B
C++
#ifndef XANIMPARTTRANS_H
|
|
#define XANIMPARTTRANS_H
|
|
|
|
#include "xasset.h"
|
|
#include "xanimparttransdata.h"
|
|
|
|
class XAnimPartTrans : public XAsset
|
|
{
|
|
public:
|
|
explicit XAnimPartTrans();
|
|
XAnimPartTrans(const XAnimPartTrans& aSrc);
|
|
~XAnimPartTrans() = default;
|
|
|
|
void ParseData(XDataStream* aStream) override;
|
|
void Clear() override;
|
|
|
|
private:
|
|
quint32 mSize;
|
|
bool mIsSmallTrans;
|
|
XAnimPartTransData mData;
|
|
};
|
|
|
|
#endif // XANIMPARTTRANS_H
|
|
|
|
|
|
|
|
|