refactor: LaunchController

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-28 00:59:03 +05:00
parent ba325a6012
commit a9f3be9f45
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
13 changed files with 192 additions and 230 deletions

View file

@ -216,8 +216,7 @@ class Application : public QApplication {
public slots:
bool launch(BaseInstance* instance,
bool online = true,
bool demo = false,
LaunchMode mode = LaunchMode::Normal,
std::shared_ptr<MinecraftTarget> targetToJoin = nullptr,
shared_qobject_ptr<MinecraftAccount> accountToUse = nullptr,
const QString& offlineName = QString());
@ -311,7 +310,7 @@ class Application : public QApplication {
QString m_serverToJoin;
QString m_worldToJoin;
QString m_profileToUse;
bool m_offline = false;
bool m_launchOffline = false;
QString m_offlineName;
bool m_liveCheck = false;
QList<QUrl> m_urlsToImport;