SC_ChallengeController_SetChallenge()

Sets the challenge object that the controller will deal with.

Synopsis:

#include <scoreloop/sc_challenge_controller.h>
 
SC_Error_t SC_ChallengeController_SetChallenge(SC_ChallengeController_h self, SC_Challenge_h challenge)

Arguments:

self

An opaque handle of the challenge controller instance.

challenge

The challenge object that the controller is dealing with.

Library:

libscoreloopcore

Description:

This method sets the challenge object that the controller is dealing with.

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