SC_UserController_SetUser()
Sets the user object that the controller should deal with.
Synopsis:
#include <scoreloop/sc_user_controller.h>
SC_Error_t SC_UserController_SetUser(SC_UserController_h self, SC_User_h user)
Arguments:
- self
-
SC_UserController instance handle
- user
-
The SC_User object that the controller will deal with.
Library:
libscoreloopcoreDescription:
If the user is not explicitly set,the controller will deal with the current session user instead.
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).