From e61466ca3f2af0b3c7354d42c7f10d40ecea9d08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 Jan 2016 23:38:20 +0300 Subject: Impliment packet CMSG_SELECT_CART 0x0980. --- src/net/eathena/inventoryhandler.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 8220bd2e6..c27bf1c8c 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -213,4 +213,12 @@ int InventoryHandler::convertFromServerSlot(const int serverSlot) const return static_cast(EQUIP_CONVERT[serverSlot]); } +void InventoryHandler::selectCart(const BeingId accountId, + const int type) const +{ + createOutPacket(CMSG_SELECT_CART); + outMsg.writeBeingId(accountId, "account id"); + outMsg.writeInt8(type, "type"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50