HIVE SDK for Unreal Engine

HiveProviderGoogle.h
Go to the documentation of this file.
1
21#pragma once
22
23#include "CoreMinimal.h"
24#include "Impl/HiveProviderGoogleImpl.h"
25
26HIVESDK_API IHiveProviderGoogleImpl* GetIProviderGoogleInstance();
27
44class HIVESDK_API FHiveProviderGoogle
45{
46public:
47/* Achievements */
66 static void AchievementsReveal(const FString& AchievementId, const FHiveProviderGoogleOnAchievementsDelegate& Delegate);
67
86 static void AchievementsUnlock(const FString& AchievementId, const FHiveProviderGoogleOnAchievementsDelegate& Delegate);
87
105 static void AchievementsIncrement(const FString& AchievementId, int32 Value, const FHiveProviderGoogleOnAchievementsDelegate& Delegate);
106
117 static void ShowAchievements(const FHiveProviderGoogleOnAchievementsDelegate& Delegate);
118
119
120/* Leaderboards */
136 static void LeaderboardsSubmitScore(const FString& LeaderboardId, int64 Score, const FHiveProviderGoogleOnLeaderboardsDelegate& Delegate);
137
148 static void ShowLeaderboard(const FHiveProviderGoogleOnLeaderboardsDelegate& Delegate);
149
150
151
162 static void GetGooglePlayerId(const FHiveProviderGoogleOnGooglePlayerIdDelegate& Delegate);
163};
You can use achievements and leaderboards within Google Play Games.
Definition: HiveProviderGoogle.h:45
static void GetGooglePlayerId(const FHiveProviderGoogleOnGooglePlayerIdDelegate &Delegate)
It get Google PlayerId and authCode.
static void ShowAchievements(const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
It shows the Google achievement UI.
static void AchievementsIncrement(const FString &AchievementId, int32 Value, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
It increases achievement figures.
static void AchievementsUnlock(const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
It achieve achievements.
static void ShowLeaderboard(const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
It shows Google Leaderboard UI.
static void AchievementsReveal(const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
It show hidden achievements.
static void LeaderboardsSubmitScore(const FString &LeaderboardId, int64 Score, const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
It update the leaderboard score.
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy