1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "MojangLogin.h" MojangLogin::MojangLogin( AccountData *data, QString password, QObject *parent ): AuthContext(data, parent), m_password(password) {} void MojangLogin::executeTask() { m_requestsDone = 0; m_xboxProfileSucceeded = false; m_mcAuthSucceeded = false; initMojang(); beginActivity(Katabasis::Activity::LoggingIn); m_yggdrasil->login(m_password); }