It provides Apple GameCenter achievements and leaderboard
More...
It provides Apple GameCenter achievements and leaderboard
§ HIVEProviderAppleLoadAchievementsHandler
§ HIVEProviderAppleReportAchievementHandler
typedef void(^ HIVEProviderAppleReportAchievementHandler) (HIVEResultAPI *result) |
Apple GameCenter ReportAchievement result handler.
- Parameters
-
result | Result of API call. |
- See also
- HIVEResultAPI
§ HIVEProviderAppleReportLeaderboardHandler
typedef void(^ HIVEProviderAppleReportLeaderboardHandler) (HIVEResultAPI *result) |
Apple GameCenter Leaderboard result handler.
- Parameters
-
result | Result of API call. |
- See also
- HIVEResultAPI
§ HIVEProviderAppleResetAchievements
typedef void(^ HIVEProviderAppleResetAchievements) (HIVEResultAPI *result) |
Apple GameCenter ResetAchievements result handler.
- Parameters
-
result | Result of API call. |
- See also
- HIVEResultAPI
§ HIVEProviderAppleShowAchievementHandler
typedef void(^ HIVEProviderAppleShowAchievementHandler) (HIVEResultAPI *result) |
Apple GameCenter ShowAchievement result handler.
- Parameters
-
result | Result of API call. |
- See also
- HIVEResultAPI
§ HIVEProviderAppleShowLeaderboardHandler
typedef void(^ HIVEProviderAppleShowLeaderboardHandler) (HIVEResultAPI *result) |
Apple GameCenter ShowLeaderboard result handler.
- Parameters
-
- See also
- HIVEResultAPI
§ loadAchievements:()
It load Apple GameCenter achievement.
- Parameters
-
handler | Result handler of API call. |
§ reportAchievement:showsCompletionBanner:achievementIdentifier:handler:()
+ (void) reportAchievement: |
|
(NSString *) |
percent |
showsCompletionBanner: |
|
(BOOL) |
showsCompletionBanner |
achievementIdentifier: |
|
(NSString *) |
achievementIdentifier |
handler: |
|
(HIVEProviderAppleReportAchievementHandler) |
handler |
|
|
| |
It report Apple GameCenter achievement.
- Warning
- achievement identifier is set in iTunes Connect.
- Parameters
-
percent | Achievement progress percent value(ex. 75.0) |
showsCompletionBanner | Whether the top banner is exposed when the achievement is successful. default is NO. |
achievementIdentifier | Achievement identifier |
handler | Result handler of API call. |
§ reportScore:leaderboardIdentifier:handler:()
It send record to Apple GameCenter Leaderboard.
- Warning
- The score format and leaderboard identifier are set in iTunes Connect.
- Parameters
-
score | Player's score. |
leaderboardIdentifier | Leaderboard Identifier. |
handler | Result handler of API call. |
§ resetAchievements:()
It resets Apple GameCenter Achievement information.
- Parameters
-
handler | Result handler of API call. |
§ showAchievements:()
It shows Apple GameCenter Achievement UI.
- Parameters
-
handler | Result handler of API call. |
§ showLeaderboard:()
It show Apple GameCenter Leaderboard UI.
- Parameters
-
handler | Result handler of API call. |