|
Public Member Functions |
| | ProfileManager () |
| | ~ProfileManager () |
| void | Init () |
| bool | CreateLocalProfile (CString sName) |
| bool | RenameLocalProfile (CString sProfileID, CString sNewName) |
| bool | DeleteLocalProfile (CString sProfileID) |
| void | GetLocalProfileIDs (vector< CString > &asProfileIDsOut) const |
| void | GetLocalProfileNames (vector< CString > &asNamesOut) const |
| bool | LoadFirstAvailableProfile (PlayerNumber pn) |
| bool | LoadLocalProfileFromMachine (PlayerNumber pn) |
| bool | LoadProfileFromMemoryCard (PlayerNumber pn) |
| void | SaveAllProfiles () const |
| bool | SaveProfile (PlayerNumber pn) const |
| void | UnloadProfile (PlayerNumber pn) |
| void | IncrementToastiesCount (PlayerNumber pn) |
| void | AddStepTotals (PlayerNumber pn, int iNumTapsAndHolds, int iNumJumps, int iNumHolds, int iNumMines, int iNumHands) |
| void | LoadMachineProfile () |
| void | SaveMachineProfile () const |
| bool | IsUsingProfile (PlayerNumber pn) const |
| bool | IsUsingProfile (ProfileSlot slot) const |
| const Profile * | GetProfile (PlayerNumber pn) const |
| Profile * | GetProfile (PlayerNumber pn) |
| const Profile * | GetProfile (ProfileSlot slot) const |
| Profile * | GetProfile (ProfileSlot slot) |
| CString | GetProfileDir (ProfileSlot slot) const |
| Profile * | GetMachineProfile () |
| CString | GetPlayerName (PlayerNumber pn) const |
| bool | ProfileWasLoadedFromMemoryCard (PlayerNumber pn) const |
| bool | LastLoadWasTamperedOrCorrupt (PlayerNumber pn) const |
| bool | LastLoadWasFromLastGood (PlayerNumber pn) const |
| int | GetSongNumTimesPlayed (const Song *pSong, ProfileSlot card) const |
| bool | IsSongNew (const Song *pSong) const |
| void | AddStepsScore (const Song *pSong, const Steps *pSteps, PlayerNumber pn, HighScore hs, int &iPersonalIndexOut, int &iMachineIndexOut) |
| void | IncrementStepsPlayCount (const Song *pSong, const Steps *pSteps, PlayerNumber pn) |
| HighScore | GetHighScoreForDifficulty (const Song *s, const Style *st, ProfileSlot slot, Difficulty dc) const |
| void | AddCourseScore (const Course *pCourse, const Trail *pTrail, PlayerNumber pn, HighScore hs, int &iPersonalIndexOut, int &iMachineIndexOut) |
| void | IncrementCoursePlayCount (const Course *pCourse, const Trail *pTrail, PlayerNumber pn) |
| void | AddCategoryScore (StepsType st, RankingCategory rc, PlayerNumber pn, HighScore hs, int &iPersonalIndexOut, int &iMachineIndexOut) |
| void | IncrementCategoryPlayCount (StepsType st, RankingCategory rc, PlayerNumber pn) |
Private Member Functions |
| bool | LoadProfile (PlayerNumber pn, CString sProfileDir, bool bIsMemCard) |
Private Attributes |
| CString | m_sProfileDir [NUM_PLAYERS] |
| bool | m_bWasLoadedFromMemoryCard [NUM_PLAYERS] |
| bool | m_bLastLoadWasTamperedOrCorrupt [NUM_PLAYERS] |
| bool | m_bLastLoadWasFromLastGood [NUM_PLAYERS] |
| Profile | m_Profile [NUM_PLAYERS] |
| Profile | m_MachineProfile |