diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-11 17:10:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-11 17:10:52 +0300 |
commit | d3329d1900d306643706478cb2685dec7a1100e4 (patch) | |
tree | 5fe6c480db39a53d43c9f2dee3b1974eeebbdeef /src/net/mail2handler.h | |
parent | a5dc57c1f52878c66ce5548ebe9e0d519cbbfbac (diff) | |
download | manaplus-d3329d1900d306643706478cb2685dec7a1100e4.tar.gz manaplus-d3329d1900d306643706478cb2685dec7a1100e4.tar.bz2 manaplus-d3329d1900d306643706478cb2685dec7a1100e4.tar.xz manaplus-d3329d1900d306643706478cb2685dec7a1100e4.zip |
Add packet CMSG_MAIL2_ADD_ITEM_TO_MAIL 0x0a04.
Diffstat (limited to 'src/net/mail2handler.h')
-rw-r--r-- | src/net/mail2handler.h | 5 |
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 |