2015-01-27 21:31:07 +00:00
|
|
|
#pragma once
|
2015-02-09 00:51:14 +00:00
|
|
|
#include <minecraft/MinecraftVersion.h>
|
2015-01-27 21:31:07 +00:00
|
|
|
|
|
|
|
class FTBVersion : public BaseVersion
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FTBVersion(MinecraftVersionPtr parent) : m_version(parent){};
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual QString descriptor() override
|
|
|
|
{
|
|
|
|
return m_version->descriptor();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual QString name() override
|
|
|
|
{
|
|
|
|
return m_version->name();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual QString typeString() const override
|
|
|
|
{
|
|
|
|
return m_version->typeString();
|
|
|
|
}
|
|
|
|
|
|
|
|
MinecraftVersionPtr getMinecraftVersion()
|
|
|
|
{
|
|
|
|
return m_version;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
MinecraftVersionPtr m_version;
|
|
|
|
};
|