diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mailhandler.cpp | 18 | ||||
-rw-r--r-- | src/net/tmwa/mailhandler.h | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/src/net/tmwa/mailhandler.cpp b/src/net/tmwa/mailhandler.cpp index 53a1faba5..911436972 100644 --- a/src/net/tmwa/mailhandler.cpp +++ b/src/net/tmwa/mailhandler.cpp @@ -42,42 +42,42 @@ void MailHandler::handleMessage(Net::MessageIn &msg A_UNUSED) { } -void MailHandler::refresh() +void MailHandler::refresh() const { } -void MailHandler::readMessage(const int msgId A_UNUSED) +void MailHandler::readMessage(const int msgId A_UNUSED) const { } -void MailHandler::getAttach(const int msgId A_UNUSED) +void MailHandler::getAttach(const int msgId A_UNUSED) const { } -void MailHandler::deleteMessage(const int msgId A_UNUSED) +void MailHandler::deleteMessage(const int msgId A_UNUSED) const { } -void MailHandler::returnMessage(const int msgId A_UNUSED) +void MailHandler::returnMessage(const int msgId A_UNUSED) const { } void MailHandler::setAttach(const int index A_UNUSED, - const int amount A_UNUSED) + const int amount A_UNUSED) const { } -void MailHandler::setAttachMoney(const int money A_UNUSED) +void MailHandler::setAttachMoney(const int money A_UNUSED) const { } -void MailHandler::resetAttach(const int flag A_UNUSED) +void MailHandler::resetAttach(const int flag A_UNUSED) const { } void MailHandler::send(const std::string &name A_UNUSED, const std::string &title A_UNUSED, - std::string message A_UNUSED) + std::string message A_UNUSED) const { } diff --git a/src/net/tmwa/mailhandler.h b/src/net/tmwa/mailhandler.h index f54901f50..b6427c763 100644 --- a/src/net/tmwa/mailhandler.h +++ b/src/net/tmwa/mailhandler.h @@ -39,25 +39,25 @@ class MailHandler final : public MessageHandler, public Net::MailHandler void handleMessage(Net::MessageIn &msg) override final; - void refresh() override final; + void refresh() const override final; - void readMessage(const int msgId) override final; + void readMessage(const int msgId) const override final; - void getAttach(const int msgId) override final; + void getAttach(const int msgId) const override final; - void deleteMessage(const int msgId) override final; + void deleteMessage(const int msgId) const override final; - void returnMessage(const int msgId) override final; + void returnMessage(const int msgId) const override final; - void setAttach(const int index, const int amount) override final; + void setAttach(const int index, const int amount) const override final; - void setAttachMoney(const int money) override final; + void setAttachMoney(const int money) const override final; - void resetAttach(const int flag) override final; + void resetAttach(const int flag) const override final; void send(const std::string &name, const std::string &title, - std::string message) override final; + std::string message) const override final; }; } // namespace TmwAthena |