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:
libscoreloopcoreDescription:
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.