summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index 613eca09e..44d6a9aab 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -122,6 +122,9 @@ class MessageIn notfinal
static uint8_t fromServerDirection(const uint8_t serverDir)
A_WARN_UNUSED;
+ unsigned int getVersion() const A_WARN_UNUSED
+ { return mVersion; }
+
protected:
/**
* Constructor.
@@ -137,6 +140,7 @@ class MessageIn notfinal
* reading it.
*/
unsigned int mPos;
+ unsigned int mVersion;
uint16_t mId; /**< The message ID. */
bool mIgnore;
};