summaryrefslogtreecommitdiff
path: root/src/game-server/gamehandler.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/gamehandler.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/gamehandler.hpp')
-rw-r--r--src/game-server/gamehandler.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/gamehandler.hpp b/src/game-server/gamehandler.hpp
index b3370348..e9d9fb20 100644
--- a/src/game-server/gamehandler.hpp
+++ b/src/game-server/gamehandler.hpp
@@ -81,6 +81,12 @@ class GameHandler: public ConnectionHandler
const std::string &address, int port);
/**
+ * Disconnect every player in case of losing the connection
+ * to the Account server.
+ */
+ void disconnectAll();
+
+ /**
* Updates the party id of the character
*/
void updateCharacter(int charid, int partyid);