mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
This fixes a couple of issues, such as Sapphire login breaking. This also makes it possible to wait out the login gate, instead of having to restart the launcher. The gate status check is also moved to the squareboot class for now.
23 lines
464 B
C++
23 lines
464 B
C++
#pragma once
|
|
|
|
#include "launchercore.h"
|
|
|
|
class SquareLauncher : public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
SquareLauncher(LauncherCore& window);
|
|
|
|
void getStored(const LoginInformation& info);
|
|
|
|
void login(const LoginInformation& info, QUrl referer);
|
|
|
|
void registerSession(const LoginInformation& info);
|
|
|
|
private:
|
|
QString getBootHash(const LoginInformation& info);
|
|
|
|
QString stored, SID, username;
|
|
LoginAuth auth;
|
|
|
|
LauncherCore& window;
|
|
};
|