summaryrefslogtreecommitdiff
path: root/src/net/mail2handler.h
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/mail2handler.h
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/mail2handler.h')
-rw-r--r--src/net/mail2handler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/mail2handler.h b/src/net/mail2handler.h
index ad6d2d88c..f53d17a98 100644
--- a/src/net/mail2handler.h
+++ b/src/net/mail2handler.h
@@ -25,6 +25,8 @@
#include "localconsts.h"
+class Item;
+
namespace Net
{
@@ -40,6 +42,9 @@ class Mail2Handler notfinal
{ }
virtual void openWriteMail(const std::string &receiver) const = 0;
+
+ virtual void addItem(const Item *const item,
+ const int amount) const = 0;
};
} // namespace Net