Ability to get buffer from inputmessage

This commit is contained in:
Shawak
2014-03-22 18:09:11 +01:00
parent 07e40afa3d
commit d20c263912
2 changed files with 3 additions and 3 deletions

View File

@@ -37,8 +37,8 @@ public:
InputMessage();
void setBuffer(const std::string& buffer);
std::string getBuffer() { return std::string((char*)m_buffer + m_headerPos, m_messageSize); }
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; }
void setReadPos(uint16 readPos) { m_readPos = readPos; }