NOISSUE move version file reading and writing to dedicated namespaces
This commit is contained in:
parent
17ad1e64f8
commit
a0b47aee5b
16 changed files with 328 additions and 308 deletions
|
@ -19,11 +19,6 @@ typedef std::shared_ptr<VersionFile> VersionFilePtr;
|
|||
class VersionFile : public ProfilePatch
|
||||
{
|
||||
public: /* methods */
|
||||
static VersionFilePtr fromMojangJson(const QJsonDocument &doc, const QString &filename);
|
||||
static VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename,
|
||||
const bool requireOrder);
|
||||
virtual QJsonDocument toJson(bool saveOrder) override;
|
||||
|
||||
virtual void applyTo(MinecraftProfile *version) override;
|
||||
virtual bool isMinecraftVersion() override;
|
||||
virtual bool hasJarMods() override;
|
||||
|
@ -139,7 +134,6 @@ public: /* data */
|
|||
|
||||
/// asset group used by this ... thing.
|
||||
QString assets;
|
||||
int minimumLauncherVersion = -1;
|
||||
|
||||
bool shouldOverwriteTweakers = false;
|
||||
QStringList overwriteTweakers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue