diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-15 02:52:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-15 02:52:07 +0300 |
commit | 34e386d0c2d4ae844d50185f70bba945960bad62 (patch) | |
tree | 96b2d1e4ab38dbc7b061006c3d3382f35af4a739 /src/net/manaserv | |
parent | 47f0e16e34cf22701b7c0670297bb7288a55310d (diff) | |
download | manaverse-34e386d0c2d4ae844d50185f70bba945960bad62.tar.gz manaverse-34e386d0c2d4ae844d50185f70bba945960bad62.tar.bz2 manaverse-34e386d0c2d4ae844d50185f70bba945960bad62.tar.xz manaverse-34e386d0c2d4ae844d50185f70bba945960bad62.zip |
Add warp menu item for gms in navigation items.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/adminhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/manaserv/adminhandler.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/manaserv/adminhandler.cpp b/src/net/manaserv/adminhandler.cpp index 72e7c7ca8..2c76e99a3 100644 --- a/src/net/manaserv/adminhandler.cpp +++ b/src/net/manaserv/adminhandler.cpp @@ -91,4 +91,9 @@ void AdminHandler::mute(int playerId A_UNUSED, int type A_UNUSED, // TODO } +void AdminHandler::warp(std::string map, int x, int y) +{ + // TODO +} + } // namespace ManaServ diff --git a/src/net/manaserv/adminhandler.h b/src/net/manaserv/adminhandler.h index a91841085..65e9ea2b0 100644 --- a/src/net/manaserv/adminhandler.h +++ b/src/net/manaserv/adminhandler.h @@ -58,6 +58,8 @@ class AdminHandler : public Net::AdminHandler void unban(const std::string &name); void mute(int playerId, int type, int limit); + + void warp(std::string map, int x, int y); }; } // namespace ManaServ |