summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
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/npchandler.h
parent0e58c7c1df7d4e02b1dc06d5ee40bd7ab25ef284 (diff)
downloadmv-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.gz
mv-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.bz2
mv-7ac2da363583a568256f5efc2ab58fa2b342b233.tar.xz
mv-7ac2da363583a568256f5efc2ab58fa2b342b233.zip
eathena: add packet CMSG_NPC_COOKING 0x025b.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 13942b80b..33f0ae3a0 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -25,6 +25,8 @@
#include <iosfwd>
+#include "being/cookingtype.h"
+
#include "localconsts.h"
namespace Net
@@ -74,6 +76,9 @@ class NpcHandler notfinal
const int materialId1,
const int materialId2,
const int materialId3) const = 0;
+
+ virtual void cooking(const CookingType::Type type,
+ const int nameId) const = 0;
};
} // namespace Net