summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r--src/net/eathena/mailhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index ea420cfc4..23e959538 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -113,4 +113,10 @@ void MailHandler::setAttach(const int index, const int amount)
outMsg.writeInt32(amount, "amount");
}
+void MailHandler::resetAttach(const int flag)
+{
+ MessageOut outMsg(CMSG_MAIL_RESET_ATTACH);
+ outMsg.writeInt16(static_cast<int16_t>(flag), "flag");
+}
+
} // namespace EAthena