SC_AchievementsController_LoadAchievements()

This method loads the achievements from the current game for the specified user.

Synopsis:

#include <scoreloop/sc_achievements_controller.h>
 
SC_Error_t SC_AchievementsController_LoadAchievements(SC_AchievementsController_h self, SC_User_h user)

Arguments:

self

SC_AchievementsController instance handle.

user

The user whose achievements are to be loaded.

Library:

libscoreloopcore

Description:

This method loads the achievements for the specified user in the current game. This method loads all achievements whether they have been achieved or not. It uses the local awards bundle that must be defined and placed inside the current game. Note that this is an asynchronous call and a callback will be triggered.

Returns:

SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-21

comments powered by Disqus