1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/apps/openmw/mwclass/itemlevlist.hpp
2022-08-16 21:15:03 +02:00

25 lines
657 B
C++

#ifndef GAME_MWCLASS_ITEMLEVLIST_H
#define GAME_MWCLASS_ITEMLEVLIST_H
#include "../mwworld/registeredclass.hpp"
namespace MWClass
{
class ItemLevList : public MWWorld::RegisteredClass<ItemLevList>
{
friend MWWorld::RegisteredClass<ItemLevList>;
ItemLevList();
public:
std::string_view getName(const MWWorld::ConstPtr& ptr) const override;
///< \return name or ID; can return an empty string.
bool hasToolTip (const MWWorld::ConstPtr& ptr) const override;
///< @return true if this object has a tooltip when focused (default implementation: true)
};
}
#endif