diff options
Diffstat (limited to 'src/net/eathena/mail2handler.cpp')
-rw-r--r-- | src/net/eathena/mail2handler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/mail2handler.cpp b/src/net/eathena/mail2handler.cpp index f6a3c88ca..550d5f6c1 100644 --- a/src/net/eathena/mail2handler.cpp +++ b/src/net/eathena/mail2handler.cpp @@ -20,6 +20,10 @@ #include "net/eathena/mail2handler.h" +#include "net/eathena/messageout.h" +#include "net/eathena/updateprotocol.h" +#include "net/eathena/protocolout.h" + #include "debug.h" namespace EAthena @@ -35,4 +39,10 @@ Mail2Handler::~Mail2Handler() mail2Handler = nullptr; } +void Mail2Handler::openWriteMail(const std::string &receiver) const +{ + createOutPacket(CMSG_MAIL2_OPEN_WRITE_MAIL); + outMsg.writeString(receiver, 24, "receiver name"); +} + } // namespace EAthena |