summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-24 14:09:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-24 14:09:35 +0300
commit8f49aa549ba451768c6748ca0ffb2d5bdb5a0eaf (patch)
tree81583fc68b7886262c2caaa9d258372d15bb5852 /src/net/tmwa
parent21a671a5de9876ae79112b7a6da1259c2198300f (diff)
downloadplus-8f49aa549ba451768c6748ca0ffb2d5bdb5a0eaf.tar.gz
plus-8f49aa549ba451768c6748ca0ffb2d5bdb5a0eaf.tar.bz2
plus-8f49aa549ba451768c6748ca0ffb2d5bdb5a0eaf.tar.xz
plus-8f49aa549ba451768c6748ca0ffb2d5bdb5a0eaf.zip
eathena: add packet CMSG_NPC_CASH_SHOP_BUY 0x0288.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/cashshophandler.cpp7
-rw-r--r--src/net/tmwa/cashshophandler.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp
index 99acd6653..7eab823df 100644
--- a/src/net/tmwa/cashshophandler.cpp
+++ b/src/net/tmwa/cashshophandler.cpp
@@ -42,4 +42,11 @@ void CashShopHandler::handleMessage(Net::MessageIn &msg A_UNUSED)
{
}
+void CashShopHandler::buy(const int points A_UNUSED,
+ const int itemId A_UNUSED,
+ const unsigned char color A_UNUSED,
+ const int amount A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/cashshophandler.h b/src/net/tmwa/cashshophandler.h
index 9b7cf86e6..cbd558d9d 100644
--- a/src/net/tmwa/cashshophandler.h
+++ b/src/net/tmwa/cashshophandler.h
@@ -37,6 +37,11 @@ class CashShopHandler final : public MessageHandler,
A_DELETE_COPY(CashShopHandler)
void handleMessage(Net::MessageIn &msg) override final;
+
+ void buy(const int points,
+ const int itemId,
+ const unsigned char color,
+ const int amount) const override final;
};
} // namespace TmwAthena