SC_User_GetContext()

An accessor method that returns the game-specific context associated with user.

Synopsis:

#include <scoreloop/sc_user.h>
 
SC_Context_h SC_User_GetContext(SC_User_h self)

Arguments:

self

An opaque handle for the current SC_User instance.

Library:

libscoreloopcore

Description:

This property becomes valid after a successful user context request. See SC_UserController_LoadUserContext(). If the server doesn't return the context, the method returns NULL.

Returns:

SC_Context_h Context of the user.

Last modified: 2013-12-23

comments powered by Disqus