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

The start or end of a scratch. More...

#include <stats.h>

Inheritance diagram for Stats::ScratchEvent:
Collaboration diagram for Stats::ScratchEvent:

Public Member Functions

 ScratchEvent (int nPlayer, int nTrack, int nTick, int nStart)
 Construct the event.
 ~ScratchEvent () override
 Release the event.
String ToString () const override
 Format the player, the track, the tick, and whether the scratch starts.
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

The start or end of a scratch.

The RTTI records the class as nested in Stats.

Constructor & Destructor Documentation

◆ ScratchEvent()

Stats::ScratchEvent::ScratchEvent ( int nPlayer,
int nTrack,
int nTick,
int nStart )
inline

Construct the event.

Parameters
nPlayerThe player.
nTrackThe track.
nTickThe song tick.
nStartNon-zero at the start of the scratch.

◆ ~ScratchEvent()

Stats::ScratchEvent::~ScratchEvent ( )
inlineoverride

Release the event.

Ghidra address:
NTSC-U/C: 0x00342a10
Ghidra address:
PAL: 0x003aff48

Member Function Documentation

◆ ToString()

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

Format the player, the track, the tick, and whether the scratch starts.

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

Implements Stats::Event.


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