mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
Yes it's finally here! It's been tested to update the game from the base 2012 version all the way up to patch 6.18. This also works across all expansions, and the previous boot patches that were supported before. However, the patcher dialog is in need of an update, as patching happens on the same thread so the entire application freezes.
26 lines
518 B
C++
26 lines
518 B
C++
#pragma once
|
|
|
|
#include "launchercore.h"
|
|
#include "patcher.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);
|
|
|
|
Patcher* patcher = nullptr;
|
|
|
|
QString stored, SID, username;
|
|
LoginAuth auth;
|
|
|
|
LauncherCore& window;
|
|
};
|