resonance 1.0.1
Loading...
Searching...
No Matches
MultiPowerbarMgr Class Reference

Powerbar source for multiplayer, dealing the powerbar the weighted table selects. More...

#include <multipowerbarmgr.h>

Inheritance diagram for MultiPowerbarMgr:
Collaboration diagram for MultiPowerbarMgr:

Public Member Functions

 MultiPowerbarMgr (PlayMap *pMap, PhraseDatabase *pDatabase, const TrackData *pTrackData, int nTrack)
 Deal powerbars from the weighted table, 6 to 11 bars apart.
Public Member Functions inherited from GamePowerbarMgr
 GamePowerbarMgr (PlayMap *pMap, PhraseDatabase *pDatabase, const TrackData *pTrackData, int bRandomKind, int nTrack, int bMultiplayer, int nMinGap, int nMaxGap)
 Size mBars to the last step of the play map and deal the powerbars.
virtual int GetPowerbar (int nBar)
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.

Detailed Description

Powerbar source for multiplayer, dealing the powerbar the weighted table selects.

It has GamePowerbarMgr as its one base and no further members. Its table is at 0x007e39a8. PhraseMgr creates one in every game mode other than 1.

The deleting destructor at 0x001c6440 is implicitly declared.

Constructor & Destructor Documentation

◆ MultiPowerbarMgr()

MultiPowerbarMgr::MultiPowerbarMgr ( PlayMap * pMap,
PhraseDatabase * pDatabase,
const TrackData * pTrackData,
int nTrack )

Deal powerbars from the weighted table, 6 to 11 bars apart.

Parameters
pMapThe play map.
pDatabaseThe phrase database of the track.
pTrackDataThe track description.
nTrackThe track's index.
Ghidra address:
NTSC-U/C: 0x001c62c0
Ghidra address:
PAL: 0x001cc108

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