HIVE SDK for C++

Public Types | Static Public Member Functions | List of all members
ProviderGoogle Class Reference

You can use achievements and leaderboards within Google Play Games. More...

#include <HIVE_ProviderGoogle.h>

Public Types

typedef std::function< void(ResultAPI const &result)> onLeaderboardsResult
 Google Play Games 리더보드 UI 노출 result handler. More...
 
typedef std::function< void(ResultAPI const &result)> onAchievementsResult
 Google Play Games 업적 UI 노출 result handler. More...
 
typedef std::function< void(ResultAPI const &result, std::string const &googlePlayerId, std::string const &authCode)> onGooglePlayerIdResult
 Google Player Id 및 Auth Code 반환 result handler. More...
 

Static Public Member Functions

static void achievementsReveal (const std::string achievementId)
 It show hidden achievements. More...
 
static void achievementsReveal (const std::string achievementId, onAchievementsResult listener)
 It show hidden achievements. More...
 
static void achievementsUnlock (const std::string achievementId)
 It achieve achievements. More...
 
static void achievementsUnlock (const std::string achievementId, onAchievementsResult listener)
 It achieve achievements. More...
 
static void achievementsIncrement (const std::string incrementalAchievementId, const int argValue)
 It increases achievement figures. More...
 
static void achievementsIncrement (const std::string incrementalAchievementId, const int argValue, onAchievementsResult listener)
 It increases achievement figures. More...
 
static void leaderboardsSubmitScore (const std::string leaderboardId, const long long score)
 It update the leaderboard score. More...
 
static void leaderboardsSubmitScore (const std::string leaderboardId, const long long score, onLeaderboardsResult listener)
 It update the leaderboard score. More...
 
static void showLeaderboard (onLeaderboardsResult listener)
 It shows Google Leaderboard UI. More...
 
static void showAchievements (onAchievementsResult listener)
 It shows the Google achievement UI. More...
 
static void getGooglePlayerId (onGooglePlayerIdResult listener)
 It get Google PlayerId and authCode. More...
 

Detailed Description

You can use achievements and leaderboards within Google Play Games.


If it is not connected to Google Play Games, it will try to connect automatically when calling API.
It can be used independently regardless of AuthV4 Connect.
Even if automatic connection is made, it is not connected with the current playerId.

Created by hife on 2017. 6. 7.

Author
hife
Since
4.3.0

The documentation for this class was generated from the following file:
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy