|
void | Init () |
|
void | Update (float fDeltaSeconds) |
|
void | UpdatePacks (float fDeltaSeconds) |
|
void | UpdateHTTP (float fDeltaSeconds) |
|
void | UpdateGameplayState (bool gameplay) |
|
void | PushSelf (lua_State *L) |
|
bool | LoggedIn () |
|
bool | ShouldUploadScores () |
|
bool | InGameplay () |
|
void | Login (const std::string &username, const std::string &password, std::function< void(bool)> done=[](bool loggedIn) {}) |
|
void | LoginWithToken (const std::string &sessionToken, std::function< void(bool)> done=[](bool loggedIn) {}) |
|
void | Logout () |
|
void | LogoutIfLoggedIn () |
|
void | GetRankedChartkeys (std::function< void(void)> callback=[]() {}, const DateTime start=DateTime::GetFromString("1990-01-01 12:00:00"), const DateTime end=DateTime::GetFromString("2100-01-01 12:00:00")) |
|
void | AddFavorite (const std::string &chartKey) |
|
void | BulkAddFavorites (std::vector< std::string > chartKeys, std::function< void()>=[]() {}) |
|
void | RemoveFavorite (const std::string &chartKey) |
|
void | RefreshFavorites (const DateTime start=DateTime::GetFromString("1990-01-01 12:00:00"), const DateTime end=DateTime::GetFromString("2100-01-01 12:00:00")) |
|
void | AddGoal (ScoreGoal *goal) |
|
void | BulkAddGoals (std::vector< ScoreGoal * > goals, std::function< void()> callback=[]() {}) |
|
void | UpdateGoal (ScoreGoal *goal) |
|
void | RemoveGoal (ScoreGoal *goal, bool oldGoal=false) |
|
void | RefreshGoals (const DateTime start=DateTime::GetFromString("1990-01-01 12:00:00"), const DateTime end=DateTime::GetFromString("2100-01-01 12:00:00")) |
|
void | AddPlaylist (const std::string &name) |
|
void | UpdatePlaylist (const std::string &name) |
|
void | RemovePlaylist (const std::string &name) |
|
void | LoadPlaylists (const DateTime start=DateTime::GetFromString("1990-01-01 12:00:00"), const DateTime end=DateTime::GetFromString("2100-01-01 12:00:00")) |
|
void | DownloadMissingPlaylists (const DateTime start=DateTime::GetFromString("1990-01-01 12:00:00"), const DateTime end=DateTime::GetFromString("2100-01-01 12:00:00")) |
|
void | DownloadPlaylist (const std::string &name) |
|
void | UploadScore (HighScore *hs, std::function< void()> callback, bool load_from_disk) |
|
void | UploadScoreWithReplayData (HighScore *hs) |
|
void | UploadScoreWithReplayDataFromDisk (HighScore *hs, std::function< void()> callback=[]() {}) |
|
void | UploadBulkScores (std::vector< HighScore * > hsList, std::function< void()> callback=[]() {}) |
|
void | RefreshPackTags () |
|
void | SearchForPacks (ApiSearchCriteria searchCriteria, std::function< void(rapidjson::Document &)> packSearchParser) |
|
bool | ForceUploadPBsForChart (const std::string &ck, bool startNow=false) |
|
bool | ForceUploadPBsForPack (const std::string &pack, bool startNow=false) |
|
bool | ForceUploadAllPBs () |
|
bool | InitialScoreSync () |
|
void | GetChartLeaderboard (const std::string &chartkey, LuaReference &ref=EMPTY_REFERENCE) |
|
void | GetReplayData (const std::string &scorekey, int userid, const std::string &username, const std::string &chartkey, LuaReference &callback=EMPTY_REFERENCE) |
|
OnlineTopScore | GetTopSkillsetScore (unsigned int rank, Skillset ss, bool &result) |
|
float | GetSkillsetRating (Skillset ss) |
|
int | GetSkillsetRank (Skillset ss) |
|
DownloadablePackPagination & | GetPackPagination (const std::string &searchString, std::set< std::string > tagFilters, bool tagsMatchAny, int perPage, const std::string &sortBy, bool sortIsAsc) |
|
std::shared_ptr< Download > | DownloadAndInstallPack (const std::string &url, std::string filename="") |
|
std::shared_ptr< Download > | DownloadAndInstallPack (DownloadablePack *pack, bool mirror=false) |
|
void | DownloadCoreBundle (const std::string &bundlename, bool mirror=false) |
|
std::vector< DownloadablePack * > | GetCoreBundle (const std::string &bundlename) |
|
bool | OpenSitePage (const std::string &path) |
|
bool | OpenProjectPage (const std::string &path) |
|
bool | ShowPackPage (int packid) |
|
bool | ShowUserPage (const std::string &username) |
|
bool | ShowScorePage (const std::string &username, int scoreid) |
|
bool | ShowBugReportSite () |
|
bool | ShowEditorSite () |
|
bool | ShowProjectReleases () |
|
bool | ShowProjectSite () |
|
void | RefreshPackList (const std::string &url) |
|
|
std::string | authToken { "" } |
|
std::string | sessionUser { "" } |
|
std::map< Skillset, int > | sessionRanks {} |
|
std::map< Skillset, double > | sessionRatings {} |
|
std::deque< HighScore * > | ScoreUploadSequentialQueue |
|
unsigned int | sequentialScoreUploadTotalWorkload { 0 } |
|
std::deque< ScoreGoal * > | GoalUploadSequentialQueue |
|
unsigned int | sequentialGoalUploadTotalWorkload { 0 } |
|
std::deque< std::string > | FavoriteUploadSequentialQueue |
|
unsigned int | sequentialFavoriteUploadTotalWorkload { 0 } |
|
std::map< std::string, std::shared_ptr< Download > > | downloads |
|
std::deque< std::pair< DownloadablePack *, bool > > | DownloadQueue |
|
std::map< std::string, std::shared_ptr< Download > > | finishedDownloads |
|
std::map< std::string, std::shared_ptr< Download > > | pendingInstallDownloads |
|
std::map< int, DownloadablePack > | downloadablePacks |
|
std::unordered_map< std::string, std::vector< std::string > > | packTags |
|
std::unordered_map< DownloadablePackPaginationKey, DownloadablePackPagination > | downloadablePackPaginations {} |
|
std::unordered_map< std::string, std::set< int > > | tagPacks |
|
std::map< std::string, std::vector< OnlineScore > > | chartLeaderboards {} |
|
std::map< Skillset, std::vector< OnlineTopScore > > | topScores {} |
|
std::set< std::string > | unrankedCharts {} |
|
bool | currentrateonly = false |
|
bool | topscoresonly = true |
|
bool | validonly = true |
|
std::string | lastVersion { "" } |
|
std::string | countryCode { "" } |
|