allow usage of network messages in extended opcode

This commit is contained in:
Eduardo Bart
2012-05-14 20:13:48 -03:00
parent 2478809945
commit 7bca3de8eb
6 changed files with 42 additions and 26 deletions

View File

@@ -37,6 +37,8 @@ public:
InputMessage();
void setBuffer(const std::string& buffer);
void skipBytes(uint16 bytes) { m_readPos += bytes; }
uint8 getU8(bool peek = false);
uint16 getU16(bool peek = false);
@@ -53,7 +55,6 @@ public:
protected:
void reset();
void fillBuffer(uint8 *buffer, uint16 size);
void setHeaderSize(uint16 size);