#import <OFPlayedGame.h>
Public Member Functions | |
(BOOL) | - isOwnedByCurrentUser |
(OFRequestHandle *) | - getGameIcon |
(OFUserGameStat *) | - getLocalUsersGameStat |
Static Public Member Functions | |
(void) | + setDelegate: |
(OFRequestHandle *) | + getFeaturedGames |
(NSString *) | + getResourceName |
Properties | |
NSString * | name |
NSString * | clientApplicationId |
NSString * | iTunesAppStoreUrl |
NSMutableArray * | userGameStats |
NSString * | iconUrl |
NSUInteger | totalGamerscore |
NSUInteger | friendsWithApp |
BOOL | favorite |
NSString * | review |
The OFPlayedGame interface allows you to get a list of your featured games. This object will allow you to query information about the game, such as its name and its apple store url, but also allow you to query specific relationships between this game and the current user.
+ (OFRequestHandle*) getFeaturedGames |
Get a list of OFPlayedGames which are featured by the app.
- (OFRequestHandle*) getGameIcon |
get the game icon image
- (OFUserGameStat*) getLocalUsersGameStat |
+ (NSString*) getResourceName |
- (BOOL) isOwnedByCurrentUser |
Whether or not the current user has the game.
YES
if the current user owns the game. + (void) setDelegate: | (id< OFPlayedGameDelegate >) | delegate |
Set a delegate for all OFPlayedGame related actions. Must adopt the OFPlayedGameDelegate protocol.
- (NSString *) clientApplicationId [read, assign] |
The client application id for the game
- (BOOL) favorite [read, assign] |
- (NSUInteger) friendsWithApp [read, assign] |
- (NSString *) iconUrl [read, assign] |
- (NSString *) iTunesAppStoreUrl [read, assign] |
The iTunes app store url to buy the app
- (NSString *) name [read, assign] |
The name of the game
- (NSString *) review [read, assign] |
- (NSUInteger) totalGamerscore [read, assign] |
- (NSMutableArray *) userGameStats [read, assign] |