#include "clothing.hpp" #include #include #include "../mwworld/ptr.hpp" namespace MWClass { std::string Clothing::getName (const MWWorld::Ptr& ptr) const { ESMS::LiveCellRef *ref = ptr.get(); return ref->base->name; } std::string Clothing::getScript (const MWWorld::Ptr& ptr) const { ESMS::LiveCellRef *ref = ptr.get(); return ref->base->script; } void Clothing::registerSelf() { boost::shared_ptr instance (new Clothing); registerClass (typeid (ESM::Clothing).name(), instance); } }