2015-01-28 03:01:07 +05:30
|
|
|
#pragma once
|
2015-02-09 06:21:14 +05:30
|
|
|
#include <minecraft/MinecraftVersion.h>
|
2015-01-28 03:01:07 +05:30
|
|
|
|
|
|
|
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;
|
|
|
|
};
|