From 743af4769ee59b5830d79139852dda0679b28a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 17 May 2015 23:38:28 +0200 Subject: GH-952 Hardcore version page tweakery Version patches get a lot of new flags that determine which actions are allowed Version page respects the flags Customize, revert and edit for version patches Builting patches can be customized --- logic/minecraft/ProfileStrategy.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'logic/minecraft/ProfileStrategy.h') diff --git a/logic/minecraft/ProfileStrategy.h b/logic/minecraft/ProfileStrategy.h index 364458f5..b4dfc4b3 100644 --- a/logic/minecraft/ProfileStrategy.h +++ b/logic/minecraft/ProfileStrategy.h @@ -25,6 +25,11 @@ public: /// remove any files or records that constitute the version patch virtual bool removePatch(ProfilePatchPtr jarMod) = 0; + /// make the patch custom, if possible + virtual bool customizePatch(ProfilePatchPtr patch) = 0; + + /// revert the custom patch to 'vanilla', if possible + virtual bool revertPatch(ProfilePatchPtr patch) = 0; protected: MinecraftProfile *profile; }; -- cgit v1.2.3