mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
26 lines
731 B
C++
26 lines
731 B
C++
#ifndef GAME_MWCLASS_CREATURELEVLIST_H
|
|
#define GAME_MWCLASS_CREATURELEVLIST_H
|
|
|
|
#include "../mwworld/class.hpp"
|
|
|
|
namespace MWClass
|
|
{
|
|
class CreatureLevList : public MWWorld::Class
|
|
{
|
|
void ensureCustomData (const MWWorld::Ptr& ptr) const;
|
|
|
|
public:
|
|
|
|
virtual std::string getName (const MWWorld::Ptr& ptr) const;
|
|
///< \return name (the one that is to be presented to the user; not the internal one);
|
|
/// can return an empty string.
|
|
|
|
static void registerSelf();
|
|
|
|
virtual void insertObjectRendering (const MWWorld::Ptr& ptr, MWRender::RenderingInterface& renderingInterface) const;
|
|
///< Add reference into a cell for rendering
|
|
};
|
|
}
|
|
|
|
#endif
|