SC_ChallengesController_GetChallenges()

Returns the list of all challenges that have been requested from the server.

Synopsis:

#include <scoreloop/sc_challenges_controller.h>
 
SC_ChallengeList_h SC_ChallengesController_GetChallenges(SC_ChallengesController_h self)

Arguments:

self

SC_ChallengesController instance handle

Library:

libscoreloopcore

Description:

The list will contain either the list of all open challenges available to the user to play, or the user's challenge history, depending on the type of request made by the controller.

If this method is called before a request to the server has been made, an empty list will be returned.

Returns:

SC_ChallengeList_h The list of challenges that have been retrieved from the server.

See also:

SC_ChallengesController_LoadOpenChallenges(), SC_ChallengesController_LoadChallengeHistory() .

Last modified: 2013-12-23

comments powered by Disqus