Functions in sc_user.h
Related links
- SC_User
Instances of SC_User model the game user.
- SC_User_Retain()
Increments the object's reference count.
- SC_User_Release()
Decrements the object's reference count, and deletes the object if the counter reaches 0.
- SC_User_GetHandle()
Returns a handle to the user object.
- SC_User_GetLogin()
Returns the user's login.
- SC_User_SetLogin()
Sets the user's login.
- SC_User_SetEmail()
Sets the user's email address.
- SC_User_GetEmail()
Returns the user's email address.
- SC_User_GetGamesCount()
Returns the number of Scoreloop-enabled games that the user has played.
- SC_User_GetGlobalAchievementsCount()
Returns the number of achievements of the user across all games that they have played until now.
- SC_User_GetBuddiesCount()
Returns the number of buddies the user has.
- SC_User_GetImageUrl()
Returns the URL of the user's image.
- SC_User_GetImageSource()
Returns the source of the image URL.
- SC_User_SetImageFromExternalService()
Sets the user's image from an external source.
- SC_User_SetImageFromData()
Sets the user's image.
- SC_User_ResetImage()
Removes the user's image.
- SC_User_SetNationality()
Sets the user's nationality.
- SC_User_GetNationality()
Returns the user's nationality.
- SC_User_GetContext()
An accessor method that returns the game-specific context associated with user.
- SC_User_SetContext()
Sets the context for the user.
- SC_User_IsChallengable()
Examines the state of the user to see if they can be challenged or not.
- SC_User_GetOutdatedContext()
Returns the context sent to the server.
- SC_User_Equals()
Compares two user objects.
- SC_User_GetState()
Examines the state of the user.
- SC_User_IsFavoriteGame()
Examines the state of the user and checks if specified game belongs to favorite ones.