summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-11-21 16:30:11 +0000
commita5e6a44b51d4269ed6812c9a9e0b6a293d959a4d (patch)
treef269a803b58b47082156dc74bb0d6e8e2dc6519e /src/net/messagein.h
parent1f6975d34e2c6fe8404fcbe13da406e624d94b68 (diff)
downloadmana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.gz
mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.bz2
mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.tar.xz
mana-client-a5e6a44b51d4269ed6812c9a9e0b6a293d959a4d.zip
Renamed {read,write}{Byte,Short,Long} to {read,write}{Int8,Int16,Int32}. This
is less confusing in 64-bit context and less conflicting with the 0.0 client.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index 37103f2c..3cc45a23 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -43,9 +43,9 @@ class MessageIn
int getId() { return mId; } /**< Returns the message ID. */
- 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 3-byte block containing tile-based coordinates.