SC_ChallengesController_LoadChallengeHistory()
Requests the challenges associated with the current session user.
Synopsis:
#include <scoreloop/sc_challenges_controller.h>
SC_Error_t SC_ChallengesController_LoadChallengeHistory(SC_ChallengesController_h self)
Arguments:
- self
-
SC_ChallengesController instance handle
Library:
libscoreloopcoreDescription:
Method that requests the challenges associated with the current session user. These include:
- all completed challenges,
- all direct challenges for the user,
- any direct challenges created by the user excluding rejected challenges.
Note that this is an asynchronous call and a callback will be triggered, after which you may access the retrieved/loaded challenges using SC_ChallengesController_GetChallenges().
Returns:
SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).