summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index ca26c7823..6b584269c 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -51,6 +51,7 @@ AdminHandler::AdminHandler() :
{
SMSG_ADMIN_KICK_ACK,
SMSG_ADMIN_GET_LOGIN_ACK,
+ SMSG_ADMIN_SET_TILE_TYPE,
0
};
handledMessages = _messages;
@@ -70,6 +71,9 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
case SMSG_ADMIN_GET_LOGIN_ACK:
processAdminGetLoginAck(msg);
break;
+ case SMSG_ADMIN_SET_TILE_TYPE:
+ processSetTileType(msg);
+ break;
default:
break;
}
@@ -181,4 +185,13 @@ void AdminHandler::processAdminGetLoginAck(Net::MessageIn &msg)
msg.readString(24, "login");
}
+void AdminHandler::processSetTileType(Net::MessageIn &msg)
+{
+ // +++ here need set collision tile for map
+ msg.readInt16("x");
+ msg.readInt16("y");
+ msg.readInt16("type");
+ msg.readString(16, "map name");
+}
+
} // namespace EAthena