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

A player moving to another track. More...

#include <stats.h>

Inheritance diagram for Stats::ChangeTrackEvent:
Collaboration diagram for Stats::ChangeTrackEvent:

Public Member Functions

 ChangeTrackEvent (int nPlayer, int nOldTrack, int nTick, int nNewTrack)
 Construct the event.
 ~ChangeTrackEvent () override
 Release the event.
String ToString () const override
 Format the player, the two tracks, and the tick.
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 player moving to another track.

The RTTI records the class as nested in Stats.

Constructor & Destructor Documentation

◆ ChangeTrackEvent()

Stats::ChangeTrackEvent::ChangeTrackEvent ( int nPlayer,
int nOldTrack,
int nTick,
int nNewTrack )
inline

Construct the event.

Parameters
nPlayerThe player.
nOldTrackThe track the player left.
nTickThe song tick.
nNewTrackThe new track.

◆ ~ChangeTrackEvent()

Stats::ChangeTrackEvent::~ChangeTrackEvent ( )
inlineoverride

Release the event.

Ghidra address:
NTSC-U/C: 0x00342400
Ghidra address:
PAL: 0x003af938

Member Function Documentation

◆ ToString()

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

Format the player, the two tracks, and the tick.

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

Implements Stats::Event.


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