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 bool getAgeGateU16Agree ()
 Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부 반환 More...
 
static bool getLegalGuardianConsentAgree ()
 Hive SDK 법정대리인 동의 여부 More...
 
static void setHivePermissionViewOn (bool isOn)
 Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부 설정 (not support) 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...
 
static bool getCrossPromotionBannerShowing ()
 Hive 크로스프로모션 노출 여부 반환 More...
 
static void setCrossPromotionBannerShowing (bool expose)
 Hive 크로스프로모션 노출 여부 설정 More...
 
static void setUsePrivateBrowsingForAuth (bool use)
 시크릿 모드 설정 More...
 
static bool getEnableGameController ()
 컨트롤러 사용 여부 반환 More...
 
static void setEnableGameController (bool enable)
 컨트롤러 사용 여부 설정 More...
 
static int getChatConnectionTimeout ()
 HiveChat 타임아웃 설정 시간 반환 More...
 
static void setChatConnectionTimeout (int time)
 HiveChat 타임아웃 설정 시간 설정 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 적용 여부

◆ getAgeGateU16Agree()

static bool Configuration::getAgeGateU16Agree ( )
static

Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부 반환

Returns
Hive SDK GDPR 국가에서 16세 미만 약관 동의 여부

◆ getChatConnectionTimeout()

static int Configuration::getChatConnectionTimeout ( )
static

HiveChat 타임아웃 설정 시간 반환

Returns
HiveChat 타임아웃 설정 시간

◆ 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)

◆ getCrossPromotionBannerShowing()

static bool Configuration::getCrossPromotionBannerShowing ( )
static

Hive 크로스프로모션 노출 여부 반환

Returns
Hive 크로스프로모션 노출 여부

◆ getEnableGameController()

static bool Configuration::getEnableGameController ( )
static

컨트롤러 사용 여부 반환

Returns
enable 컨트롤러를 활성화 상태 true, 비활성화 상태 false 리턴

◆ getHiveTheme()

static HiveThemeType Configuration::getHiveTheme ( )
static

Hive 커스텀 테마 값 획득

Parameters
language타겟 언어
Returns
PermissionViewData

◆ getLegalGuardianConsentAgree()

static bool Configuration::getLegalGuardianConsentAgree ( )
static

Hive SDK 법정대리인 동의 여부

Returns
Hive SDK 법정대리인 동의 여부

◆ 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 적용 여부 설정

◆ setChatConnectionTimeout()

static void Configuration::setChatConnectionTimeout ( int  time)
static

HiveChat 타임아웃 설정 시간 설정

Parameters
timeHiveChat 타임아웃 설정 시간

◆ setCrossPromotionBannerShowing()

static void Configuration::setCrossPromotionBannerShowing ( bool  expose)
static

Hive 크로스프로모션 노출 여부 설정

Parameters
bExposeHive 크로스프로모션 노출 여부 설정

◆ setEnableGameController()

static void Configuration::setEnableGameController ( bool  enable)
static

컨트롤러 사용 여부 설정

Parameters
enable컨트롤러를 활성화하려면 true, 비활성화하려면 false를 입력

◆ 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 GDPR 국가에서 16세 미만 약관 동의 여부 설정 (not support)

Parameters
ageGateU16AgreeHive SDK GDPR 국가에서 16세 미만 약관 동의 여부 설정 Hive SDK 권한고지 팝업 노출 여부 설정
isOnHive SDK 권한고지 팝업 노출 여부 설정

◆ setHiveTheme()

static void Configuration::setHiveTheme ( HiveThemeType  theme)
static

Hive 커스텀 테마 설정

Parameters
HiveThemeType

◆ setUseHercules()

static void Configuration::setUseHercules ( bool  enable)
static

Hercules 사용 여부 설정

Parameters
enableHercules 사용 여부 설정

◆ setUsePrivateBrowsingForAuth()

static void Configuration::setUsePrivateBrowsingForAuth ( bool  use)
static

시크릿 모드 설정

Parameters
use시크릿 모드 사용 여부. true로 설정하면 시크릿 모드 사용, false로 설정하면 일반 모드로 작동 별도 설정이 없으면 기본값으로 시크릿 모드로 작동

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