diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-25 03:29:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-25 03:29:47 +0300 |
commit | ca2c1a3e20d9cf16fd77649bfd48a26b2f7d9390 (patch) | |
tree | 419bf82eef0ad201ff45b230e8bc1d4dbb89bfcd /src/net/eathena/inventoryhandler.cpp | |
parent | 1b0b820965425d1e5a40668faf75b3e41e870e45 (diff) | |
download | manaverse-ca2c1a3e20d9cf16fd77649bfd48a26b2f7d9390.tar.gz manaverse-ca2c1a3e20d9cf16fd77649bfd48a26b2f7d9390.tar.bz2 manaverse-ca2c1a3e20d9cf16fd77649bfd48a26b2f7d9390.tar.xz manaverse-ca2c1a3e20d9cf16fd77649bfd48a26b2f7d9390.zip |
Add packet CMSG_INVENTORY_EXPAND_REJECT 0x0b19
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 f484afac9..67a91edfb 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -625,4 +625,15 @@ void InventoryHandler::expandInventoryConfirm() const createOutPacket(CMSG_INVENTORY_EXPAND_CONFIRM); } +void InventoryHandler::expandInventoryReject() const +{ + if (packetVersionMain < 20181031 && + packetVersionRe < 20181031 && + packetVersionZero < 20181114) + { + return; + } + createOutPacket(CMSG_INVENTORY_EXPAND_REJECT); +} + } // namespace EAthena |