Add Ely.by accounts (#17)

* Initial Ely.by support

* Fix profile pictures for Ely.by

* Disable upload and delete skin buttons for Ely.by accounts

* Port UltimMC's authlib injector to PollyMC
This commit is contained in:
fn2006
2022-08-07 18:38:53 +01:00
committed by Fintan Martin
parent 050ee33132
commit 0170e8b177
26 changed files with 871 additions and 17 deletions

View File

@@ -0,0 +1,24 @@
#include "Elyby.h"
#include "minecraft/auth/steps/ElybyStep.h"
#include "minecraft/auth/steps/ElybyProfileStep.h"
#include "minecraft/auth/steps/GetSkinStep.h"
ElybyRefresh::ElybyRefresh(
AccountData *data,
QObject *parent
) : AuthFlow(data, parent) {
m_steps.append(new ElybyStep(m_data, QString()));
m_steps.append(new ElybyProfileStep(m_data));
m_steps.append(new GetSkinStep(m_data));
}
ElybyLogin::ElybyLogin(
AccountData *data,
QString password,
QObject *parent
): AuthFlow(data, parent), m_password(password) {
m_steps.append(new ElybyStep(m_data, m_password));
m_steps.append(new ElybyProfileStep(m_data));
m_steps.append(new GetSkinStep(m_data));
}