From 1814650ad896a0f9684d279fa5843771e767748a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:35 +0300 Subject: add final keyword to net files. --- src/net/tmwa/npchandler.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/net/tmwa/npchandler.h') 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); -- cgit v1.2.3-70-g09d2