It provides Apple GameCenter achievements and leaderboard
More...
It provides Apple GameCenter achievements and leaderboard
◆ LoadAchievements()
static void FHiveProviderApple::LoadAchievements |
( |
const FHiveProviderAppleOnLoadAchievements & |
Delegate | ) |
|
|
static |
It load Apple GameCenter achievement.
- Parameters
-
Delegate | Result listener of API call. |
◆ ReportAchievement()
static void FHiveProviderApple::ReportAchievement |
( |
const FString & |
Percent, |
|
|
bool |
ShowCompletionBanner, |
|
|
const FString & |
AchievementIdentifier, |
|
|
const FHiveProviderAppleOnReportAchievement & |
Delegate |
|
) |
| |
|
static |
It report Apple GameCenter achievement.
- Warning
- achievement identifier is set in iTunes Connect.
- Parameters
-
Percent | Achievement progress percent value(ex. 75.0) |
ShowCompletionBanner | Whether the top banner is exposed when the achievement is successful. default is NO. |
AchievementIdentifier | Achievement identifier |
Delegate | Result listener of API call. |
◆ ReportScore()
static void FHiveProviderApple::ReportScore |
( |
const FString & |
Score, |
|
|
const FString & |
LeaderboardIdentifier, |
|
|
const FHiveProviderAppleOnReportLeaderboard & |
Delegate |
|
) |
| |
|
static |
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. |
Delegate | Result listener of API call. |
◆ ResetAchievements()
static void FHiveProviderApple::ResetAchievements |
( |
const FHiveProviderAppleOnResetAchievement & |
Delegate | ) |
|
|
static |
It resets Apple GameCenter Achievement information.
- Parameters
-
Delegate | Result listener of API call. |
◆ ShowAchievements()
static void FHiveProviderApple::ShowAchievements |
( |
const FHiveProviderAppleOnShowAchievement & |
Delegate | ) |
|
|
static |
It shows Apple GameCenter Achievement UI.
- Parameters
-
Delegate | Result listener of API call. |
◆ ShowLeaderboard()
static void FHiveProviderApple::ShowLeaderboard |
( |
const FHiveProviderAppleOnShowLeaderboard & |
Delegate | ) |
|
|
static |
It show Apple GameCenter Leaderboard UI.
- Parameters
-
Delegate | Result listener of API call. |