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