diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-26 20:00:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-26 20:00:11 +0300 |
commit | e3163de9297e06ed4e9bfa4cbaaca0c757222b81 (patch) | |
tree | 390e345ff3854c0d74ffd5ffdf7d0e545ba8be32 /src/net/eathena/inventoryrecv.cpp | |
parent | 392c3d08286a3f19a02258e61c6b240b32fd4f46 (diff) | |
download | plus-e3163de9297e06ed4e9bfa4cbaaca0c757222b81.tar.gz plus-e3163de9297e06ed4e9bfa4cbaaca0c757222b81.tar.bz2 plus-e3163de9297e06ed4e9bfa4cbaaca0c757222b81.tar.xz plus-e3163de9297e06ed4e9bfa4cbaaca0c757222b81.zip |
Add packet SMSG_INVENTORY_START 0x0b08.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index 45593aba1..3f8dbb7b1 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -1512,4 +1512,26 @@ void InventoryRecv::processOverWeightPercent(Net::MessageIn &msg) settings.overweightPercent = msg.readUInt32("parcent"); } +void InventoryRecv::processInventoryStart1(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readString(24, "storage name"); +} + +void InventoryRecv::processInventoryStart2(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("type"); + msg.readString(24, "inventory name"); +} + +void InventoryRecv::processInventoryStart3(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + const int nameLen = msg.readInt16("len") - 5; + msg.readUInt8("type"); + if (nameLen > 0) + msg.readString(nameLen, "inventory name"); +} + } // namespace EAthena |