From e234316a0a46677f4523b7b91b5c1cdc22a4fea1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 19:31:00 +0300 Subject: eathena: add packet CMSG_NPC_PRODUCE_MIX 0x018e. --- src/net/tmwa/npchandler.cpp | 7 +++++++ src/net/tmwa/npchandler.h | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 0e2701f44..474fa1411 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -207,6 +207,13 @@ void NpcHandler::completeProgressBar() const { } +void NpcHandler::produceMix(const int nameId A_UNUSED, + const int materialId1 A_UNUSED, + const int materialId2 A_UNUSED, + const int materialId3 A_UNUSED) 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 2d53414e6..01aba1e96 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -72,6 +72,11 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler void processNpcCommand(Net::MessageIn &msg); void processChangeTitle(Net::MessageIn &msg); + + void produceMix(const int nameId, + const int materialId1, + const int materialId2, + const int materialId3) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2