|
|
@ -140,7 +140,7 @@ namespace MWBase
|
|
|
|
/// Utility to check if taking this item is illegal and calling commitCrime if so
|
|
|
|
/// Utility to check if taking this item is illegal and calling commitCrime if so
|
|
|
|
/// @param container The container the item is in; may be empty for an item in the world
|
|
|
|
/// @param container The container the item is in; may be empty for an item in the world
|
|
|
|
virtual void itemTaken (const MWWorld::Ptr& ptr, const MWWorld::Ptr& item, const MWWorld::Ptr& container,
|
|
|
|
virtual void itemTaken (const MWWorld::Ptr& ptr, const MWWorld::Ptr& item, const MWWorld::Ptr& container,
|
|
|
|
int count) = 0;
|
|
|
|
int count, bool alarm = true) = 0;
|
|
|
|
/// Utility to check if opening (i.e. unlocking) this object is illegal and calling commitCrime if so
|
|
|
|
/// Utility to check if opening (i.e. unlocking) this object is illegal and calling commitCrime if so
|
|
|
|
virtual void objectOpened (const MWWorld::Ptr& ptr, const MWWorld::Ptr& item) = 0;
|
|
|
|
virtual void objectOpened (const MWWorld::Ptr& ptr, const MWWorld::Ptr& item) = 0;
|
|
|
|
/// Attempt sleeping in a bed. If this is illegal, call commitCrime.
|
|
|
|
/// Attempt sleeping in a bed. If this is illegal, call commitCrime.
|
|
|
@ -250,7 +250,6 @@ namespace MWBase
|
|
|
|
virtual void cleanupSummonedCreature(const MWWorld::Ptr& caster, int creatureActorId) = 0;
|
|
|
|
virtual void cleanupSummonedCreature(const MWWorld::Ptr& caster, int creatureActorId) = 0;
|
|
|
|
|
|
|
|
|
|
|
|
virtual void confiscateStolenItemToOwner(const MWWorld::Ptr &player, const MWWorld::Ptr &item, const MWWorld::Ptr& victim, int count) = 0;
|
|
|
|
virtual void confiscateStolenItemToOwner(const MWWorld::Ptr &player, const MWWorld::Ptr &item, const MWWorld::Ptr& victim, int count) = 0;
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool isAttackPrepairing(const MWWorld::Ptr& ptr) = 0;
|
|
|
|
virtual bool isAttackPrepairing(const MWWorld::Ptr& ptr) = 0;
|
|
|
|
virtual bool isRunning(const MWWorld::Ptr& ptr) = 0;
|
|
|
|
virtual bool isRunning(const MWWorld::Ptr& ptr) = 0;
|
|
|
|
virtual bool isSneaking(const MWWorld::Ptr& ptr) = 0;
|
|
|
|
virtual bool isSneaking(const MWWorld::Ptr& ptr) = 0;
|
|
|
|