summaryrefslogtreecommitdiff
path: root/src/game-server/mapmanager.hpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-07-20 17:46:18 -0400
committerChuck Miller <shadowmil@gmail.com>2009-07-20 17:46:18 -0400
commit575282d29ac181c990dc76de48c68d86ebd64efe (patch)
tree71430be3751dc84dbf5681f668099efec09cbcb6 /src/game-server/mapmanager.hpp
parent5c3f23831986dda46d1c41b8316dd901f1bf3164 (diff)
downloadmanaserv-575282d29ac181c990dc76de48c68d86ebd64efe.tar.gz
manaserv-575282d29ac181c990dc76de48c68d86ebd64efe.tar.bz2
manaserv-575282d29ac181c990dc76de48c68d86ebd64efe.tar.xz
manaserv-575282d29ac181c990dc76de48c68d86ebd64efe.zip
Have the game server reconnect with the account-server if account-server is restarted
Diffstat (limited to 'src/game-server/mapmanager.hpp')
-rw-r--r--src/game-server/mapmanager.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game-server/mapmanager.hpp b/src/game-server/mapmanager.hpp
index 23675974..5abdd78f 100644
--- a/src/game-server/mapmanager.hpp
+++ b/src/game-server/mapmanager.hpp
@@ -34,7 +34,7 @@ namespace MapManager
/**
* Loads map reference file and prepares maps.
*/
- void initialize(const std::string &mapReferenceFile);
+ unsigned int initialize(const std::string &mapReferenceFile);
/**
* Destroy loaded maps.
@@ -60,8 +60,9 @@ namespace MapManager
/**
* Sets the activity status of the map.
+ * @return true if the activation was successful.
*/
- void raiseActive(int mapId);
+ bool raiseActive(int mapId);
}
#endif