HIVE SDK for Unreal Engine

HiveProviderGoogle.h
이 파일의 문서화 페이지로 가기
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};
Google Play Games 의 기능 중 업적과 리더보드를 사용할 수 있다.
Definition: HiveProviderGoogle.h:45
static void GetGooglePlayerId(const FHiveProviderGoogleOnGooglePlayerIdDelegate &Delegate)
Google PlayerId 및 authCode를 가져온다.
static void ShowAchievements(const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
Google 업적 UI 를 띄운다.
static void AchievementsIncrement(const FString &AchievementId, int32 Value, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
업적 수치를 증가 시킨다.
static void AchievementsUnlock(const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
업적을 달성한다.
static void ShowLeaderboard(const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
Google 리더보드 UI 를 띄운다.
static void AchievementsReveal(const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
숨겨진 업적을 공개한다.
static void LeaderboardsSubmitScore(const FString &LeaderboardId, int64 Score, const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
리더보드 점수를 갱신한다.
Copyright © Com2uS Platform Corporation. All Right Reserved. 이용약관 개인정보 처리방침