Etterna 0.74.4
|
Contains statistics for one stage of play - either one song, or a whole course. More...
#include <PlayerStageStats.h>
Classes | |
struct | Combo_t |
Public Member Functions | |
PlayerStageStats () | |
Set up the PlayerStageStats with default values. | |
void | InternalInit () |
void | Init (PlayerNumber pn) |
void | Init (MultiPlayer pn) |
void | AddStats (const PlayerStageStats &other) |
Add stats from one PlayerStageStats to another. | |
auto | GetGrade () const -> Grade |
auto | GetWifeGrade () -> Grade |
auto | CalcSSR (float ssrpercent) const -> std::vector< float > |
void | GenerateValidationKeys (HighScore &hs) const |
auto | GetPercentDancePoints () const -> float |
auto | GetWifeScore () const -> float |
auto | GetCurWifeScore () const -> float |
auto | GetMaxWifeScore () const -> float |
auto | GetTimingScale () const -> float |
auto | GetInputDataVector () const -> std::vector< InputDataEvent > |
auto | GetMissDataVector () const -> std::vector< MissReplayResult > |
auto | GetOffsetVector () const -> std::vector< float > |
auto | GetNoteRowVector () const -> std::vector< int > |
auto | GetTrackVector () const -> std::vector< int > |
auto | GetTapNoteTypeVector () const -> std::vector< TapNoteType > |
auto | GetHoldReplayDataVector () const -> std::vector< HoldReplayResult > |
auto | GetMineReplayDataVector () const -> std::vector< MineReplayResult > |
auto | GetCurMaxPercentDancePoints () const -> float |
auto | GetLessonScoreActual () const -> int |
auto | GetLessonScoreNeeded () const -> int |
void | ResetScoreForLesson () |
void | SetLifeRecordAt (float fLife, float fStepsSecond) |
void | GetLifeRecord (float *fLifeOut, int iNumSamples, float fStepsEndSecond) const |
auto | GetLifeRecordAt (float fStepsSecond) const -> float |
auto | GetLifeRecordLerpAt (float fStepsSecond) const -> float |
auto | GetCurrentLife () const -> float |
void | SetWifeRecordAt (float Wife, float fStepsSecond) |
void | GetWifeRecord (float *WifeOut, int iNumSamples, float fStepsEndSecond) const |
auto | GetWifeRecordAt (float fStepsSecond) const -> float |
auto | GetWifeRecordLerpAt (float fStepsSecond) const -> float |
auto | GetComboAtStartOfStage () const -> int |
auto | FullComboOfScore (TapNoteScore tnsAllGreaterOrEqual) const -> bool |
auto | FullCombo () const -> bool |
auto | GetBestFullComboTapNoteScore () const -> TapNoteScore |
auto | SingleDigitsOfScore (TapNoteScore tnsAllGreaterOrEqual) const -> bool |
auto | OneOfScore (TapNoteScore tnsAllGreaterOrEqual) const -> bool |
auto | GetTotalTaps () const -> int |
auto | GetPercentageOfTaps (TapNoteScore tns) const -> float |
void | UpdateComboList (float fSecond, bool rollover) |
auto | GetMaxCombo () const -> Combo_t |
auto | IsDisqualified () const -> bool |
void | UnloadReplayData () |
void | PushSelf (lua_State *L) |
Public Attributes | |
std::vector< NoteInfo > | serializednd |
bool | m_for_multiplayer {} |
PlayerNumber | m_player_number |
MultiPlayer | m_multiplayer_number |
const Style * | m_pStyle {} |
bool | m_bJoined {} |
bool | m_bPlayerCanAchieveFullCombo {} |
std::vector< Steps * > | m_vpPossibleSteps |
int | m_iStepsPlayed {} |
bool | m_bFailed {} |
Have the Players failed at any point during the song? | |
int | m_iPossibleDancePoints {} |
int | m_iCurPossibleDancePoints {} |
int | m_iActualDancePoints {} |
int | m_iPossibleGradePoints {} |
float | m_fWifeScore {} |
float | CurWifeScore {} |
float | MaxWifeScore {} |
float | m_fTimingScale {} |
std::vector< MineReplayResult > | m_vMineReplayData |
std::vector< HoldReplayResult > | m_vHoldReplayData |
std::vector< float > | m_vOffsetVector |
std::vector< int > | m_vNoteRowVector |
std::vector< TapNoteType > | m_vTapNoteTypeVector |
std::vector< int > | m_vTrackVector |
std::vector< InputDataEvent > | InputData |
std::vector< MissReplayResult > | m_vNoteMissVector |
int | m_iTapNoteScores [NUM_TapNoteScore] {} |
int | m_iHoldNoteScores [NUM_HoldNoteScore] {} |
unsigned int | m_iCurCombo {} |
The Player's current combo. | |
unsigned int | m_iMaxCombo {} |
The Player's max combo. | |
unsigned int | m_iCurMissCombo {} |
The Player's current miss combo. | |
int | m_iCurScoreMultiplier {} |
unsigned int | m_iScore {} |
The player's current score. | |
unsigned int | m_iCurMaxScore {} |
The theoretically highest score the Player could have at this point. | |
unsigned int | m_iMaxScore {} |
The maximum score the Player can get this goaround. | |
RadarValues | m_radarPossible |
The possible RadarValues for a song. | |
RadarValues | m_radarActual |
int | m_iSongsPassed {} |
How many songs were passed by the Player? | |
int | m_iSongsPlayed {} |
How many songs were played by the Player? | |
float | m_fLifeRemainingSeconds {} |
How many seconds were left for the Player? | |
float | m_iNumControllerSteps {} |
bool | everusedautoplay {} |
bool | filegotmines {} |
bool | filegotholds {} |
bool | gaveuplikeadumbass {} |
bool | usedDoubleSetup {} |
std::map< float, float > | m_fLifeRecord |
std::map< float, float > | WifeRecord |
std::vector< Combo_t > | m_ComboList |
float | m_fFirstSecond {} |
float | m_fLastSecond {} |
int | m_iPersonalHighScoreIndex {} |
int | m_iMachineHighScoreIndex {} |
bool | m_bDisqualified {} |
HighScore | m_HighScore |
float | m_fPlayedSeconds {} |
Contains statistics for one stage of play - either one song, or a whole course.
void PlayerStageStats::AddStats | ( | const PlayerStageStats & | other | ) |
Add stats from one PlayerStageStats to another.
other | the other stats to add to this one. |
bool PlayerStageStats::m_bFailed {} |
Have the Players failed at any point during the song?
If FAIL_OFF is in use, this is always false.
If health recovery is possible after failing (requires two players), this is only set if both players were failing at the same time.
float PlayerStageStats::m_fLifeRemainingSeconds {} |
How many seconds were left for the Player?
This is used in the Survival mode.
RadarValues PlayerStageStats::m_radarPossible |
The possible RadarValues for a song.
This is filled in by ScreenGameplay on the start of the notes.