mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
6b74630f6e
Phase out canBeActivated() to unify activation checks Use getName() for the name caption in tooltips Always use tooltips for non-activator objects Invert hasTooltip default value
25 lines
481 B
C++
25 lines
481 B
C++
#include "itemlevlist.hpp"
|
|
|
|
#include <components/esm/loadlevlist.hpp>
|
|
|
|
namespace MWClass
|
|
{
|
|
|
|
std::string ItemLevList::getName (const MWWorld::ConstPtr& ptr) const
|
|
{
|
|
return "";
|
|
}
|
|
|
|
bool ItemLevList::hasToolTip(const MWWorld::ConstPtr& ptr) const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void ItemLevList::registerSelf()
|
|
{
|
|
std::shared_ptr<Class> instance (new ItemLevList);
|
|
|
|
registerClass (typeid (ESM::ItemLevList).name(), instance);
|
|
}
|
|
}
|