#import <OFCurrentUser.h>
List of all members.
Detailed Description
The public interface for OFCurrentUser lets to query and manipulate certain properties of the current user.
Member Function Documentation
+ (BOOL) allowsAutoSocialNotifications |
|
|
|
Whether or not the current user allows social notifications to be posted automatically.
- Returns:
- BOOL
YES
if the current user allows social notifications
Tells whether the current player has connected their OpenFeint Account to any social network
- Returns:
- OFRequestHandle for the server request. User this to cancel the request
- Note:
- Invokes
Get the current user.
- Returns:
- OFUser* The current User Object.
Make this game a favorite of the current user. The review text is optional.
- Parameters:
-
reviewText | Review text for the this game that the user just favorited. This is optional. Pass nil to ignore. |
- Returns:
- OFRequestHandle for the server request. Use this to cancel the request
- Note:
- Invokes - (void)didFavoriteCurrentGame on success and
- (void)didFailFavoriteCurrentGame on failure.
Whether or not the current user has OpenFeint friends
- Returns:
- BOOL
YES
if the current user has OpenFeint friends
+ (NSInteger) OpenFeintBadgeCount |
|
|
|
How many things are waiting for this user in OpenFeint Dashboard.
- Returns:
- uint returns pending friends + unview challenges + new inbox items.
Make the current user start following another user
- Parameters:
-
- Returns:
- OFRequestHandle for the server request. Use this to cancel the request
- Note:
- Inovkes - (void)didSendFriendRequest on success and
- (void)didFailSendFriendRequest on failure. These function are part of the OFUserDelegate protocol
Make the current user stop following another user
- Parameters:
-
user | user to stop following |
- Returns:
- OFRequestHandle for the server request. Use this to cancel the request
- Note:
- Invokes - (void)didUnfriend on success and
- (void)didFailUnfriend on failure
+ (NSInteger) unviewedChallengesCount |
|
|
|
The number of unviewed Challenges by the current user.
- Returns:
- uint The number of unview Challenges by the current user.
The documentation for this class was generated from the following file: