|
|
|
@ -9,6 +9,11 @@
|
|
|
|
|
|
|
|
|
|
#include "ptr.hpp"
|
|
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
|
{
|
|
|
|
|
struct ObjectState;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace Ogre
|
|
|
|
|
{
|
|
|
|
|
class Vector3;
|
|
|
|
@ -299,6 +304,14 @@ namespace MWWorld
|
|
|
|
|
|
|
|
|
|
virtual int getSkill(const MWWorld::Ptr& ptr, int skill) const;
|
|
|
|
|
|
|
|
|
|
virtual void readAdditionalState (const MWWorld::Ptr& ptr, const ESM::ObjectState& state)
|
|
|
|
|
const;
|
|
|
|
|
///< Read additional state from \a state into \a ptr.
|
|
|
|
|
|
|
|
|
|
virtual void writeAdditionalState (const MWWorld::Ptr& ptr, ESM::ObjectState& state)
|
|
|
|
|
const;
|
|
|
|
|
///< Write additional state from \a ptr into \a state.
|
|
|
|
|
|
|
|
|
|
static const Class& get (const std::string& key);
|
|
|
|
|
///< If there is no class for this \a key, an exception is thrown.
|
|
|
|
|
|
|
|
|
|