From ac66bddeda955db5e81077ddd2116e8ae51edf52 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 25 Apr 2022 21:55:00 +0200 Subject: Merge pull request #482 from TheCodex6824/mojang-auth-fix --- .../auth/steps/MinecraftProfileStepMojang.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h (limited to 'launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h') diff --git a/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h b/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h new file mode 100644 index 00000000..e06b30ab --- /dev/null +++ b/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h @@ -0,0 +1,22 @@ +#pragma once +#include + +#include "QObjectPtr.h" +#include "minecraft/auth/AuthStep.h" + + +class MinecraftProfileStepMojang : public AuthStep { + Q_OBJECT + +public: + explicit MinecraftProfileStepMojang(AccountData *data); + virtual ~MinecraftProfileStepMojang() noexcept; + + void perform() override; + void rehydrate() override; + + QString describe() override; + +private slots: + void onRequestDone(QNetworkReply::NetworkError, QByteArray, QList); +}; -- cgit