summaryrefslogtreecommitdiff
path: root/src/net/messagein.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.hpp')
-rw-r--r--src/net/messagein.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/messagein.hpp b/src/net/messagein.hpp
index c6e49ab5..f01c1850 100644
--- a/src/net/messagein.hpp
+++ b/src/net/messagein.hpp
@@ -44,9 +44,10 @@ class MessageIn
*/
int getLength() const { return mLength; }
- int readByte(); /**< Reads a byte. */
- int readShort(); /**< Reads a short. */
- int readLong(); /**< Reads a long. */
+ int readInt8(); /**< Reads a byte. */
+ int readInt16(); /**< Reads a short. */
+ int readInt32(); /**< Reads a long. */
+
/**
* Reads a double. HACKY and should *not* be used for client
* communication!