summaryrefslogtreecommitdiff
path: root/src/net/messageout.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/messageout.h
parent45527f8597dfac68e914a798184282faeb1493f2 (diff)
downloadmv-de90520de303659fe639794544c2e19d462b3907.tar.gz
mv-de90520de303659fe639794544c2e19d462b3907.tar.bz2
mv-de90520de303659fe639794544c2e19d462b3907.tar.xz
mv-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/messageout.h')
-rw-r--r--src/net/messageout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h
index 9cf9b7e3e..e158430d6 100644
--- a/src/net/messageout.h
+++ b/src/net/messageout.h
@@ -61,6 +61,9 @@ class MessageOut notfinal
void writeInt32(const int32_t value,
const char *const str);
+ void writeItemId(const int32_t value,
+ const char *const str);
+
void writeInt64(const int64_t value,
const char *const str);