summaryrefslogtreecommitdiff
path: root/src/net/messagein.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-26 03:02:37 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-26 22:01:35 +0300
commitde90520de303659fe639794544c2e19d462b3907 (patch)
tree36b306a26e2c9dd422aede36f2f9ca3158ffbae2 /src/net/messagein.h
parent45527f8597dfac68e914a798184282faeb1493f2 (diff)
downloadplus-de90520de303659fe639794544c2e19d462b3907.tar.gz
plus-de90520de303659fe639794544c2e19d462b3907.tar.bz2
plus-de90520de303659fe639794544c2e19d462b3907.tar.xz
plus-de90520de303659fe639794544c2e19d462b3907.zip
Add support for changed item id size in packets.
From some packet version hercules support item id fields as int32.
Diffstat (limited to 'src/net/messagein.h')
-rw-r--r--src/net/messagein.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/messagein.h b/src/net/messagein.h
index ea2caa499..255710349 100644
--- a/src/net/messagein.h
+++ b/src/net/messagein.h
@@ -80,6 +80,8 @@ class MessageIn notfinal
uint32_t readUInt32(const char *const str);
+ int readItemId(const char *const str);
+
int64_t readInt64(const char *const str);
BeingId readBeingId(const char *const str);