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

A button press that caught no gem. More...

#include <stats.h>

Inheritance diagram for Stats::GemMissEvent:
Collaboration diagram for Stats::GemMissEvent:

Public Member Functions

 GemMissEvent (int nPlayer, int nTrack, int nGemTick, int nButtonTick, float fSlopMs)
 Construct the event.
 ~GemMissEvent () override
 Release the event.
String ToString () const override
 Format the player, the track, and the press, and the nearest gem when the slop is not 0.
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 button press that caught no gem.

The RTTI records the class as nested in Stats.

Constructor & Destructor Documentation

◆ GemMissEvent()

Stats::GemMissEvent::GemMissEvent ( int nPlayer,
int nTrack,
int nGemTick,
int nButtonTick,
float fSlopMs )
inline

Construct the event.

Parameters
nPlayerThe player.
nTrackThe track.
nGemTickThe tick of the nearest gem, or 0.
nButtonTickThe tick of the button press.
fSlopMsThe distance of the press from the nearest gem, or 0.

◆ ~GemMissEvent()

Stats::GemMissEvent::~GemMissEvent ( )
inlineoverride

Release the event.

Ghidra address:
NTSC-U/C: 0x003420a8
Ghidra address:
PAL: 0x003af5e0

Member Function Documentation

◆ ToString()

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

Format the player, the track, and the press, and the nearest gem when the slop is not 0.

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

Implements Stats::Event.


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