Revert "Merge pull request #50 from bexnoss/offline-mode"
This reverts commitb4f750e7db
, reversing changes made tob19e315615
.
This commit is contained in:
parent
f55297eca9
commit
55597b458c
17 changed files with 3 additions and 383 deletions
|
@ -73,8 +73,6 @@ public: /* construction */
|
|||
|
||||
static MinecraftAccountPtr createBlankMSA();
|
||||
|
||||
static MinecraftAccountPtr createOffline(const QString &username);
|
||||
|
||||
static MinecraftAccountPtr loadFromJsonV2(const QJsonObject &json);
|
||||
static MinecraftAccountPtr loadFromJsonV3(const QJsonObject &json);
|
||||
|
||||
|
@ -91,8 +89,6 @@ public: /* manipulation */
|
|||
|
||||
shared_qobject_ptr<AccountTask> loginMSA();
|
||||
|
||||
shared_qobject_ptr<AccountTask> loginOffline();
|
||||
|
||||
shared_qobject_ptr<AccountTask> refresh();
|
||||
|
||||
shared_qobject_ptr<AccountTask> currentTask();
|
||||
|
@ -132,10 +128,6 @@ public: /* queries */
|
|||
return data.type == AccountType::MSA;
|
||||
}
|
||||
|
||||
bool isOffline() const {
|
||||
return data.type == AccountType::Offline;
|
||||
}
|
||||
|
||||
bool ownsMinecraft() const {
|
||||
return data.minecraftEntitlement.ownsMinecraft;
|
||||
}
|
||||
|
@ -157,10 +149,6 @@ public: /* queries */
|
|||
return "msa";
|
||||
}
|
||||
break;
|
||||
case AccountType::Offline: {
|
||||
return "offline";
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
return "unknown";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue