summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 17:10:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 17:10:52 +0300
commitd3329d1900d306643706478cb2685dec7a1100e4 (patch)
tree5fe6c480db39a53d43c9f2dee3b1974eeebbdeef /src/net/tmwa
parenta5dc57c1f52878c66ce5548ebe9e0d519cbbfbac (diff)
downloadmanaverse-d3329d1900d306643706478cb2685dec7a1100e4.tar.gz
manaverse-d3329d1900d306643706478cb2685dec7a1100e4.tar.bz2
manaverse-d3329d1900d306643706478cb2685dec7a1100e4.tar.xz
manaverse-d3329d1900d306643706478cb2685dec7a1100e4.zip
Add packet CMSG_MAIL2_ADD_ITEM_TO_MAIL 0x0a04.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/mail2handler.cpp5
-rw-r--r--src/net/tmwa/mail2handler.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/mail2handler.cpp b/src/net/tmwa/mail2handler.cpp
index 2175a5bd3..9f07f2585 100644
--- a/src/net/tmwa/mail2handler.cpp
+++ b/src/net/tmwa/mail2handler.cpp
@@ -39,4 +39,9 @@ void Mail2Handler::openWriteMail(const std::string &receiver A_UNUSED) const
{
}
+void Mail2Handler::addItem(const Item *const item A_UNUSED,
+ const int amount A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/mail2handler.h b/src/net/tmwa/mail2handler.h
index 7842d101c..a8cceb0cb 100644
--- a/src/net/tmwa/mail2handler.h
+++ b/src/net/tmwa/mail2handler.h
@@ -36,6 +36,9 @@ class Mail2Handler final : public Net::Mail2Handler
~Mail2Handler();
void openWriteMail(const std::string &receiver) const override final;
+
+ void addItem(const Item *const item,
+ const int amount) const override final;
};
} // namespace TmwAthena