2015-04-03 10:55:16 +01:00
|
|
|
#pragma once
|
2016-02-27 18:58:40 +00:00
|
|
|
#include "minecraft/ProfileStrategy.h"
|
|
|
|
#include "minecraft/onesix/OneSixProfileStrategy.h"
|
2015-04-03 10:55:16 +01:00
|
|
|
|
|
|
|
class OneSixFTBInstance;
|
|
|
|
|
|
|
|
class FTBProfileStrategy : public OneSixProfileStrategy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FTBProfileStrategy(OneSixFTBInstance * instance);
|
|
|
|
virtual ~FTBProfileStrategy() {};
|
2017-08-06 23:46:29 +01:00
|
|
|
void load() override;
|
|
|
|
bool resetOrder() override;
|
|
|
|
bool saveOrder(ProfileUtils::PatchOrder order) override;
|
|
|
|
bool installJarMods(QStringList filepaths) override;
|
|
|
|
bool installCustomJar(QString filepath) override;
|
|
|
|
bool customizePatch (ProfilePatchPtr patch) override;
|
|
|
|
bool revertPatch (ProfilePatchPtr patch) override;
|
2015-04-03 10:55:16 +01:00
|
|
|
|
|
|
|
protected:
|
2017-08-06 23:46:29 +01:00
|
|
|
void loadDefaultBuiltinPatches() override;
|
2015-04-03 10:55:16 +01:00
|
|
|
};
|