Per-player record of the phrase each player should play next.
More...
#include <gamelogic.h>
Per-player record of the phrase each player should play next.
The RTTI records the class as nested in GameLogic. The structure is not polymorphic.
◆ PlayerData()
| GameLogic::PlayerData::PlayerData |
( |
Command * | pEndFreestyle | ) |
|
|
explicit |
Construct the record around the command that ends the freestyle of the player.
- Parameters
-
| pEndFreestyle | The command. |
- Ghidra address:
- NTSC-U/C: 0x00110440
- Ghidra address:
- PAL: 0x00111bd8
◆ GetEndFreestyleCmd()
| Ptr< Command > & GameLogic::PlayerData::GetEndFreestyleCmd |
( |
| ) |
|
|
inline |
◆ GetNextPhraseBar()
| int GameLogic::PlayerData::GetNextPhraseBar |
( |
| ) |
const |
|
inline |
- Returns
- First bar of the phrase to play next, or -1.
◆ SetNextPhraseBar()
| void GameLogic::PlayerData::SetNextPhraseBar |
( |
int | nBar | ) |
|
|
inline |
Set the first bar of the phrase to play next.
- Parameters
-
◆ GetLastNextPhraseBar()
| int GameLogic::PlayerData::GetLastNextPhraseBar |
( |
| ) |
const |
|
inline |
◆ SetLastNextPhraseBar()
| void GameLogic::PlayerData::SetLastNextPhraseBar |
( |
int | nBar | ) |
|
|
inline |
Set the previous first bar of the phrase to play next.
- Parameters
-
◆ GetMissedBar()
| int GameLogic::PlayerData::GetMissedBar |
( |
| ) |
const |
|
inline |
- Returns
- The bar the player last missed a phrase in.
◆ SetMissedBar()
| void GameLogic::PlayerData::SetMissedBar |
( |
int | nBar | ) |
|
|
inline |
Set the bar the player last missed a phrase in.
- Parameters
-
◆ GetSavedStreak()
| int GameLogic::PlayerData::GetSavedStreak |
( |
| ) |
const |
|
inline |
- Returns
- The streak of the player when the phrase was found.
◆ SetSavedStreak()
| void GameLogic::PlayerData::SetSavedStreak |
( |
int | nStreak | ) |
|
|
inline |
Set the streak of the player when the phrase was found.
- Parameters
-
◆ GetCapturedTrack()
| int GameLogic::PlayerData::GetCapturedTrack |
( |
| ) |
const |
|
inline |
- Returns
- The track the search for the next phrase skipped.
◆ SetCapturedTrack()
| void GameLogic::PlayerData::SetCapturedTrack |
( |
int | nTrack | ) |
|
|
inline |
Set the track the search for the next phrase skipped.
- Parameters
-
The documentation for this class was generated from the following file: