mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Ability to get buffer from inputmessage
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
|
||||
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); }
|
||||
|
||||
void skipBytes(uint16 bytes) { m_readPos += bytes; }
|
||||
|
Reference in New Issue
Block a user