mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Ability to get buffer from inputmessage
This commit is contained in:
parent
8179915e06
commit
07e40afa3d
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user