HIVE SDK for Unreal Engine

클래스 | 함수
FHiveProviderGoogle

Google Play Games 의 기능 중 업적과 리더보드를 사용할 수 있다. 더 자세히 ...

클래스

class  FHiveProviderGoogle
 Google Play Games 의 기능 중 업적과 리더보드를 사용할 수 있다. 더 자세히 ...
 

함수

static void FHiveProviderGoogle::AchievementsReveal (const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
 숨겨진 업적을 공개한다. 더 자세히 ...
 
static void FHiveProviderGoogle::AchievementsUnlock (const FString &AchievementId, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
 업적을 달성한다. 더 자세히 ...
 
static void FHiveProviderGoogle::AchievementsIncrement (const FString &AchievementId, int32 Value, const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
 업적 수치를 증가 시킨다. 더 자세히 ...
 
static void FHiveProviderGoogle::ShowAchievements (const FHiveProviderGoogleOnAchievementsDelegate &Delegate)
 Google 업적 UI 를 띄운다. 더 자세히 ...
 
static void FHiveProviderGoogle::LeaderboardsSubmitScore (const FString &LeaderboardId, int64 Score, const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
 리더보드 점수를 갱신한다. 더 자세히 ...
 
static void FHiveProviderGoogle::ShowLeaderboard (const FHiveProviderGoogleOnLeaderboardsDelegate &Delegate)
 Google 리더보드 UI 를 띄운다. 더 자세히 ...
 
static void FHiveProviderGoogle::GetGooglePlayerId (const FHiveProviderGoogleOnGooglePlayerIdDelegate &Delegate)
 Google PlayerId 및 authCode를 가져온다. 더 자세히 ...
 

상세한 설명

Google Play Games 의 기능 중 업적과 리더보드를 사용할 수 있다.


연결되어있지 않을 경우 API 를 호출 할 때 자동으로 연결을 시도 한다.
AuthV4 의 Connect 와는 무관하게 독립적으로 사용할 수 있다.
자동 연결이 되어도 현재 playerid 와 Connect 되는것은 아니다.

함수 문서화

◆ AchievementsIncrement()

static void FHiveProviderGoogle::AchievementsIncrement ( const FString &  AchievementId,
int32  Value,
const FHiveProviderGoogleOnAchievementsDelegate &  Delegate 
)
static

업적 수치를 증가 시킨다.


value 만큼 설정이 아닌 매 value 만큼 합산 된다.
총 합산이 Max 가 될 경우 자동으로 업적이 달성되며, 계속 호출하여도 무방하다.

매개변수
AchievementIdincremental AchievementId
Valuevalue
DelegateFHiveProviderGoogleOnAchievementsDelegate

◆ AchievementsReveal()

static void FHiveProviderGoogle::AchievementsReveal ( const FString &  AchievementId,
const FHiveProviderGoogleOnAchievementsDelegate &  Delegate 
)
static

숨겨진 업적을 공개한다.


업적이 0% 로 공개만 될 뿐 달성 되지는 않는다.

매개변수
AchievementId공개할 achievementId
DelegateFHiveProviderGoogleOnAchievementsDelegate

◆ AchievementsUnlock()

static void FHiveProviderGoogle::AchievementsUnlock ( const FString &  AchievementId,
const FHiveProviderGoogleOnAchievementsDelegate &  Delegate 
)
static

업적을 달성한다.


숨겨져 있거나 공개된 여부와 상관없이 업적이 100% 로 달성 된다.

매개변수
AchievementId공개할 achievementId
DelegateFHiveProviderGoogleOnAchievementsDelegate

◆ GetGooglePlayerId()

static void FHiveProviderGoogle::GetGooglePlayerId ( const FHiveProviderGoogleOnGooglePlayerIdDelegate &  Delegate)
static

Google PlayerId 및 authCode를 가져온다.


매개변수
listeneronGooglePlayerIdResult

◆ LeaderboardsSubmitScore()

static void FHiveProviderGoogle::LeaderboardsSubmitScore ( const FString &  LeaderboardId,
int64  Score,
const FHiveProviderGoogleOnLeaderboardsDelegate &  Delegate 
)
static

리더보드 점수를 갱신한다.


leaderboardId 에 해당하는 기록에 score 수치로 갱신된다.

매개변수
LeaderboardIdleaderboardId
Scorescore
DelegateFHiveProviderGoogleOnLeaderboardsDelegate

◆ ShowAchievements()

static void FHiveProviderGoogle::ShowAchievements ( const FHiveProviderGoogleOnAchievementsDelegate &  Delegate)
static

Google 업적 UI 를 띄운다.


매개변수
DelegateFHiveProviderGoogleOnAchievementsDelegate

◆ ShowLeaderboard()

static void FHiveProviderGoogle::ShowLeaderboard ( const FHiveProviderGoogleOnLeaderboardsDelegate &  Delegate)
static

Google 리더보드 UI 를 띄운다.


매개변수
DelegateFHiveProviderGoogleOnLeaderboardsDelegate
Copyright © Com2uS Platform Corporation. All Right Reserved. 이용약관 개인정보 처리방침