diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-20 23:26:11 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-20 23:37:24 +0100 |
commit | b5963ec28aa76b1a19699a3d06247af93aae6bf5 (patch) | |
tree | 9a56c7408a8f3b7c66f785a775c93f793c934178 /src/net/loginhandler.h | |
parent | a05fad5acd9c0ff78a4ecd8bd213dd411b062f91 (diff) | |
download | mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.gz mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.bz2 mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.tar.xz mana-b5963ec28aa76b1a19699a3d06247af93aae6bf5.zip |
Renabled the dynamic updates
The update host can be optionally received from the server in a
succesful login response or register response message.
This change also merged Subversion commits 4425 and 4426:
........
r4425 | b_lindeijer | 2008-07-18 00:52:53 +0200 (Fri, 18 Jul 2008) | 3 lines
--
Added support for handling the custom eAthena packet that sends the update
host (patch by Sanga).
........
r4426 | b_lindeijer | 2008-07-18 01:08:17 +0200 (Fri, 18 Jul 2008) | 3 lines
--
Remove possible trailing slash at the end of the update host, since otherwise
there'll be two of them.
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r-- | src/net/loginhandler.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h index f557c97b..015d6383 100644 --- a/src/net/loginhandler.h +++ b/src/net/loginhandler.h @@ -24,12 +24,24 @@ #include "messagehandler.h" +class LoginData; + class LoginHandler : public MessageHandler { public: LoginHandler(); + void setLoginData(LoginData *loginData); + void handleMessage(MessageIn &msg); + + private: + void handleLoginResponse(MessageIn &msg); + void handleRegisterResponse(MessageIn &msg); + + void readUpdateHost(MessageIn &msg); + + LoginData *mLoginData; }; -#endif +#endif // _TMW_NET_LOGINHANDLER_H |