diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-13 22:53:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-13 22:53:57 +0300 |
commit | 9f8da99f6b6266a7456d3be4d38880a3bd761932 (patch) | |
tree | 96aeb55b21dcdd6389f7b1caf47a3628b29a7df7 /src/net/tmwa/messagein.h | |
parent | 546d5180247512270a2ccd114266fb36cd426e61 (diff) | |
download | mv-9f8da99f6b6266a7456d3be4d38880a3bd761932.tar.gz mv-9f8da99f6b6266a7456d3be4d38880a3bd761932.tar.bz2 mv-9f8da99f6b6266a7456d3be4d38880a3bd761932.tar.xz mv-9f8da99f6b6266a7456d3be4d38880a3bd761932.zip |
Add into network code function readUInt16. Also fix reading cards id.
Diffstat (limited to 'src/net/tmwa/messagein.h')
-rw-r--r-- | src/net/tmwa/messagein.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/messagein.h b/src/net/tmwa/messagein.h index 14c6b8156..52b6b3f73 100644 --- a/src/net/tmwa/messagein.h +++ b/src/net/tmwa/messagein.h @@ -50,6 +50,9 @@ class MessageIn final : public Net::MessageIn /**< Reads a short. */ int16_t readInt16(const char *const str) override final; + + uint16_t readUInt16(const char *const str) override final; + /**< Reads a long. */ int32_t readInt32(const char *const str) override final; |