PrismLauncher/launcher/minecraft/auth/steps/OfflineStep.cpp

19 lines
409 B
C++
Raw Normal View History

2022-01-12 13:26:02 +00:00
#include "OfflineStep.h"
#include "Application.h"
2022-01-12 17:41:33 +00:00
OfflineStep::OfflineStep(AccountData* data) : AuthStep(data) {}
2022-01-12 13:26:02 +00:00
OfflineStep::~OfflineStep() noexcept = default;
QString OfflineStep::describe() {
return tr("Creating offline account.");
}
void OfflineStep::rehydrate() {
// NOOP
}
void OfflineStep::perform() {
emit finished(AccountTaskState::STATE_WORKING, tr("Created offline account."));
}