forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
510 B
C++
25 lines
510 B
C++
|
|
#include "itemlevlist.hpp"
|
|
|
|
#include <components/esm/loadlevlist.hpp>
|
|
|
|
namespace MWClass
|
|
{
|
|
std::string ItemLevList::getId (const MWWorld::Ptr& ptr) const
|
|
{
|
|
return ptr.get<ESM::ItemLevList>()->mBase->mId;
|
|
}
|
|
|
|
std::string ItemLevList::getName (const MWWorld::Ptr& ptr) const
|
|
{
|
|
return "";
|
|
}
|
|
|
|
void ItemLevList::registerSelf()
|
|
{
|
|
boost::shared_ptr<Class> instance (new ItemLevList);
|
|
|
|
registerClass (typeid (ESM::ItemLevList).name(), instance);
|
|
}
|
|
}
|