Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
ProfileManager Class Reference
Collaboration diagram for ProfileManager:
Collaboration graph
[legend]

Public Member Functions

void Init (LoadingWindow *ld)
 
auto FixedProfiles () const -> bool
 
void UnloadAllLocalProfiles ()
 
void RefreshLocalProfilesFromDisk ()
 
void RefreshLocalProfilesFromDisk (LoadingWindow *ld)
 
auto GetLocalProfile (const std::string &sProfileID) const -> const Profile *
 
auto GetLocalProfile (const std::string &sProfileID) -> Profile *
 
auto GetLocalProfileFromIndex (int iIndex) -> Profile *
 
auto GetLocalProfileIDFromIndex (int iIndex) -> std::string
 
auto CreateLocalProfile (const std::string &sName, std::string &sProfileIDOut) -> bool
 
void AddLocalProfileByID (Profile *pProfile, const std::string &sProfileID)
 
auto RenameLocalProfile (const std::string &sProfileID, const std::string &sNewName) -> bool
 
void GetLocalProfileIDs (std::vector< std::string > &vsProfileIDsOut) const
 
void GetLocalProfileDisplayNames (std::vector< std::string > &vsProfileDisplayNamesOut) const
 
auto GetLocalProfileIndexFromID (const std::string &sProfileID) const -> int
 
auto GetNumLocalProfiles () const -> int
 
auto GetStatsPrefix () -> std::string
 
void SetStatsPrefix (std::string const &prefix)
 
auto LoadFirstAvailableProfile (PlayerNumber pn, bool bLoadEdits=true) -> bool
 
auto LoadLocalProfileFromMachine (PlayerNumber pn) -> bool
 
auto SaveProfile (PlayerNumber pn) const -> bool
 
auto SaveLocalProfile (const std::string &sProfileID) -> bool
 
void UnloadProfile (PlayerNumber pn)
 
void MergeLocalProfiles (std::string const &from_id, std::string const &to_id)
 
void MoveProfilePriority (int index, bool up)
 
void IncrementToastiesCount (PlayerNumber pn)
 
void AddStepTotals (PlayerNumber pn, int iNumTapsAndHolds, int iNumJumps, int iNumHolds, int iNumRolls, int iNumMines, int iNumHands, int iNumLifts)
 
auto GetProfile (PlayerNumber pn) const -> const Profile *
 
auto GetProfile (PlayerNumber pn) -> Profile *
 
auto GetProfile (ProfileSlot slot) const -> const Profile *
 
auto GetProfile (ProfileSlot slot) -> Profile *
 
auto GetProfileDir (ProfileSlot slot) const -> const std::string &
 
auto GetPlayerName (PlayerNumber pn) const -> std::string
 
auto LastLoadWasTamperedOrCorrupt (PlayerNumber pn) const -> bool
 
auto LastLoadWasFromLastGood (PlayerNumber pn) const -> bool
 
void IncrementStepsPlayCount (const Song *pSong, const Steps *pSteps, PlayerNumber pn)
 
void PushSelf (lua_State *L)
 

Static Public Attributes

static Preference1D< std::string > m_sDefaultLocalProfileID
 

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