ManaPlus
|
#include <loginhandler.h>
Public Member Functions | |
LoginHandler () | |
~LoginHandler () | |
void | connect () const |
bool | isConnected () const |
void | disconnect () const |
unsigned int | getMaxPasswordLength () const |
void | changePassword (const std::string &oldPassword, const std::string &newPassword) const |
void | sendVersion () const |
ServerInfo * | getCharServer () const |
void | ping () const |
void | updatePacketVersion () const |
void | sendMobileCode (const BeingId accountId, const std::string &code) const |
void | sendOtpCode (const std::string &code) const |
Public Member Functions inherited from Ea::LoginHandler | |
bool | isRegistrationEnabled () const |
void | getRegistrationDetails () const |
void | loginAccount (LoginData *const loginData) const |
void | chooseServer (const unsigned int server, const bool persistentIp) const |
void | registerAccount (const LoginData *const loginData) const |
const Worlds & | getWorlds () const A_CONST |
void | clearWorlds () const |
const Token & | getToken () const A_CONST |
void | logout () const |
void | changeEmail (const std::string &email) const |
void | unregisterAccount (const std::string &username, const std::string &password) const |
void | loginOrRegister (LoginData *const data) const |
Public Member Functions inherited from Net::LoginHandler | |
void | setServer (const ServerInfo &server) |
const ServerInfo & | getServer () const |
virtual unsigned int | getMinUserNameLength () const |
virtual unsigned int | getMaxUserNameLength () const |
virtual unsigned int | getMinPasswordLength () const |
Private Member Functions | |
void | sendLoginRegister (const std::string &username, const std::string &password, const std::string &email) const |
Additional Inherited Members | |
Protected Member Functions inherited from Ea::LoginHandler | |
LoginHandler () | |
Protected Member Functions inherited from Net::LoginHandler | |
LoginHandler () | |
Protected Attributes inherited from Net::LoginHandler | |
ServerInfo | mServer |
Definition at line 32 of file loginhandler.h.
EAthena::LoginHandler::LoginHandler | ( | ) |
Definition at line 48 of file loginhandler.cpp.
References loginHandler.
|
virtual |
Reimplemented from Ea::LoginHandler.
Definition at line 54 of file loginhandler.cpp.
References loginHandler.
|
virtual |
Implements Net::LoginHandler.
Definition at line 93 of file loginhandler.cpp.
References createOutPacket, and serverVersion.
|
virtual |
Implements Net::LoginHandler.
Definition at line 59 of file loginhandler.cpp.
References client, Ea::Network::connect(), Client::getState(), Net::ServerFeatures::haveServerVersion(), State::LOGIN, EAthena::Network::mInstance, Net::LoginHandler::mServer, sendVersion(), serverFeatures, and Client::setState().
|
virtual |
Implements Net::LoginHandler.
Definition at line 84 of file loginhandler.cpp.
References Ea::Network::disconnect(), Net::LoginHandler::getServer(), EAthena::Network::mInstance, and Net::LoginHandler::mServer.
|
virtual |
Implements Ea::LoginHandler.
Definition at line 140 of file loginhandler.cpp.
References EAthena::charServer.
|
inlinevirtual |
Reimplemented from Ea::LoginHandler.
Definition at line 47 of file loginhandler.h.
|
virtual |
Implements Net::LoginHandler.
Definition at line 76 of file loginhandler.cpp.
References Ea::Network::isConnected(), and EAthena::Network::mInstance.
|
virtual |
Implements Net::LoginHandler.
Definition at line 156 of file loginhandler.cpp.
References createOutPacket.
|
privatevirtual |
Implements Ea::LoginHandler.
Definition at line 104 of file loginhandler.cpp.
References createOutPacket, ServerType::EATHENA, and Net::getNetworkType().
|
virtual |
Implements Net::LoginHandler.
Definition at line 172 of file loginhandler.cpp.
References createOutPacket, packetVersionMain, and packetVersionRe.
|
virtual |
Implements Net::LoginHandler.
Definition at line 186 of file loginhandler.cpp.
References createOutPacket, packets_zero, packetVersionMain, and packetVersionRe.
|
virtual |
Implements Net::LoginHandler.
Definition at line 145 of file loginhandler.cpp.
References CLIENT_PROTOCOL_VERSION, createOutPacket, Net::GeneralHandler::flushSend(), and generalHandler.
Referenced by connect().
|
virtual |
Implements Net::LoginHandler.
Definition at line 167 of file loginhandler.cpp.
References EAthena::updateProtocol().