diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-12 00:22:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-12 00:22:38 +0300 |
commit | 21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb (patch) | |
tree | fe69bae2c36bb13efd57aa7a487fd744ad4d7949 /src/net/tmwa | |
parent | 59dc7219d3b8491fdd139183cf09742787e407db (diff) | |
download | manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.gz manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.bz2 manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.xz manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.zip |
Add MailOpenType enum for different open types.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mail2handler.cpp | 14 | ||||
-rw-r--r-- | src/net/tmwa/mail2handler.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/net/tmwa/mail2handler.cpp b/src/net/tmwa/mail2handler.cpp index 1ab43b038..c96506ce8 100644 --- a/src/net/tmwa/mail2handler.cpp +++ b/src/net/tmwa/mail2handler.cpp @@ -56,37 +56,37 @@ void Mail2Handler::sendMail(const std::string &to A_UNUSED, { } -void Mail2Handler::nextPage(const int openType A_UNUSED, +void Mail2Handler::nextPage(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::readMail(const int openType A_UNUSED, +void Mail2Handler::readMail(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::deleteMail(const int openType A_UNUSED, +void Mail2Handler::deleteMail(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::requestMoney(const int openType A_UNUSED, +void Mail2Handler::requestMoney(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::requestItems(const int openType A_UNUSED, +void Mail2Handler::requestItems(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::refreshMailList(const int openType A_UNUSED, +void Mail2Handler::refreshMailList(const MailOpenTypeT openType A_UNUSED, const int64_t mailId A_UNUSED) const { } -void Mail2Handler::openMailBox(const int openType A_UNUSED) const +void Mail2Handler::openMailBox(const MailOpenTypeT openType A_UNUSED) const { } diff --git a/src/net/tmwa/mail2handler.h b/src/net/tmwa/mail2handler.h index 62b6c570b..ce01bd180 100644 --- a/src/net/tmwa/mail2handler.h +++ b/src/net/tmwa/mail2handler.h @@ -48,25 +48,25 @@ class Mail2Handler final : public Net::Mail2Handler const std::string &body, const int64_t &money) const override final; - void nextPage(const int openType, + void nextPage(const MailOpenTypeT openType, const int64_t mailId) const override final; - void readMail(const int openType, + void readMail(const MailOpenTypeT openType, const int64_t mailId) const override final; - void deleteMail(const int openType, + void deleteMail(const MailOpenTypeT openType, const int64_t mailId) const override final; - void requestMoney(const int openType, + void requestMoney(const MailOpenTypeT openType, const int64_t mailId) const override final; - void requestItems(const int openType, + void requestItems(const MailOpenTypeT openType, const int64_t mailId) const override final; - void refreshMailList(const int openType, + void refreshMailList(const MailOpenTypeT openType, const int64_t mailId) const override final; - void openMailBox(const int openType) const override final; + void openMailBox(const MailOpenTypeT openType) const override final; void closeMailBox() const override final; |