Receiver that shows each note a piece starts on the scratching player's track.
More...
#include <scratcher.h>
Receiver that shows each note a piece starts on the scratching player's track.
The RTTI includes the nested name and records Muse::NoteCB as the base. Its constructor and destructor are inline, and Start() sets its members.
◆ ~ScratchNoteCB()
| Scratcher::ScratchNoteCB::~ScratchNoteCB |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0034c688
- Ghidra address:
- PAL: 0x003b9ab8
◆ OnNote()
| void Scratcher::ScratchNoteCB::OnNote |
( |
unsigned char | nNote, |
|
|
int | nDuration ) |
|
overridevirtual |
Show a note at the current tick.
- Parameters
-
| nNote | The MIDI note number. The body does not read it. |
| nDuration | The length of the note in ticks. |
- Ghidra address:
- NTSC-U/C: 0x00153e38
- Ghidra address:
- PAL: 0x001556a0
Implements Muse::NoteCB.
◆ GetTickOffset()
| int Scratcher::ScratchNoteCB::GetTickOffset |
( |
| ) |
const |
|
inline |
- Returns
- The ticks added to the current tick of each note.
◆ SetTickOffset()
| void Scratcher::ScratchNoteCB::SetTickOffset |
( |
int | nTickOffset | ) |
|
|
inline |
- Parameters
-
| nTickOffset | The ticks added to the current tick of each note. |
◆ GetPlayer()
| int Scratcher::ScratchNoteCB::GetPlayer |
( |
| ) |
const |
|
inline |
- Returns
- The scratching player.
◆ SetPlayer()
| void Scratcher::ScratchNoteCB::SetPlayer |
( |
int | nPlayer | ) |
|
|
inline |
- Parameters
-
| nPlayer | The scratching player. |
The documentation for this class was generated from the following file: