summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-13 23:38:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-13 23:38:20 +0300
commite61466ca3f2af0b3c7354d42c7f10d40ecea9d08 (patch)
treec9c3f6f10a057aaf4deab39e48000eeca4b928ae /src/net/eathena/inventoryhandler.cpp
parent9a11f30d150928e504406139691b42cce0922174 (diff)
downloadManaVerse-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.gz
ManaVerse-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.bz2
ManaVerse-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.xz
ManaVerse-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.zip
Impliment packet CMSG_SELECT_CART 0x0980.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp8
1 files changed, 8 insertions, 0 deletions
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<int>(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