SC_Challenge_GetLoser()

Accessor that returns the Scoreloop user who lost the challenge.

Synopsis:

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

Arguments:

self

An opaque handle for the SC_Challenge instance.

Library:

libscoreloopcore

Description:

This method returns the loser of a completed challenge. It returns NULL if the challenge is not yet complete.

The user properties available for the loser are: handle, login.

Returns:

SC_User_h The loser of the challenge.

Last modified: 2013-12-21

comments powered by Disqus