SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WebAchievementsStatus Class Reference

This class updates achievements on an online site. More...

#include <web_achievements_status.hpp>

Public Member Functions

 WebAchievementsStatus (int version, std::map< uint32_t, AchievementInfo * > &info)
 Constructur, initialises this object with the data from the corresponding AchievementInfo.
 
void updateAchievementsProgress (AchievementsStatus *status)
 Checks for an updates to achievements progress.
 
void achieved (AchievementInfo *info)
 Sets an achievement.
 

Detailed Description

This class updates achievements on an online site.

It detects when achievements haven't been updated and sends the changes.

Member Function Documentation

◆ achieved()

void WebAchievementsStatus::achieved ( AchievementInfo info)

Sets an achievement.

Parameters
Achievementacquired

◆ updateAchievementsProgress()

void WebAchievementsStatus::updateAchievementsProgress ( AchievementsStatus status)

Checks for an updates to achievements progress.

Parameters
Currentstatus

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