|
resonance 1.0.1
|
Source of the powerbar a bar of one track awards when its phrase is caught. More...
#include <powerbarmgr.h>


Public Member Functions | |
| virtual int | GetPowerbar (int nBar)=0 |
| Report the powerbar a bar awards. | |
| Public Member Functions inherited from MsgSource | |
| virtual | ~MsgSource () |
| virtual void | AddSink (MsgSink *pSink) |
| Register a sink, ignoring a sink that is already registered. | |
| virtual void | RemoveSink (MsgSink *pSink) |
| Unregister the first occurrence of a sink. | |
| void | Send (Message *pMsg) const |
| Deliver a message to every registered sink, in registration order. | |
| void | ClearSinks () |
| Unregister every sink. | |
Additional Inherited Members | |
| Public Attributes inherited from MsgSource | |
| int | mGraphBuilt |
| A word no member of this class reads. | |
Source of the powerbar a bar of one track awards when its phrase is caught.
It has MsgSource as its one base at offset 0 and no further members. The object is the 0x14-byte MsgSource subobject. Its table at 0x007e2c70 retains MsgSource's AddSink() and RemoveSink() and adds GetPowerbar() at slot 4. Slot 4 addresses the shared pure-virtual stub.
PhraseMgr creates the one it keeps at +0x2c, and PhraseMgr::GetPowerbar() forwards to it.
The constructor and the destructor are implicitly declared. The constructor is emitted at 0x001c0680 in PhraseMgr's unit and again at 0x001c6058 in GamePowerbarMgr's, and the deleting destructor likewise at 0x001c0848 and 0x001c6390.
|
pure virtual |
Report the powerbar a bar awards.
| nBar | The bar, already mapped through the play map. |
Implemented in GamePowerbarMgr, and JamPowerbarMgr.