diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 20:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 20:27:04 +0300 |
commit | 2314f78e49bcf92c69b7148cc8e771de01d161cb (patch) | |
tree | 411f51060880560537a8413eb301e6862fb07b02 /src/net/eathena/adminhandler.cpp | |
parent | 976d72a73812224ff43f344299f1de64459b05be (diff) | |
download | plus-2314f78e49bcf92c69b7148cc8e771de01d161cb.tar.gz plus-2314f78e49bcf92c69b7148cc8e771de01d161cb.tar.bz2 plus-2314f78e49bcf92c69b7148cc8e771de01d161cb.tar.xz plus-2314f78e49bcf92c69b7148cc8e771de01d161cb.zip |
eathena: add packet CMSG_ADMIN_SET_TILE_TYPE 0x0198.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 00a4fd548..ca26c7823 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -166,6 +166,15 @@ void AdminHandler::requestLogin(const Being *const being) const outMsg.writeInt32(being->getId(), "account id"); } +void AdminHandler::setTileType(const int x, const int y, + const int type) const +{ + MessageOut outMsg(CMSG_ADMIN_SET_TILE_TYPE); + outMsg.writeInt16(x, "x"); + outMsg.writeInt16(y, "y"); + outMsg.writeInt16(type, "type"); +} + void AdminHandler::processAdminGetLoginAck(Net::MessageIn &msg) { msg.readInt32("account id"); |