mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 12:10:00 +00:00
Introducing VersionPatch base class for version files and minecraft versions
This commit is contained in:
15
logic/minecraft/VersionPatch.h
Normal file
15
logic/minecraft/VersionPatch.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
class VersionFinal;
|
||||
class VersionPatch
|
||||
{
|
||||
public:
|
||||
virtual ~VersionPatch(){};
|
||||
virtual void applyTo(VersionFinal *version) = 0;
|
||||
virtual bool isVanilla() = 0;
|
||||
virtual bool hasJarMods() = 0;
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<VersionPatch> VersionPatchPtr;
|
||||
Reference in New Issue
Block a user