mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-13 20:22:13 +00:00
Offline mode can be used even when online.
Allow the user to pick a player name for offline mode. Big auth refactor. Now using session objects instead of the accounts themselves. Sessions only last for one instance start and hold all the auth and player data.
This commit is contained in:
@@ -78,9 +78,9 @@ public:
|
||||
|
||||
void killMinecraft();
|
||||
|
||||
inline void setLogin(MojangAccountPtr account)
|
||||
inline void setLogin(AuthSessionPtr session)
|
||||
{
|
||||
m_account = account;
|
||||
m_session = session;
|
||||
}
|
||||
|
||||
signals:
|
||||
@@ -117,7 +117,7 @@ protected:
|
||||
QString m_out_leftover;
|
||||
QProcess m_prepostlaunchprocess;
|
||||
bool killed = false;
|
||||
MojangAccountPtr m_account;
|
||||
AuthSessionPtr m_session;
|
||||
QString launchScript;
|
||||
QString m_nativeFolder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user