From bcc4695387d21f9629ab6f013aadbfe0d238aa6d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 5 Apr 2009 21:50:02 -0600 Subject: Implement TMWServ's Admin-, Chat-, and MapHandlers --- src/net/tmwserv/maphandler.cpp | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/net/tmwserv/maphandler.cpp (limited to 'src/net/tmwserv/maphandler.cpp') diff --git a/src/net/tmwserv/maphandler.cpp b/src/net/tmwserv/maphandler.cpp new file mode 100644 index 00000000..bbdb873e --- /dev/null +++ b/src/net/tmwserv/maphandler.cpp @@ -0,0 +1,58 @@ +/* + * The Mana World + * Copyright (C) 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include "net/tmwserv/maphandler.h" + +Net::MapHandler *mapHandler; + +namespace TmwServ { + +MapHandler::MapHandler() +{ + mapHandler = this; +} + +void MapHandler::connect(LoginData *loginData) +{ + // TODO +} + +void MapHandler::mapLoaded(const std::string &mapName) +{ + // TODO +} + +void MapHandler::who() +{ + // TODO +} + +void MapHandler::quit() +{ + // TODO +} + +void MapHandler::ping(int tick) +{ + // TODO +} + +} // namespace TmwServ -- cgit v1.2.3-70-g09d2