summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/npchandler.h
parentd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff)
downloadmv-1814650ad896a0f9684d279fa5843771e767748a.tar.gz
mv-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2
mv-1814650ad896a0f9684d279fa5843771e767748a.tar.xz
mv-1814650ad896a0f9684d279fa5843771e767748a.zip
add final keyword to net files.
Diffstat (limited to 'src/net/tmwa/npchandler.h')
-rw-r--r--src/net/tmwa/npchandler.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h
index 52d77b769..50238cdf7 100644
--- a/src/net/tmwa/npchandler.h
+++ b/src/net/tmwa/npchandler.h
@@ -37,35 +37,36 @@ 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 A_WARN_UNUSED;
+ const bool haveLength) override final A_WARN_UNUSED;
void processNpcCommand(Net::MessageIn &msg, const int npcId);