OpenMW
Public Member Functions
MWWorld::InventoryStoreListener Class Reference

Variant of the ContainerStore for NPCs. More...

#include <inventorystore.hpp>

List of all members.

Public Member Functions

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

Detailed Description

Variant of the ContainerStore for NPCs.


Member Function Documentation

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]
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: