diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-25 03:15:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-25 03:15:56 +0300 |
commit | 1b0b820965425d1e5a40668faf75b3e41e870e45 (patch) | |
tree | 72032251e59cb4f67716b1aa63d7f00c23582b12 /src/net/eathena/inventoryhandler.cpp | |
parent | e7884fd8de40923ebadb0e9d810c597215821d65 (diff) | |
download | mv-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.gz mv-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.bz2 mv-1b0b820965425d1e5a40668faf75b3e41e870e45.tar.xz mv-1b0b820965425d1e5a40668faf75b3e41e870e45.zip |
Add packet CMSG_INVENTORY_EXPAND_CONFIRM 0x0b16
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 11 |
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 |