diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-09 20:17:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-09 20:17:29 +0300 |
commit | 6b4beb683308a0df2d08c7ae499cffa0d87f5dae (patch) | |
tree | 2bd2c3064a1350f46302eadce733c0f03ef0820f /src/net/tmwa | |
parent | 7ac2da363583a568256f5efc2ab58fa2b342b233 (diff) | |
download | manaverse-6b4beb683308a0df2d08c7ae499cffa0d87f5dae.tar.gz manaverse-6b4beb683308a0df2d08c7ae499cffa0d87f5dae.tar.bz2 manaverse-6b4beb683308a0df2d08c7ae499cffa0d87f5dae.tar.xz manaverse-6b4beb683308a0df2d08c7ae499cffa0d87f5dae.zip |
eathena: add packet CMSG_NPC_REPAIR 0x01fd.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 8e691a808..c8a740fde 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -219,6 +219,10 @@ void NpcHandler::cooking(const CookingType::Type type, { } +void NpcHandler::repair(const int index 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 8cb2a531a..e7cfb7fb8 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -80,6 +80,8 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler void cooking(const CookingType::Type type, const int nameId) const; + + void repair(const int index) const override final; }; } // namespace TmwAthena |