SC_ChallengeController_SubmitChallengeScore()

Submits the challenge score to the server.

Synopsis:

#include <scoreloop/sc_challenge_controller.h>
 
SC_Error_t SC_ChallengeController_SubmitChallengeScore(SC_ChallengeController_h self, SC_Score_h score)

Arguments:

self

An opaque handle of the challenge controller instance.

score

The score object to be submitted to the server.

Library:

libscoreloopcore

Description:

Convenience API that submits the challenge score to the server. The score object must be associated with the current session user.

The mode of the score to be submitted must be the same as the mode of the challenge object that the controller is dealing with.

Note that this is an asynchronous call and a callback will be triggered, which indicates whether the submission was successful or not.

Returns:

SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-21

comments powered by Disqus