SC_User
Instances of SC_User model the game user.
Scoreloop considers users to be unique players tied to unique devices. Instances of SC_Session maintain an instance of the local user, referred to as the session user.
Instances of SC_User that are not the session user may not have all properties available.
However, the login property is always available.
Instances of SC_User are available from:
-
The Scoreloop session - SC_Session_GetUser()
-
An instance of SC_Score - SC_Score_GetUser()
-
An instance of SC_UserController - SC_UserController_GetUser()
-
An instance of SC_UsersController - SC_UsersController_GetUsers()
-
An instance of SC_Challenge :
SC_User objects are managed by two controllers:
-
The SC_UserController is used to retrieve information for an arbitrary user from the server. It is also used to update the attributes of the session user.
-
The SC_UsersController , retrieves lists of SC_User objects from the server.