mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-10-06 15:00:08 +00:00
15 lines
393 B
C++
15 lines
393 B
C++
|
#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);
|
||
|
}
|