summaryrefslogtreecommitdiff
path: root/src/net/manaserv/gamehandler.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
commit5afe88df2538274859a162ffd63ed52118e80c19 (patch)
treeb610dfd58dc748fd63f49565b2a43eea2316714f /src/net/manaserv/gamehandler.h
parent73ba2a95f5bd4a0dd09af52d5864800be2b0a4c6 (diff)
downloadmana-5afe88df2538274859a162ffd63ed52118e80c19.tar.gz
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.bz2
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.xz
mana-5afe88df2538274859a162ffd63ed52118e80c19.zip
Apply C++11 fixits
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
Diffstat (limited to 'src/net/manaserv/gamehandler.h')
-rw-r--r--src/net/manaserv/gamehandler.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/net/manaserv/gamehandler.h b/src/net/manaserv/gamehandler.h
index 454cae43..2bc56ef0 100644
--- a/src/net/manaserv/gamehandler.h
+++ b/src/net/manaserv/gamehandler.h
@@ -36,32 +36,32 @@ class GameHandler : public MessageHandler, public Net::GameHandler
public:
GameHandler();
- void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg) override;
- void connect();
+ void connect() override;
- bool isConnected();
+ bool isConnected() override;
- void disconnect();
+ void disconnect() override;
- void who();
+ void who() override;
void quit(bool reconnectAccount);
- void quit() { quit(false); }
+ void quit() override { quit(false); }
- bool removeDeadBeings() const { return false; }
+ bool removeDeadBeings() const override { return false; }
void clear();
void gameLoading();
/** The ManaServ protocol doesn't use the MP status bar. */
- bool canUseMagicBar() const { return false; }
+ bool canUseMagicBar() const override { return false; }
- int getPickupRange() const { return PICKUP_RANGE; }
+ int getPickupRange() const override { return PICKUP_RANGE; }
- int getNpcTalkRange() const { return NPC_TALK_RANGE; }
+ int getNpcTalkRange() const override { return NPC_TALK_RANGE; }
};
} // namespace ManaServ