1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 01:45:33 +00:00
openmw-tes3mp/apps/openmw/mwclass/npc.hpp

27 lines
716 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
virtual std::string getScript (const MWWorld::Ptr& ptr) const;
///< Return name of the script attached to ptr
2010-08-03 11:03:08 +00:00
static void registerSelf();
};
}
#endif