summaryrefslogtreecommitdiff
path: root/src/net/messageout.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messageout.hpp')
-rw-r--r--src/net/messageout.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/messageout.hpp b/src/net/messageout.hpp
index cd7befa7..270b7963 100644
--- a/src/net/messageout.hpp
+++ b/src/net/messageout.hpp
@@ -56,6 +56,12 @@ class MessageOut
void writeLong(int value); /**< Writes an integer on four bytes. */
/**
+ * Writes a double. HACKY and should *not* be used for client
+ * communication!
+ */
+ void writeDouble(double value);
+
+ /**
* Writes a 3-byte block containing tile-based coordinates.
*/
void writeCoordinates(int x, int y);