1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwclass/npc.hpp

24 lines
581 B
C++
Raw Normal View History

#ifndef GAME_MWCLASS_NPC_H
#define GAME_MWCLASS_NPC_H
2010-08-03 11:03:08 +00:00
#include "../mwworld/class.hpp"
2010-08-03 11:03:08 +00:00
namespace MWClass
2010-08-03 11:03:08 +00:00
{
class Npc : public MWWorld::Class
2010-08-03 11:03:08 +00:00
{
public:
2010-08-03 15:11:41 +00:00
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.
virtual MWMechanics::CreatureStats& getCreatureStats (const MWWorld::Ptr& ptr) const;
2010-08-03 11:03:08 +00:00
///< Return creature stats
static void registerSelf();
};
}
#endif