SC_AchievementsController_LoadAchievements()

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

Synopsis:

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

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

SC_AchievementsController instance handle.

user

The user whose achievements are to be loaded.

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

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: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus