mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
ignore this
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "declarations.h"
|
||||
#include <framework/util/databuffer.h>
|
||||
#include <otclient/position.h>
|
||||
|
||||
enum {
|
||||
BINARYTREE_ESCAPE_CHAR = 0xFD,
|
||||
@@ -48,6 +49,8 @@ public:
|
||||
uint32 getU32();
|
||||
uint64 getU64();
|
||||
std::string getString();
|
||||
Position getPosition() { return Position(getU16(), getU16(), getU8()); }
|
||||
Point getPoint() { return Point(getU8(), getU8()); }
|
||||
|
||||
BinaryTreeVec getChildren();
|
||||
bool canRead() { unserialize(); return m_pos < m_buffer.size(); }
|
||||
|
Reference in New Issue
Block a user