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:

  1. The Scoreloop session - SC_Session_GetUser()

  2. An instance of SC_Score - SC_Score_GetUser()

  3. An instance of SC_UserController - SC_UserController_GetUser()

  4. An instance of SC_UsersController - SC_UsersController_GetUsers()

  5. An instance of SC_Challenge :

SC_User objects are managed by two controllers:

  1. 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.

  2. The SC_UsersController , retrieves lists of SC_User objects from the server.