From 2d12043f225263004b91e256e4b0d14c4842236e Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sat, 4 Feb 2006 16:54:35 +0000 Subject: Unify the various login dialogs to use LoginData. --- src/net/charserverhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/charserverhandler.h') diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h index 21178377..16d2c361 100644 --- a/src/net/charserverhandler.h +++ b/src/net/charserverhandler.h @@ -29,6 +29,7 @@ #include "../lockedarray.h" class LocalPlayer; +class LoginData; class CharServerHandler : public MessageHandler { @@ -39,7 +40,10 @@ class CharServerHandler : public MessageHandler void setCharInfo(LockedArray *charInfo) { mCharInfo = charInfo; }; + void setLoginData(LoginData *loginData) { mLoginData = loginData; }; + protected: + LoginData *mLoginData; LockedArray *mCharInfo; LocalPlayer* readPlayerData(MessageIn *msg, int &slot); -- cgit v1.2.3-70-g09d2