OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
MWWorld::InventoryStoreListener Class Reference

Variant of the ContainerStore for NPCs. More...

#include <inventorystore.hpp>

Inheritance diagram for MWWorld::InventoryStoreListener:
Collaboration diagram for MWWorld::InventoryStoreListener:

Public Member Functions

virtual void equipmentChanged ()
 
virtual void permanentEffectAdded (const ESM::MagicEffect *magicEffect, bool isNew)
 

Detailed Description

Variant of the ContainerStore for NPCs.

Member Function Documentation

virtual void MWWorld::InventoryStoreListener::equipmentChanged ( )
inlinevirtual

Fired when items are equipped or unequipped

Reimplemented in MWRender::CreatureWeaponAnimation, and MWRender::NpcAnimation.

virtual void MWWorld::InventoryStoreListener::permanentEffectAdded ( const ESM::MagicEffect magicEffect,
bool  isNew 
)
inlinevirtual
Parameters
effect
isNewIs 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.
playSoundPlay effect sound?

Reimplemented in MWRender::NpcAnimation.


The documentation for this class was generated from the following file: