18#ifndef __HIVE_CONFIGURATION_H__
19#define __HIVE_CONFIGURATION_H__
24#include "HIVE_PermissionView.h"
35enum class HiveConfigType;
72 typedef std::function<void(
ResultAPI const& result,
const char* value)> onGetMetaDataChar;
74 static std::string getConfiguration();
139 static std::string getHiveCertificationKey();
140 static void setHiveCertificationKey(std::string appKey);
591 static void setConfigurations(HiveConfigType configType,std::string value);
620 static void executeEngine(picojson::value jsonParam);
677enum class HiveConfigType {
678 googleServerClientId,
695 HIVESDK_DLLEXPORT
const char* ConfigurationGetConfigurationJsonString();
696 HIVESDK_DLLEXPORT
void ConfigurationSetConfigurations(hive::HiveConfigType configType,
const char* value);
698 HIVESDK_DLLEXPORT
const char* ConfigurationGetCompany();
699 HIVESDK_DLLEXPORT
const char* ConfigurationGetHIVECountry();
700 HIVESDK_DLLEXPORT
const char* ConfigurationGetChannel();
701 HIVESDK_DLLEXPORT
void ConfigurationSetChannel(
const char* channel);
702 HIVESDK_DLLEXPORT
void ConfigurationSetGameLanguage(
const char* language);
703 HIVESDK_DLLEXPORT
void ConfigurationUpdateGameLanguage(
const char* newValue);
704 HIVESDK_DLLEXPORT
const char* ConfigurationGetHIVESDKVersion();
705 HIVESDK_DLLEXPORT
const char* ConfigurationGetReferenceSDKVersion();
706 HIVESDK_DLLEXPORT
const char* ConfigurationGetAppId();
707 HIVESDK_DLLEXPORT
void ConfigurationSetAppId(
const char* appId);
708 HIVESDK_DLLEXPORT
const char* ConfigurationGetServerId();
709 HIVESDK_DLLEXPORT
void ConfigurationSetServerId(
const char* serverId);
710 HIVESDK_DLLEXPORT
void ConfigurationUpdateServerId(
const char* serverId);
711 HIVESDK_DLLEXPORT
const char* ConfigurationGetMarket();
713 HIVESDK_DLLEXPORT
void ConfigurationGetMetaData(
const char* key,
bool forceReload, hive::Configuration::onGetMetaDataChar listener);
This class manage HIVE SDK configuration
Definition: HIVE_Configuration.h:49
static void setAgeGateU13(bool ageGateU13)
Hive SDK AgeGateU13 적용 여부 설정
static bool getAgeGateU13()
Hive SDK AgeGateU13 적용 여부 반환
static HiveThemeType getHiveTheme()
Hive 커스텀 테마 값 획득
static void setHiveCommunityUrl(std::string url)
Hive CommunityUrl 설정
static void setHiveOrientation(std::string orientation)
Hive Orientation 설정
static void setHiveTheme(HiveThemeType theme)
Hive 커스텀 테마 설정
static void setHivePermissionViewOn(bool isOn)
Hive SDK 권한고지 팝업 노출 여부 설정
static void getMetaData(std::string key, bool forceReload, onGetMetaData listener)
Game MetaData 요청
static std::string getCompany()
Returns company.
static PermissionViewData getPermissionViewData(HIVELanguage language)
커스텀 권한고지를 위한 데이터 설정
static std::string getCompanyIndex()
Returns company index.
static void setUseHercules(bool enable)
Hercules 사용 여부 설정
Definition: HIVE_ResultAPI.h:63
static void setAnalyticsQueueLimit(unsigned int limit)
최대로 쌓을 수 있는 로그의 수
static void setServerId(std::string serverId)
Set serverId for server-specific maintenance popup support (The world value registered in the back o...
static void setMarket(std::string market)
Set market.
static void setMaxGameLogSize(int maxGameLogSize)
Set maximum number of game logs (Note: No change unless special occasion)
HIVELanguage
HIVE Platform languages supported.
Definition: HIVE_Configuration.h:646
ZoneType
Hive Platform server zone type.
Definition: HIVE_Configuration.h:630
static std::string getAppId()
Returns AppId (By default, AppId will be set to the package name in the AndroidManifest....
static int getHttpReadTimeout()
Returns the default value of HTTP Read Timeout (in seconds)
static unsigned int getAnalyticsSendLimit()
전송 주기마다 전송할 로그의 최대치.
static void setHttpConnectTimeout(int httpConnectTimeout)
Set the value of HTTP Connect Timeout (in seconds)
static void setGameLanguage(std::string language)
API to reflect language code used in game in module Just type in two lowercase letters ("en").
static bool getUseLog()
Returns whether HIVE SDK internal log is used.
static std::string getHiveSDKVersion()
Returns HIVE SDK Version.
static void setHttpReadTimeout(int httpReadTimeout)
Set the value of HTTP Read Timeout (in seconds)
static std::string getReferenceSDKVersion()
Return version of SDK referenced by HIVE SDK.
HiveThemeType
Hive theme.
Definition: HIVE_Configuration.h:672
static std::string getServerId()
Return serverId for server-specific maintenance popup support (The world value registered in the bac...
static void setAppId(std::string appId)
Set AppId (By default, AppId will be set to the package name in the AndroidManifest....
static void updateServerId(std::string serverId)
Set serverId for server-specific maintenance popup support (The world value registered in the back o...
static float getAnalyticsSendCycleSeconds()
로그 전송 주기.
static void setZone(ZoneType zone)
Set Hive Hive platform server zone.
static void setCompanyIndex(int companyIndex)
Set company.
static std::string getMarket()
Return market.
static std::string getHiveTimeZone()
HIVE 서버에서 판단한 TimeZone 정보를 반환한다.
static void setAnalyticsSendCycleSeconds(float seconds)
로그 전송 주기 설정.
static void setCompany(std::string company)
Set company.
static ZoneType getZone()
Returns Hive platform server zone.
static void setUseLog(bool useLog)
Set whether HIVE SDK internal log is used.
static void updateGameLanguage(std::string language)
API to reflect language code used in game in module Just type in two lowercase letters ("en").
static std::string getHiveCountry()
HIVE 서버에서 판단한 국가코드를 반환한다.
std::function< void(ResultAPI const &result, std::string value)> onGetMetaData
MetaData request result callback
Definition: HIVE_Configuration.h:71
static int getHttpConnectTimeout()
Returns the default value of HTTP Connect Timeout (in seconds)
static std::string getChannel()
Returns channel.
static int getMaxGameLogSize()
Returns maximum number of game logs.
static void setAnalyticsSendLimit(unsigned int limit)
전송 주기마다 전송할 로그의 최대치 설정.
static unsigned int getAnalyticsQueueLimit()
최대로 쌓을수 있는 로그의 양.
static void setChannel(std::string channel)
Set channel.
@ SANDBOX
Hive 플랫폼 서버 외부 개발