summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 20:00:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 20:00:59 +0300
commit7ac2da363583a568256f5efc2ab58fa2b342b233 (patch)
treeed99f960b5b5c6cbaa7a7ca9db19f3dedb43bf33 /src/net/tmwa
parent0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284 (diff)
downloadplus-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.gz
plus-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.bz2
plus-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.xz
plus-7ac2da363583a568256f5efc2ab58fa2b342b233.zip
eathena: add packet CMSG_NPC_COOKING 0x025b.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/npchandler.cpp5
-rw-r--r--src/net/tmwa/npchandler.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 474fa1411..8e691a808 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -214,6 +214,11 @@ void NpcHandler::produceMix(const int nameId A_UNUSED,
{
}
+void NpcHandler::cooking(const CookingType::Type type,
+ const int nameId) const
+{
+}
+
int NpcHandler::getNpc(Net::MessageIn &msg)
{
if (msg.getId() == SMSG_NPC_CHOICE
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h
index 01aba1e96..8cb2a531a 100644
--- a/src/net/tmwa/npchandler.h
+++ b/src/net/tmwa/npchandler.h
@@ -77,6 +77,9 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler
const int materialId1,
const int materialId2,
const int materialId3) const override final;
+
+ void cooking(const CookingType::Type type,
+ const int nameId) const;
};
} // namespace TmwAthena