ManaPlus
|
#include <attributelistener.h>
Public Member Functions | |
virtual void | attributeChanged (const AttributesT id, const int64_t oldVal, const int64_t newVal)=0 |
AttributeListener () | |
virtual | ~ AttributeListener () |
Static Public Member Functions | |
static void | distributeEvent (const AttributesT id, const int64_t oldVal, const int64_t newVal) |
static void | addListener (AttributeListener *const listener) |
static void | removeListener (const AttributeListener *const listener) |
Static Private Attributes | |
static std::vector< AttributeListener * > | mListeners |
Definition at line 31 of file attributelistener.h.
AttributeListener::AttributeListener | ( | ) |
Definition at line 28 of file attributelistener.cpp.
|
virtual |
|
static |
Definition at line 28 of file attributelistener.cpp.
|
pure virtual |
Implemented in StatusWindow, MiniStatusWindow, KillStats, InventoryWindow, ChatWindow, StatsPageBasic, StatsPage, DialogsManager, and LocalPlayer.
|
static |
Definition at line 30 of file attributelistener.cpp.
References FOR_EACH, and anonymous_namespace{itemlinkhandler.cpp}::listener.
Referenced by PlayerInfo::triggerAttr().
|
static |
Definition at line 28 of file attributelistener.cpp.
|
staticprivate |
Definition at line 44 of file attributelistener.h.