Public Member Functions

<OFHighScoreDelegate> Protocol Reference

#import <OFHighScore.h>

List of all members.

Public Member Functions

(void) - didSubmit:
(void) - didFailSubmit:
(void) - didDownloadBlob:
(void) - didFailDownloadBlob:
(void) - didGetHighScoresNearCurrentUser:
(void) - didFailGetHighScoresNearCurrentUser

Detailed Description

Adopt the OFHighScoreDelegate Protocol to receive information regarding OFHighScore. You must call OFHighScore's +(void)setDelegate: method to receive information.


Member Function Documentation

- (void) didDownloadBlob: (OFHighScore *)  score [optional]

Invoked when downloadBlob successfully completes

Parameters:
scoreThe OFHighScore which now has the blob property filled out.
- (void) didFailDownloadBlob: (OFHighScore *)  score [optional]

Invoked when downloadBlob fails

Parameters:
scoreThe score which failed to download the blob data.
- (void) didFailGetHighScoresNearCurrentUser [optional]

Invoked when getHighScoresNearCurrentUser:andBetterCount:andWorseCount: fails

- (void) didFailSubmit: (OFHighScore *)  score [optional]

Invoked when submitTo fails for the given score

Parameters:
scoreThe score that failed to submit.
- (void) didGetHighScoresNearCurrentUser: (NSArray *)  scores [optional]

Invoked when getHighScoresNearCurrentUser:andBetterCount:andWorseCount: successfully completes

Parameters:
scoreThe array of scores from Best at index 0, to the worst. The current players score will be in this list as well.
- (void) didSubmit: (OFHighScore *)  score [optional]

Invoked when submitTo successfully completes for the given score

Parameters:
scoreThe score that successfully was submitted

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