SC_Challenge_GetWinner()

Accessor that returns the Scoreloop user who won the challenge.

Synopsis:

#include <scoreloop/sc_challenge.h>
 
SC_User_h SC_Challenge_GetWinner(SC_Challenge_h self)

Arguments:

self

An opaque handle for the SC_Challenge instance.

Library:

libscoreloopcore

Description:

This method returns the winner of the completed challenge. It returns NULL if the challenge is not yet completed.

Returns:

SC_User_h The winner of the challenge or NULL.

Last modified: 2013-12-21

comments powered by Disqus