2015-04-03 15:25:16 +05:30
|
|
|
#pragma once
|
2016-02-28 00:28:40 +05:30
|
|
|
#include "minecraft/ProfileStrategy.h"
|
|
|
|
#include "minecraft/onesix/OneSixProfileStrategy.h"
|
2015-04-03 15:25:16 +05:30
|
|
|
|
|
|
|
class OneSixFTBInstance;
|
|
|
|
|
|
|
|
class FTBProfileStrategy : public OneSixProfileStrategy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FTBProfileStrategy(OneSixFTBInstance * instance);
|
|
|
|
virtual ~FTBProfileStrategy() {};
|
2017-08-07 04:16:29 +05:30
|
|
|
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 15:25:16 +05:30
|
|
|
|
|
|
|
protected:
|
2017-08-07 04:16:29 +05:30
|
|
|
void loadDefaultBuiltinPatches() override;
|
2015-04-03 15:25:16 +05:30
|
|
|
};
|