00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef NET_ACCOUNTSERVER_ACCOUNTSERVER_H
00023 #define NET_ACCOUNTSERVER_ACCOUNTSERVER_H
00024
00025 #include <iosfwd>
00026
00027 namespace Net
00028 {
00029 class Connection;
00030
00031 namespace AccountServer
00032 {
00033 void login(Net::Connection *connection, int version,
00034 const std::string &username, const std::string &password);
00035
00036 void registerAccount(Net::Connection *connection, int version,
00037 const std::string &username, const std::string &password,
00038 const std::string &email);
00039
00040 void logout();
00041
00042 void reconnectAccount(Net::Connection *connection,
00043 const std::string &passToken);
00044 }
00045 }
00046
00047 #endif