NOISSUE rename MinecraftProfile to ComponentList

It is realistically a list of components. The fact that it also holds the final
launch parameters is a design bug.
This commit is contained in:
Petr Mrázek
2017-10-11 23:04:24 +02:00
parent 87edaa7dcd
commit fede712a26
21 changed files with 120 additions and 120 deletions

View File

@@ -5,7 +5,7 @@
#include "meta/Version.h"
#include "VersionFile.h"
#include "minecraft/MinecraftProfile.h"
#include "minecraft/ComponentList.h"
ProfilePatch::ProfilePatch(std::shared_ptr<Meta::Version> version)
:m_metaVersion(version)
@@ -22,7 +22,7 @@ std::shared_ptr<Meta::Version> ProfilePatch::getMeta()
return m_metaVersion;
}
void ProfilePatch::applyTo(MinecraftProfile* profile)
void ProfilePatch::applyTo(ComponentList* profile)
{
auto vfile = getVersionFile();
if(vfile)