summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parent9a11f30d150928e504406139691b42cce0922174 (diff)
downloadmanaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.gz
manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.bz2
manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.xz
manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.zip
Impliment packet CMSG_SELECT_CART 0x0980.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp5
-rw-r--r--src/net/tmwa/inventoryhandler.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index fff35eb48..efe307775 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -164,4 +164,9 @@ int InventoryHandler::convertFromServerSlot(const int serverSlot) const
return static_cast<int>(EQUIP_CONVERT[serverSlot]);
}
+void InventoryHandler::selectCart(const BeingId accountId A_UNUSED,
+ const int type A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h
index 14b86fdd1..3b42c5f4c 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -66,6 +66,9 @@ class InventoryHandler final : public Ea::InventoryHandler
int convertFromServerSlot(const int serverSlot)
const override final A_WARN_UNUSED;
+ void selectCart(const BeingId accountId,
+ const int type) const override final;
+
int getProjectileSlot() const override final
{ return 10; }