diff options
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index be82548fd..3943d99c4 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -209,6 +209,14 @@ void NpcHandler::produceMix(const int nameId, outMsg.writeInt16(materialId3, "material 3"); } +void NpcHandler::cooking(const CookingType::Type type, + const int nameId) const +{ + MessageOut outMsg(CMSG_NPC_COOKING); + outMsg.writeInt16(static_cast<int16_t>(type), "type"); + outMsg.writeInt16(nameId, "name id"); +} + int NpcHandler::getNpc(Net::MessageIn &msg) { if (msg.getId() == SMSG_NPC_CHOICE |