summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
commit1814650ad896a0f9684d279fa5843771e767748a (patch)
tree5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/eathena/npchandler.h
parentd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff)
downloadplus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz
plus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2
plus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz
plus-1814650ad896a0f9684d279fa5843771e767748a.zip
add final keyword to net files.
Diffstat (limited to 'src/net/eathena/npchandler.h')
-rw-r--r--src/net/eathena/npchandler.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/net/eathena/npchandler.h b/src/net/eathena/npchandler.h
index a993982bc..1afa3c7bc 100644
--- a/src/net/eathena/npchandler.h
+++ b/src/net/eathena/npchandler.h
@@ -37,34 +37,35 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler
A_DELETE_COPY(NpcHandler)
- void handleMessage(Net::MessageIn &msg) override;
+ void handleMessage(Net::MessageIn &msg) override final;
- void talk(const int npcId) const override;
+ void talk(const int npcId) const override final;
- void nextDialog(const int npcId) const override;
+ void nextDialog(const int npcId) const override final;
- void closeDialog(const int npcId) override;
+ void closeDialog(const int npcId) override final;
void listInput(const int npcId,
- const unsigned char value) const override;
+ const unsigned char value) const override final;
- void integerInput(const int npcId, const int value) const override;
+ void integerInput(const int npcId,
+ const int value) const override final;
void stringInput(const int npcId,
- const std::string &value) const override;
+ const std::string &value) const override final;
- void buy(const int beingId) const override;
+ void buy(const int beingId) const override final;
- void sell(const int beingId) const override;
+ void sell(const int beingId) const override final;
void buyItem(const int beingId, const int itemId,
const unsigned char color,
- const int amount) const override;
+ const int amount) const override final;
void sellItem(const int beingId, const int itemId,
- const int amount) const override;
+ const int amount) const override final;
- int getNpc(Net::MessageIn &msg, const bool haveLength) override;
+ int getNpc(Net::MessageIn &msg, const bool haveLength) override final;
void processNpcCutin(Net::MessageIn &msg, const int npcId) const;