24 #ifndef NET_LOGINHANDLER_H
25 #define NET_LOGINHANDLER_H
78 const std::string &
restrict newPassword)
82 const bool persistentIp)
const = 0;
88 const std::string &password)
const = 0;
98 virtual
void ping() const = 0;
103 const
std::
string &code) const = 0;
virtual void chooseServer(unsigned int server, const bool persistentIp) const =0
virtual unsigned int getMinUserNameLength() const
virtual void logout() const =0
virtual void updatePacketVersion() const =0
virtual void getRegistrationDetails() const =0
virtual void loginOrRegister(LoginData *const data) const =0
void setServer(const ServerInfo &server)
virtual unsigned int getMaxPasswordLength() const
virtual void sendOtpCode(const std::string &code) const =0
virtual void connect() const =0
virtual void disconnect() const =0
virtual void clearWorlds() const =0
virtual void ping() const =0
virtual bool isConnected() const =0
virtual const Worlds & getWorlds() const =0
virtual void changeEmail(const std::string &email) const =0
virtual unsigned int getMaxUserNameLength() const
virtual bool isRegistrationEnabled() const =0
virtual unsigned int getMinPasswordLength() const
virtual void changePassword(const std::string &oldPassword, const std::string &newPassword) const =0
virtual void loginAccount(LoginData *const loginData) const =0
virtual void sendMobileCode(const BeingId accountId, const std::string &code) const =0
virtual void sendVersion() const =0
virtual void unregisterAccount(const std::string &username, const std::string &password) const =0
const ServerInfo & getServer() const
virtual void registerAccount(const LoginData *const loginData) const =0
#define A_DELETE_COPY(func)
Net::LoginHandler * loginHandler
std::vector< WorldInfo * > Worlds