2015-04-03 15:25:16 +05:30
|
|
|
#pragma once
|
|
|
|
#include "../minecraft/ProfileStrategy.h"
|
|
|
|
#include "../minecraft/OneSixProfileStrategy.h"
|
|
|
|
|
|
|
|
class OneSixFTBInstance;
|
|
|
|
|
|
|
|
class FTBProfileStrategy : public OneSixProfileStrategy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FTBProfileStrategy(OneSixFTBInstance * instance);
|
|
|
|
virtual ~FTBProfileStrategy() {};
|
|
|
|
virtual void load() override;
|
|
|
|
virtual bool resetOrder() override;
|
|
|
|
virtual bool saveOrder(ProfileUtils::PatchOrder order) override;
|
|
|
|
virtual bool installJarMods(QStringList filepaths) override;
|
2015-05-18 03:08:28 +05:30
|
|
|
virtual bool customizePatch (ProfilePatchPtr patch) override;
|
|
|
|
virtual bool revertPatch (ProfilePatchPtr patch) override;
|
2015-04-03 15:25:16 +05:30
|
|
|
|
|
|
|
protected:
|
|
|
|
void loadDefaultBuiltinPatches();
|
|
|
|
void loadUserPatches();
|
|
|
|
};
|