diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-07 15:10:13 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-07 15:10:13 -0600 |
commit | 3e8ed12a530426b3c649922452f42d9a2b2a8d89 (patch) | |
tree | b8a36133854f772438144529d68dfb657e06fa4f /src/net/ea/charserverhandler.h | |
parent | 9eebc7ddac10c6c7f483bfd1003db79e61438bff (diff) | |
download | mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.gz mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.bz2 mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.tar.xz mana-3e8ed12a530426b3c649922452f42d9a2b2a8d89.zip |
Make GeneralHandlers for both networks
Also make Net::LogoutHandler
Diffstat (limited to 'src/net/ea/charserverhandler.h')
-rw-r--r-- | src/net/ea/charserverhandler.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h index 48392ac4..3ebac16e 100644 --- a/src/net/ea/charserverhandler.h +++ b/src/net/ea/charserverhandler.h @@ -25,9 +25,6 @@ #include "net/messagehandler.h" #include "net/charhandler.h" -#include "lockedarray.h" - -class LocalPlayer; class LoginData; namespace EAthena { @@ -45,9 +42,6 @@ class CharServerHandler : public MessageHandler, public Net::CharHandler void setCharInfo(LockedArray<LocalPlayer*> *charInfo) { mCharInfo = charInfo; } - void setLoginData(LoginData *loginData) - { mLoginData = loginData; } - /** * Sets the character create dialog. The handler will clean up this * dialog when a new character is succesfully created, and will unlock @@ -55,6 +49,8 @@ class CharServerHandler : public MessageHandler, public Net::CharHandler */ void setCharCreateDialog(CharCreateDialog *window); + void connect(LoginData *loginData); + void chooseCharacter(int slot, LocalPlayer* character); void newCharacter(const std::string &name, int slot, bool gender, |