SC_User_SetContext()

Sets the context for the user.

Synopsis:

#include <scoreloop/sc_user.h>
 
SC_Error_t SC_User_SetContext(SC_User_h self, SC_Context_h context)

Arguments:

self

An opaque handle for the current SC_User instance.

context

New user's context

Library:

libscoreloopcore

Description:

This method is used to set the context of a user. The context is updated on the server with a call to SC_UserController_UpdateUserContext.

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