summaryrefslogtreecommitdiff
path: root/src/messagehandler.h
diff options
context:
space:
mode:
authorKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-03-23 03:52:06 +0000
committerKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-03-23 03:52:06 +0000
commit97024b3b51a3d9e2daf2832fe8598b38b6670cab (patch)
treea1760106930633b195a95f700306c14b0d04ef77 /src/messagehandler.h
parent4a20e71c66c0b7bbdd73ab26b3ca8c0d7f4c8b64 (diff)
downloadmanaserv-97024b3b51a3d9e2daf2832fe8598b38b6670cab.tar.gz
manaserv-97024b3b51a3d9e2daf2832fe8598b38b6670cab.tar.bz2
manaserv-97024b3b51a3d9e2daf2832fe8598b38b6670cab.tar.xz
manaserv-97024b3b51a3d9e2daf2832fe8598b38b6670cab.zip
added the account handler and a definition file to keep track of structures and such. I need some more information about how exactly the message handler interfaces are intended to work with the connection handler, as well as what things users will each have to themselves, and which things they will all share as far as message processing goes.
Diffstat (limited to 'src/messagehandler.h')
-rw-r--r--src/messagehandler.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/messagehandler.h b/src/messagehandler.h
index 16f5251e..f838c60a 100644
--- a/src/messagehandler.h
+++ b/src/messagehandler.h
@@ -41,23 +41,8 @@ class MessageHandler
* to an ID this message handler registered to handle.
*/
virtual void receiveMessage(
- NetComputer *computer, MessageIn &message) = 0;
+ NetComputer &computer, MessageIn &message) = 0;
- // To be moved to "AccountHandler"
- /**
- * Accepts a login message and interprets it, assigning the proper
- * login
- * Preconditions: The requested handle is not logged in already.
- * The requested handle exists.
- * The requested handle is not banned or restricted.
- * The character profile is valid
- * Postconditions: The player recieves access through a character in
- * the world.
- * Return Value: SUCCESS if the player was successfully assigned the
- * requested char, ERROR on early termination of the
- * routine.
- */
- int loginMessage(NetComputer *computer, MessageIn &message);
};
#endif