ManaPlus
mail2handler.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2011-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #include "net/tmwa/mail2handler.h"
23 
24 #include "debug.h"
25 
26 namespace TmwAthena
27 {
28 
30 {
31  mail2Handler = this;
32 }
33 
35 {
36  mail2Handler = nullptr;
37 }
38 
39 void Mail2Handler::openWriteMail(const std::string &receiver A_UNUSED) const
40 {
41 }
42 
43 void Mail2Handler::addItem(const Item *const item A_UNUSED,
44  const int amount A_UNUSED) const
45 {
46 }
47 
48 void Mail2Handler::removeItem(const int index A_UNUSED,
49  const int amount A_UNUSED) const
50 {
51 }
52 
53 void Mail2Handler::sendMail(const std::string &to A_UNUSED,
54  const std::string &title A_UNUSED,
55  const std::string &body A_UNUSED,
56  const int64_t &money A_UNUSED) const
57 {
58 }
59 
61  const std::string &to A_UNUSED,
62  const std::string &title A_UNUSED,
63  const std::string &body A_UNUSED,
64  const int64_t &money A_UNUSED) const
65 {
66 }
67 
69  const int64_t mailId A_UNUSED) const
70 {
71 }
72 
74  const int64_t mailId A_UNUSED) const
75 {
76 }
77 
79  const int64_t mailId A_UNUSED) const
80 {
81 }
82 
84  const int64_t mailId A_UNUSED) const
85 {
86 }
87 
89  const int64_t mailId A_UNUSED) const
90 {
91 }
92 
94  const int64_t mailId A_UNUSED) const
95 {
96 }
97 
99 {
100 }
101 
103 {
104 }
105 
107 {
108 }
109 
110 void Mail2Handler::requestCheckName(const std::string &name A_UNUSED) const
111 {
112 }
113 
114 std::string Mail2Handler::getCheckedName() const
115 {
116  return std::string();
117 }
118 
119 } // namespace TmwAthena
Definition: item.h:50
void nextPage(const MailOpenTypeT openType, const int64_t mailId) const
void openWriteMail(const std::string &receiver) const
void sendMail(const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const
void cancelWriteMail() const
std::string getCheckedName() const
void requestCheckName(const std::string &name) const
void refreshMailList(const MailOpenTypeT openType, const int64_t mailId) const
void openMailBox(const MailOpenTypeT openType) const
void removeItem(const int index, const int amount) const
void requestItems(const MailOpenTypeT openType, const int64_t mailId) const
void readMail(const MailOpenTypeT openType, const int64_t mailId) const
void deleteMail(const MailOpenTypeT openType, const int64_t mailId) const
void requestMoney(const MailOpenTypeT openType, const int64_t mailId) const
void queueCheckName(const MailQueueTypeT type, const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const
void addItem(const Item *const item, const int amount) const
#define A_UNUSED
Definition: localconsts.h:160
Net::Mail2Handler * mail2Handler
Definition: net.cpp:113
MailOpenType ::T MailOpenTypeT
Definition: mailopentype.h:33
MailQueueType ::T MailQueueTypeT
Definition: mailqueuetype.h:34