mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 22:43:27 +02:00
Ability to get buffer from inputmessage
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
|||||||
|
|
||||||
InputMessage();
|
InputMessage();
|
||||||
|
|
||||||
void setBuffer(const std::string& buffer);
|
void setBuffer(const std::string& buffer);
|
||||||
std::string getBuffer() { return std::string((char*)m_buffer + m_headerPos, m_messageSize); }
|
std::string getBuffer() { return std::string((char*)m_buffer + m_headerPos, m_messageSize); }
|
||||||
|
|
||||||
void skipBytes(uint16 bytes) { m_readPos += bytes; }
|
void skipBytes(uint16 bytes) { m_readPos += bytes; }
|
||||||
|
Reference in New Issue
Block a user