diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
commit | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch) | |
tree | f6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/eathena/charserverhandler.h | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2 mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip |
Add missing const in net directory.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r-- | src/net/eathena/charserverhandler.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h index 632012e5d..833c5d6ad 100644 --- a/src/net/eathena/charserverhandler.h +++ b/src/net/eathena/charserverhandler.h @@ -38,7 +38,8 @@ class CharServerHandler final : public Ea::CharServerHandler A_DELETE_COPY(CharServerHandler) - void chooseCharacter(Net::Character *const character) override final; + void chooseCharacter(Net::Character *const character) const + override final; void newCharacter(const std::string &name, const int slot, @@ -50,28 +51,30 @@ class CharServerHandler final : public Ea::CharServerHandler const std::vector<int> &stats) const override final; void renameCharacter(const BeingId id, - const std::string &newName) override final; + const std::string &newName) const override final; void deleteCharacter(Net::Character *const character, - const std::string &email) override final; + const std::string &email) const override final; void switchCharacter() const override final; - void connect() override final; + void connect() const override final; bool isNeedCreatePin() const override final A_WARN_UNUSED; - void setNewPincode(const std::string &pin) override final A_CONST; + void setNewPincode(const std::string &pin) const override final + A_CONST; /** * Sets the character create dialog. The handler will clean up this * dialog when a new character is successfully created, and will unlock * the dialog when a new character failed to be created. */ - void setCharCreateDialog(CharCreateDialog *const window) + void setCharCreateDialog(CharCreateDialog *const window) const override final; - void changeSlot(const int oldSlot, const int newSlot) override final; + void changeSlot(const int oldSlot, + const int newSlot) const override final; void ping() const override final; |