2010-08-03 13:24:44 +00:00
|
|
|
|
|
|
|
#include "itemlevlist.hpp"
|
|
|
|
|
|
|
|
#include <components/esm/loadlevlist.hpp>
|
|
|
|
|
|
|
|
namespace MWClass
|
|
|
|
{
|
2014-07-18 07:56:58 +00:00
|
|
|
std::string ItemLevList::getId (const MWWorld::Ptr& ptr) const
|
|
|
|
{
|
|
|
|
return ptr.get<ESM::ItemLevList>()->mBase->mId;
|
|
|
|
}
|
|
|
|
|
2010-08-03 15:11:41 +00:00
|
|
|
std::string ItemLevList::getName (const MWWorld::Ptr& ptr) const
|
|
|
|
{
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2010-08-03 13:24:44 +00:00
|
|
|
void ItemLevList::registerSelf()
|
|
|
|
{
|
2015-07-07 18:20:08 +00:00
|
|
|
std::shared_ptr<Class> instance (new ItemLevList);
|
2010-08-03 13:24:44 +00:00
|
|
|
|
|
|
|
registerClass (typeid (ESM::ItemLevList).name(), instance);
|
|
|
|
}
|
|
|
|
}
|