2021-12-04 00:18:05 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include "QObjectPtr.h"
|
|
|
|
#include "minecraft/auth/AuthStep.h"
|
|
|
|
|
|
|
|
class GetSkinStep : public AuthStep {
|
|
|
|
Q_OBJECT
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
public:
|
|
|
|
explicit GetSkinStep(AccountData* data);
|
2021-12-04 00:18:05 +00:00
|
|
|
virtual ~GetSkinStep() noexcept;
|
|
|
|
|
|
|
|
void perform() override;
|
|
|
|
void rehydrate() override;
|
|
|
|
|
|
|
|
QString describe() override;
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
private slots:
|
2021-12-04 00:18:05 +00:00
|
|
|
void onRequestDone(QNetworkReply::NetworkError, QByteArray, QList<QNetworkReply::RawHeaderPair>);
|
|
|
|
};
|