1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00
OpenMW/apps/openmw/mwclass/itemlevlist.hpp

24 lines
627 B
C++
Raw Normal View History

2010-08-03 15:24:44 +02:00
#ifndef GAME_MWCLASS_ITEMLEVLIST_H
#define GAME_MWCLASS_ITEMLEVLIST_H
2022-04-04 02:44:53 +02:00
#include "../mwworld/registeredclass.hpp"
2010-08-03 15:24:44 +02:00
namespace MWClass
{
2022-04-04 02:44:53 +02:00
class ItemLevList : public MWWorld::RegisteredClass<ItemLevList>
2010-08-03 15:24:44 +02:00
{
2022-09-22 21:26:05 +03:00
friend MWWorld::RegisteredClass<ItemLevList>;
2022-04-04 02:44:53 +02:00
2022-09-22 21:26:05 +03:00
ItemLevList();
2022-04-04 02:44:53 +02:00
2022-09-22 21:26:05 +03:00
public:
std::string_view getName(const MWWorld::ConstPtr& ptr) const override;
///< \return name or ID; can return an empty string.
2010-08-03 15:24:44 +02:00
2022-09-22 21:26:05 +03:00
bool hasToolTip(const MWWorld::ConstPtr& ptr) const override;
///< @return true if this object has a tooltip when focused (default implementation: true)
2010-08-03 15:24:44 +02:00
};
}
#endif