SC_ChallengesController_LoadOpenChallenges()
This method requests all challenges which may be played by the current session user.
Synopsis:
#include <scoreloop/sc_challenges_controller.h>
SC_Error_t SC_ChallengesController_LoadOpenChallenges(SC_ChallengesController_h self)
Arguments:
- self
-
SC_ChallengesController instance handle
Library:
libscoreloopcoreDescription:
The direct challenges will be requested first. If no direct challenges exist, then all open challenges will be requested.
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).