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

A gem caught by a player. More...

#include <stats.h>

Inheritance diagram for Stats::GemHitEvent:
Collaboration diagram for Stats::GemHitEvent:

Public Member Functions

 GemHitEvent (int nPlayer, int nTrack, int nGemTick, int nButtonTick, float fSlopMs)
 Construct the event.
 ~GemHitEvent () override
 Release the event.
String ToString () const override
 Format the player, the track, the two ticks, and the slop.
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 gem caught by a player.

The RTTI records the class as nested in Stats.

Constructor & Destructor Documentation

◆ GemHitEvent()

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

Construct the event.

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

◆ ~GemHitEvent()

Stats::GemHitEvent::~GemHitEvent ( )
inlineoverride

Release the event.

Ghidra address:
NTSC-U/C: 0x00341ee0
Ghidra address:
PAL: 0x003af418

Member Function Documentation

◆ ToString()

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

Format the player, the track, the two ticks, and the slop.

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

Implements Stats::Event.


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