diff options
author | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-23 19:18:28 +0000 |
---|---|---|
committer | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-23 19:18:28 +0000 |
commit | 775404c84c3250225d43f10c4a5363e997618cb2 (patch) | |
tree | 38393287d1554d8e19471f24bc65525c79efeccb /src/net/accountserver/account.cpp | |
parent | fee8461a594770f8ef2bd826868a4ae81270a666 (diff) | |
download | mana-client-775404c84c3250225d43f10c4a5363e997618cb2.tar.gz mana-client-775404c84c3250225d43f10c4a5363e997618cb2.tar.bz2 mana-client-775404c84c3250225d43f10c4a5363e997618cb2.tar.xz mana-client-775404c84c3250225d43f10c4a5363e997618cb2.zip |
Added unregistering, logout_then_exit, switch_character and switch_accountserver.
Diffstat (limited to 'src/net/accountserver/account.cpp')
-rw-r--r-- | src/net/accountserver/account.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net/accountserver/account.cpp b/src/net/accountserver/account.cpp index daf94a65..16f81f44 100644 --- a/src/net/accountserver/account.cpp +++ b/src/net/accountserver/account.cpp @@ -68,9 +68,14 @@ void Net::AccountServer::Account::selectCharacter(char slot) Net::AccountServer::connection->send(msg); } -void Net::AccountServer::Account::unregister() +void Net::AccountServer::Account::unregister(const std::string &username, + const std::string &password) { MessageOut msg(PAMSG_UNREGISTER); + + msg.writeString(username); + msg.writeString(password); + Net::AccountServer::connection->send(msg); } |