wavelength 1.0.0
Loading...
Searching...
No Matches
Stats::CatchPowerupEvent Class Reference

A power-up caught by a player. More...

#include <stats.h>

Inheritance diagram for Stats::CatchPowerupEvent:
Collaboration diagram for Stats::CatchPowerupEvent:

Public Member Functions

 CatchPowerupEvent (int nPlayer, int nTick, int nType)
 Construct the event.
 ~CatchPowerupEvent () override
 Release the event.
String ToString () const override
 Format the player, the tick, and the kind of power-up.
Public Member Functions inherited from Stats::Event
 Event (const char *pszName)
 Construct an event.
virtual ~Event ()
 Release the event.
const char * GetName () const

Detailed Description

A power-up caught by a player.

The RTTI records the class as nested in Stats.

Constructor & Destructor Documentation

◆ CatchPowerupEvent()

Stats::CatchPowerupEvent::CatchPowerupEvent ( int nPlayer,
int nTick,
int nType )
inline

Construct the event.

Parameters
nPlayerThe player.
nTickThe song tick.
nTypeThe kind of power-up.

◆ ~CatchPowerupEvent()

Stats::CatchPowerupEvent::~CatchPowerupEvent ( )
inlineoverride

Release the event.

Ghidra address:
NTSC-U/C: 0x00342bc8
Ghidra address:
PAL: 0x003b0100

Member Function Documentation

◆ ToString()

String Stats::CatchPowerupEvent::ToString ( ) const
overridevirtual

Format the player, the tick, and the kind of power-up.

Returns
The fields as text.
Ghidra address:
NTSC-U/C: 0x00342c48
Ghidra address:
PAL: 0x003b0180

Implements Stats::Event.


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