26 lines
800 B
C++
26 lines
800 B
C++
|
#include "Custom.h"
|
||
|
|
||
|
#include "minecraft/auth/steps/CustomStep.h"
|
||
|
#include "minecraft/auth/steps/CustomProfileStep.h"
|
||
|
#include "minecraft/auth/steps/GetSkinStep.h"
|
||
|
|
||
|
customRefresh::customRefresh(
|
||
|
AccountData *data,
|
||
|
QObject *parent
|
||
|
) : AuthFlow(data, parent) {
|
||
|
m_steps.append(makeShared<CustomStep>(m_data, QString()));
|
||
|
m_steps.append(makeShared<CustomProfileStep>(m_data));
|
||
|
m_steps.append(makeShared<GetSkinStep>(m_data));
|
||
|
}
|
||
|
|
||
|
customLogin::customLogin(
|
||
|
AccountData *data,
|
||
|
QString password,
|
||
|
QString url,
|
||
|
QObject *parent
|
||
|
): AuthFlow(data, parent), m_password(password), m_url(url) {
|
||
|
m_steps.append(makeShared<CustomStep>(m_data, m_password, m_url));
|
||
|
m_steps.append(makeShared<CustomProfileStep>(m_data));
|
||
|
m_steps.append(makeShared<GetSkinStep>(m_data));
|
||
|
}
|