summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.h
diff options
context:
space:
mode:
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;