HIVE SDK for C++

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

This class manage HIVE SDK configuration

More...

#include <HIVE_Configuration.h>

Public Types

typedef std::function< void(ResultAPI const &result, std::string value)> onGetMetaData
 MetaData request result callback
More...
 

Static Public Member Functions

static std::string getHiveSDKVersion ()
 Returns HIVE SDK Version. More...
 
static std::string getReferenceSDKVersion ()
 Return version of SDK referenced by HIVE SDK. More...
 
static std::string getAppId ()
 Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static void setAppId (std::string appId)
 Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More...
 
static ZoneType getZone ()
 Returns Hive platform server zone. More...
 
static void setZone (ZoneType zone)
 Set Hive Hive platform server zone. More...
 
static std::string getServerId ()
 Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management) More...
 
static void setServerId (std::string serverId)
 Set serverId for server-specific maintenance popup support
(The world value registered in the back office world management should be inputted according to the server.) More...
 
static void updateServerId (std::string serverId)
 Set serverId for server-specific maintenance popup support
(The world value registered in the back office world management should be inputted according to the server.) More...
 
static void setGameLanguage (std::string language)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en"). More...
 
static void updateGameLanguage (std::string language)
 API to reflect language code used in game in module
Just type in two lowercase letters ("en"). More...
 
static bool getUseLog ()
 Returns whether HIVE SDK internal log is used. More...
 
static void setUseLog (bool useLog)
 Set whether HIVE SDK internal log is used. More...
 
static std::string getCompany ()
 Returns company. More...
 
static void setCompany (std::string company)
 Set company. More...
 
static std::string getCompanyIndex ()
 Returns company index. More...
 
static void setCompanyIndex (int companyIndex)
 Set company. More...
 
static std::string getChannel ()
 Returns channel. More...
 
static void setChannel (std::string channel)
 Set channel. More...
 
static int getHttpConnectTimeout ()
 Returns the default value of HTTP Connect Timeout (in seconds) More...
 
static void setHttpConnectTimeout (int httpConnectTimeout)
 Set the value of HTTP Connect Timeout (in seconds) More...
 
static int getHttpReadTimeout ()
 Returns the default value of HTTP Read Timeout (in seconds) More...
 
static void setHttpReadTimeout (int httpReadTimeout)
 Set the value of HTTP Read Timeout (in seconds) More...
 
static int getMaxGameLogSize ()
 Returns maximum number of game logs. More...
 
static void setMaxGameLogSize (int maxGameLogSize)
 Set maximum number of game logs (Note: No change unless special occasion) More...
 
static std::string getMarket ()
 Return market. More...
 
static void setMarket (std::string market)
 Set market. More...
 
static std::string getHiveCountry ()
 HIVE 서버에서 판단한 국가코드를 반환한다. More...
 
static std::string getHiveTimeZone ()
 HIVE 서버에서 판단한 TimeZone 정보를 반환한다. More...
 
static unsigned int getAnalyticsSendLimit ()
 전송 주기마다 전송할 로그의 최대치. More...
 
static void setAnalyticsSendLimit (unsigned int limit)
 전송 주기마다 전송할 로그의 최대치 설정. More...
 
static unsigned int getAnalyticsQueueLimit ()
 최대로 쌓을수 있는 로그의 양. More...
 
static void setAnalyticsQueueLimit (unsigned int limit)
 최대로 쌓을 수 있는 로그의 수 More...
 
static float getAnalyticsSendCycleSeconds ()
 로그 전송 주기. More...
 
static void setAnalyticsSendCycleSeconds (float seconds)
 로그 전송 주기 설정. More...
 
static bool getAgeGateU13 ()
 Hive SDK AgeGateU13 적용 여부 반환 More...
 
static void setAgeGateU13 (bool ageGateU13)
 Hive SDK AgeGateU13 적용 여부 설정 More...
 
static void setHivePermissionViewOn (bool isOn)
 Hive SDK 권한고지 팝업 노출 여부 설정 More...
 
static PermissionViewData getPermissionViewData (HIVELanguage language)
 커스텀 권한고지를 위한 데이터 설정 More...
 
static HiveThemeType getHiveTheme ()
 Hive 커스텀 테마 값 획득 More...
 
static void setHiveTheme (HiveThemeType theme)
 Hive 커스텀 테마 설정 More...
 
static void setHiveOrientation (std::string orientation)
 Hive Orientation 설정 More...
 
static void getMetaData (std::string key, bool forceReload, onGetMetaData listener)
 Game MetaData 요청 More...
 
static void setHiveCommunityUrl (std::string url)
 Hive CommunityUrl 설정 More...
 
static void setUseHercules (bool enable)
 Hercules 사용 여부 설정 More...
 

Detailed Description

This class manage HIVE SDK configuration

Since
4.0.0
Author
ryuvsken

Member Function Documentation

◆ getAgeGateU13()

static bool Configuration::getAgeGateU13 ( )
static

Hive SDK AgeGateU13 적용 여부 반환

Returns
Hive SDK AgeGateU13 적용 여부

◆ getCompany()

static std::string Configuration::getCompany ( )
static

Returns company.

Returns
Company (COM2US : Com2us, GAMEVIL : Gamevil)

◆ getCompanyIndex()

static std::string Configuration::getCompanyIndex ( )
static

Returns company index.

Returns
CompanyIndex (1 : Com2us, 2 : Gamevil)

◆ getHiveTheme()

static HiveThemeType Configuration::getHiveTheme ( )
static

Hive 커스텀 테마 값 획득

Parameters
language타겟 언어
Returns
PermissionViewData

◆ getMetaData()

static void Configuration::getMetaData ( std::string  key,
bool  forceReload,
onGetMetaData  listener 
)
static

Game MetaData 요청

Parameters
key요청 data 키
forceReloadnetwork 통신 여부
API결과 통지

◆ getPermissionViewData()

static PermissionViewData Configuration::getPermissionViewData ( HIVELanguage  language)
static

커스텀 권한고지를 위한 데이터 설정

Parameters
language타겟 언어
Returns
PermissionViewData

◆ setAgeGateU13()

static void Configuration::setAgeGateU13 ( bool  ageGateU13)
static

Hive SDK AgeGateU13 적용 여부 설정

Parameters
ageGateU13Hive SDK AgeGateU13 적용 여부 설정

◆ setHiveCommunityUrl()

static void Configuration::setHiveCommunityUrl ( std::string  url)
static

Hive CommunityUrl 설정

Parameters
url커뮤니티 URL

◆ setHiveOrientation()

static void Configuration::setHiveOrientation ( std::string  orientation)
static

Hive Orientation 설정

Parameters
orientation회전 방향

◆ setHivePermissionViewOn()

static void Configuration::setHivePermissionViewOn ( bool  isOn)
static

Hive SDK 권한고지 팝업 노출 여부 설정

Parameters
isOnHive SDK 권한고지 팝업 노출 여부 설정

◆ setHiveTheme()

static void Configuration::setHiveTheme ( HiveThemeType  theme)
static

Hive 커스텀 테마 설정

Parameters
HiveThemeType

◆ setUseHercules()

static void Configuration::setUseHercules ( bool  enable)
static

Hercules 사용 여부 설정

Parameters
enableHercules 사용 여부 설정

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