summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-25 03:15:56 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 03:15:56 +0300
commit1b0b820965425d1e5a40668faf75b3e41e870e45 (patch)
tree72032251e59cb4f67716b1aa63d7f00c23582b12 /src/net/eathena/inventoryhandler.cpp
parente7884fd8de40923ebadb0e9d810c597215821d65 (diff)
downloadplus-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.gz
plus-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.bz2
plus-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.xz
plus-1b0b820965425d1e5a40668faf75b3e41e870e45.zip
Add packet CMSG_INVENTORY_EXPAND_CONFIRM 0x0b16
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index b9391bd31..f484afac9 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -614,4 +614,15 @@ void InventoryHandler::expandInventory() const
createOutPacket(CMSG_INVENTORY_EXPAND);
}
+void InventoryHandler::expandInventoryConfirm() const
+{
+ if (packetVersionMain < 20181031 &&
+ packetVersionRe < 20181031 &&
+ packetVersionZero < 20181114)
+ {
+ return;
+ }
+ createOutPacket(CMSG_INVENTORY_EXPAND_CONFIRM);
+}
+
} // namespace EAthena