Public Member Functions | Static Public Member Functions | Properties

OFAbridgedHighScore Class Reference

#import <OFAbridgedHighScore.h>

List of all members.

Public Member Functions

(OFRequestHandle *) - getProfilePicture

Static Public Member Functions

(void) + setDelegate:
(NSString *) + getResourceName

Properties

int64_t score
NSString * displayText
NSString * userId
NSString * userName
NSUInteger userGamerScore
NSString * userProfilePictureUrl

Member Function Documentation

- (OFRequestHandle*) getProfilePicture

get the profile picture associated with this high score

Returns:
OFRequestHandle for the server request. Use this to cancel the request
Note:
Invokes - (void)didGetProfilePicture:(UIImage*)image OFAbridgedHighScore:(OFAbridgedHighScore*)score; on success and
  • (void)didFailGetProfilePictureOFAbridgedHighScore:(OFAbridgedHighScore*)score; on failure
+ (NSString*) getResourceName
+ (void) setDelegate: (id< OFAbridgedHighScoreDelegate >)  delegate

Set a delegate for all OFAbridgedHighScore related actions. Must adopt the OFAbridgedHighScoreDelegate protocol.

Note:
Defaults to nil. Weak reference

Property Documentation

- (NSString *) displayText [read, assign]

Formatted string representation of score suitable for display

- (int64_t) score [read, assign]

Raw integral score value

- (NSUInteger) userGamerScore [read, assign]

Gamer score of the user the score belongs to

- (NSString *) userId [read, assign]

Resource id for the user the score belongs to

- (NSString *) userName [read, assign]

Name of the user the score belongs to

- (NSString *) userProfilePictureUrl [read, assign]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties