mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
Implemented a function to save .dat file
This commit is contained in:
@@ -117,6 +117,8 @@ public:
|
||||
void unserialize(uint16 clientId, ThingCategory category, const FileStreamPtr& fin);
|
||||
void unserializeOtml(const OTMLNodePtr& node);
|
||||
|
||||
void serialize(const FileStreamPtr& fin);
|
||||
|
||||
void draw(const Point& dest, float scaleFactor, int layer, int xPattern, int yPattern, int zPattern, int animationPhase, LightView *lightView = nullptr);
|
||||
|
||||
uint16 getId() { return m_id; }
|
||||
@@ -199,6 +201,7 @@ private:
|
||||
Size m_size;
|
||||
Point m_displacement;
|
||||
int m_exactSize;
|
||||
int m_realSize;
|
||||
int m_numPatternX, m_numPatternY, m_numPatternZ;
|
||||
int m_animationPhases;
|
||||
int m_layers;
|
||||
|
||||
Reference in New Issue
Block a user