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
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user