Fix: Use XDataStream for parsing
This commit updates the parsing mechanism within XAnimParts to utilize `XDataStream` instead of `QDataStream`. This aligns with the codebase's evolving data handling conventions and ensures consistency in data parsing operations.
This commit is contained in:
parent
9898a03417
commit
f2769e689f
@ -13,9 +13,9 @@ class XAnimParts : public XAsset
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit XAnimParts();
|
explicit XAnimParts();
|
||||||
~XAnimParts();
|
~XAnimParts() = default;
|
||||||
|
|
||||||
void ParseData(QDataStream *aStream) override;
|
void ParseData(XDataStream *aStream) override;
|
||||||
void Clear() override;
|
void Clear() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -43,13 +43,13 @@ private:
|
|||||||
float mFramerate = 0.0f;
|
float mFramerate = 0.0f;
|
||||||
float mFrequency = 0.0f;
|
float mFrequency = 0.0f;
|
||||||
|
|
||||||
quint32 mNames = 0;
|
quint16 mNames = 0;
|
||||||
quint8 mDataByte = 0;
|
quint8 mDataByte = 0;
|
||||||
qint16 mDataShort = 0;
|
qint16 mDataShort = 0;
|
||||||
int mDataInt = 0;
|
qint32 mDataInt = 0;
|
||||||
qint16 mRandomDataShort = 0;
|
qint16 mRandomDataShort = 0;
|
||||||
quint8 mRandomDataByte = 0;
|
quint8 mRandomDataByte = 0;
|
||||||
int mRandomDataInt = 0;
|
qint32 mRandomDataInt = 0;
|
||||||
XAnimIndices mIndices;
|
XAnimIndices mIndices;
|
||||||
XAnimNotifyInfo mNotify;
|
XAnimNotifyInfo mNotify;
|
||||||
XAnimDeltaPart mDeltaPart;
|
XAnimDeltaPart mDeltaPart;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user