mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
ffbc5bb62c
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.
23 lines
481 B
C++
23 lines
481 B
C++
#pragma once
|
|
|
|
#include "OneSixInstance.h"
|
|
|
|
class OneSixLibrary;
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
|
|
QObject *parent = 0);
|
|
virtual QString getStatusbarDescription();
|
|
virtual bool menuActionEnabled(QString action_name) const;
|
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
|
|
|
virtual QString id() const;
|
|
|
|
private:
|
|
std::shared_ptr<OneSixLibrary> m_forge;
|
|
};
|