diff options
Diffstat (limited to 'src/game-server/gamehandler.hpp')
-rw-r--r-- | src/game-server/gamehandler.hpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/game-server/gamehandler.hpp b/src/game-server/gamehandler.hpp index f07e1ac9..0f88c485 100644 --- a/src/game-server/gamehandler.hpp +++ b/src/game-server/gamehandler.hpp @@ -55,10 +55,6 @@ class GameHandler: public ConnectionHandler * Constructor */ GameHandler(); - /** - * Processes messages and cleans outdated characters. - */ - void process(); /** * Starts the handler @@ -87,13 +83,13 @@ class GameHandler: public ConnectionHandler std::string const &address, int port); /** - * Map of character's and their id used for getting which character to - * forward account server messages back to. + * Registers a character that should soon be claimed by a client. + * @param token token used by the client when connecting. */ - // std::map<int, Character*> messageMap; + void addPendingCharacter(std::string const &token, Character *); /** - * Combines a client with it's character. + * Combines a client with its character. * (Needed for TokenCollector) */ void |