86 const std::string &
restrict newPassword)
90 outMsg.writeStringNoLog(oldPassword, 24,
"old password");
91 outMsg.writeStringNoLog(newPassword, 24,
"new password");
95 const std::string &
restrict password,
104 "client protocol version");
109 "client protocol version");
111 outMsg.writeString(username, 24,
"login");
112 outMsg.writeStringNoLog(password, 24,
"password");
120 outMsg.writeInt8(0x03,
"flags");
146 const std::string &code
A_UNUSED)
const
bool connect(const ServerInfo &server)
const ServerInfo & getServer() const
virtual bool haveServerVersion() const =0
void sendLoginRegister(const std::string &username, const std::string &password, const std::string &email) const
ServerInfo * getCharServer() const A_CONST
void sendOtpCode(const std::string &code) const
static void requestUpdateHosts()
void changePassword(const std::string &oldPassword, const std::string &newPassword) const
void updatePacketVersion() const
void sendMobileCode(const BeingId accountId, const std::string &code) const
static Network * mInstance
#define CLIENT_PROTOCOL_VERSION
Net::LoginHandler * loginHandler
#define createOutPacket(name)
Net::ServerFeatures * serverFeatures
unsigned int tmwServerVersion