summaryrefslogtreecommitdiff
path: root/src/net/ea/charserverhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/charserverhandler.h')
-rw-r--r--src/net/ea/charserverhandler.h8
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,