summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/eathena/charserverhandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
plus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r--src/net/eathena/charserverhandler.h17
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;