|
OpenMW
|
Variant of the ContainerStore for NPCs. More...
#include <inventorystore.hpp>
Public Member Functions | |
| virtual void | equipmentChanged () |
| virtual void | permanentEffectAdded (const ESM::MagicEffect *magicEffect, bool isNew, bool playSound) |
Variant of the ContainerStore for NPCs.
| virtual void MWWorld::InventoryStoreListener::equipmentChanged | ( | ) | [inline, virtual] |
Fired when items are equipped or unequipped
Reimplemented in MWRender::NpcAnimation.
| virtual void MWWorld::InventoryStoreListener::permanentEffectAdded | ( | const ESM::MagicEffect * | magicEffect, |
| bool | isNew, | ||
| bool | playSound | ||
| ) | [inline, virtual] |
| effect | |
| isNew | Is this effect new (e.g. the item for it was just now manually equipped) or was it loaded from a savegame / initial game state? If it isn't new, non-looping VFX should not be played. |
| playSound | Play effect sound? |
Reimplemented in MWRender::NpcAnimation.
1.7.6.1