SC_ScoreController_SubmitScore()
Submits a given score to the server.
Synopsis:
#include <scoreloop/sc_score_controller.h>
SC_Error_t SC_ScoreController_SubmitScore(SC_ScoreController_h self, SC_Score_h score)
Arguments:
- self
-
An opaque handle for the current controller instance.
- score
-
The score that is to be submitted.
Library:
libscoreloopcoreDescription:
This method is used to submit a score to the server. Note that this is an asynchronous call, and a callback will be triggered upon success or failure.
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).