summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-18 20:16:00 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-18 20:16:00 +0300
commite40ff3205395015708b4801a984c25f239089f50 (patch)
tree17ff37e40c797d0b691c6cea22bd1a58ec2e05f4 /src/net/eathena/maphandler.cpp
parent34891cab564d7ed5752d4f161f2b76e727830e50 (diff)
downloadplus-e40ff3205395015708b4801a984c25f239089f50.tar.gz
plus-e40ff3205395015708b4801a984c25f239089f50.tar.bz2
plus-e40ff3205395015708b4801a984c25f239089f50.tar.xz
plus-e40ff3205395015708b4801a984c25f239089f50.zip
Add packet CMSG_MAP_BLOCK_PLAY_CANCEL 0x0447.
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r--src/net/eathena/maphandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp
index 760a5c458..8136fdb79 100644
--- a/src/net/eathena/maphandler.cpp
+++ b/src/net/eathena/maphandler.cpp
@@ -20,6 +20,9 @@
#include "net/eathena/maphandler.h"
+#include "net/eathena/messageout.h"
+#include "net/eathena/protocolout.h"
+
#include "debug.h"
namespace EAthena
@@ -36,4 +39,9 @@ MapHandler::~MapHandler()
mapHandler = nullptr;
}
+void MapHandler::blockPlayCancel() const
+{
+ createOutPacket(CMSG_MAP_BLOCK_PLAY_CANCEL);
+}
+
} // namespace EAthena