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:

libscoreloopcore

Description:

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).

Last modified: 2013-12-23

comments powered by Disqus