This class manage HIVE SDK configuration
More...
Classes | |
class | Configuration |
This class manage HIVE SDK configuration More... | |
Typedefs | |
typedef std::function< void(ResultAPI const &result, std::string value)> | Configuration::onGetMetaData |
MetaData request result callback More... | |
Enumerations | |
enum class | ZoneType { ZoneType::SANDBOX , ZoneType::TEST , ZoneType::REAL , ZoneType::DEV } |
Hive Platform server zone type. More... | |
enum class | HIVELanguage |
HIVE Platform languages supported. More... | |
enum class | HiveThemeType |
Hive theme. More... | |
Functions | |
static std::string | Configuration::getHiveSDKVersion () |
Returns HIVE SDK Version. More... | |
static std::string | Configuration::getReferenceSDKVersion () |
Return version of SDK referenced by HIVE SDK. More... | |
static std::string | Configuration::getAppId () |
Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More... | |
static void | Configuration::setAppId (std::string appId) |
Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file. More... | |
static ZoneType | Configuration::getZone () |
Returns Hive platform server zone. More... | |
static void | Configuration::setZone (ZoneType zone) |
Set Hive Hive platform server zone. More... | |
static std::string | Configuration::getServerId () |
Return serverId for server-specific maintenance popup support (The world value registered in the back office world management) More... | |
static void | Configuration::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 | Configuration::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 | Configuration::setGameLanguage (std::string language) |
API to reflect language code used in game in module Just type in two lowercase letters ("en"). More... | |
static void | Configuration::updateGameLanguage (std::string language) |
API to reflect language code used in game in module Just type in two lowercase letters ("en"). More... | |
static bool | Configuration::getUseLog () |
Returns whether HIVE SDK internal log is used. More... | |
static void | Configuration::setUseLog (bool useLog) |
Set whether HIVE SDK internal log is used. More... | |
static void | Configuration::setCompany (std::string company) |
Set company. More... | |
static void | Configuration::setCompanyIndex (int companyIndex) |
Set company. More... | |
static std::string | Configuration::getChannel () |
Returns channel. More... | |
static void | Configuration::setChannel (std::string channel) |
Set channel. More... | |
static int | Configuration::getHttpConnectTimeout () |
Returns the default value of HTTP Connect Timeout (in seconds) More... | |
static void | Configuration::setHttpConnectTimeout (int httpConnectTimeout) |
Set the value of HTTP Connect Timeout (in seconds) More... | |
static int | Configuration::getHttpReadTimeout () |
Returns the default value of HTTP Read Timeout (in seconds) More... | |
static void | Configuration::setHttpReadTimeout (int httpReadTimeout) |
Set the value of HTTP Read Timeout (in seconds) More... | |
static int | Configuration::getMaxGameLogSize () |
Returns maximum number of game logs. More... | |
static void | Configuration::setMaxGameLogSize (int maxGameLogSize) |
Set maximum number of game logs (Note: No change unless special occasion) More... | |
static std::string | Configuration::getMarket () |
Return market. More... | |
static void | Configuration::setMarket (std::string market) |
Set market. More... | |
static std::string | Configuration::getHiveCountry () |
HIVE 서버에서 판단한 국가코드를 반환한다. More... | |
static std::string | Configuration::getHiveTimeZone () |
HIVE 서버에서 판단한 TimeZone 정보를 반환한다. More... | |
static unsigned int | Configuration::getAnalyticsSendLimit () |
전송 주기마다 전송할 로그의 최대치. More... | |
static void | Configuration::setAnalyticsSendLimit (unsigned int limit) |
전송 주기마다 전송할 로그의 최대치 설정. More... | |
static unsigned int | Configuration::getAnalyticsQueueLimit () |
최대로 쌓을수 있는 로그의 양. More... | |
static void | Configuration::setAnalyticsQueueLimit (unsigned int limit) |
최대로 쌓을 수 있는 로그의 수 More... | |
static float | Configuration::getAnalyticsSendCycleSeconds () |
로그 전송 주기. More... | |
static void | Configuration::setAnalyticsSendCycleSeconds (float seconds) |
로그 전송 주기 설정. More... | |
This class manage HIVE SDK configuration
typedef std::function<void(ResultAPI const & result,std::string value)> Configuration::onGetMetaData |
MetaData request result callback
result | Result of API call |
value | The metadata value that matches the key |
|
strong |
HIVE Platform languages supported.
|
strong |
Hive theme.
|
strong |
|
static |
최대로 쌓을수 있는 로그의 양.
|
static |
로그 전송 주기.
|
static |
전송 주기마다 전송할 로그의 최대치.
|
static |
Returns AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
However, it supports changes to API calls for reasons such as test setup.)
|
static |
Returns channel.
|
static |
HIVE 서버에서 판단한 국가코드를 반환한다.
|
static |
Returns HIVE SDK Version.
|
static |
HIVE 서버에서 판단한 TimeZone 정보를 반환한다.
|
static |
Returns the default value of HTTP Connect Timeout (in seconds)
|
static |
Returns the default value of HTTP Read Timeout (in seconds)
|
static |
Return market.
|
static |
Returns maximum number of game logs.
|
static |
Return version of SDK referenced by HIVE SDK.
|
static |
Return serverId for server-specific maintenance popup support
(The world value registered in the back office world management)
|
static |
Returns whether HIVE SDK internal log is used.
|
static |
Returns Hive platform server zone.
|
static |
최대로 쌓을 수 있는 로그의 수
limit | 최대 대기 가능한 로그의 수 |
|
static |
로그 전송 주기 설정.
seconds | 전송 주기 (초) |
|
static |
전송 주기마다 전송할 로그의 최대치 설정.
limit | 전송주기마다 전송할 최대 로그의 양 |
|
static |
Set AppId (By default, AppId will be set to the package name in the AndroidManifest.xml file.
However, it supports changes to API calls for reasons such as test setup.)
appId | AppId |
|
static |
Set channel.
Channel | (HIVE : HIVE Platform) |
|
static |
Set company.
Company | (COM2US : Com2us, GAMEVIL : Gamevil) |
|
static |
Set company.
CompanyIndex | (1 : Com2us, 2 : Gamevil) |
|
static |
API to reflect language code used in game in module
Just type in two lowercase letters ("en").
ISO 639-1 format.
Internally, uppercase characters are converted to lowercase characters. Alphabetic case rules follow US rules.
language | Language code used in game. |
|
static |
Set the value of HTTP Connect Timeout (in seconds)
Value | of HTTP Connect Timeout (in seconds) |
|
static |
Set the value of HTTP Read Timeout (in seconds)
Value | of HTTP Read Timeout (in seconds) |
|
static |
Set market.
market | Market (google, tstore, olleh, ozstore, googleplay_lebi) |
|
static |
Set maximum number of game logs (Note: No change unless special occasion)
maxGameLogSize | Maximum number of game logs |
|
static |
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.)
serverId | for server-specific maintenance popup support |
|
static |
Set whether HIVE SDK internal log is used.
useLog | Whether HIVE SDK internal log is used |
|
static |
Set Hive Hive platform server zone.
zone | Hive platform server zone (sandbox : for development, real : for production) |
|
static |
API to reflect language code used in game in module
Just type in two lowercase letters ("en").
ISO 639-1 format.
Internally, uppercase characters are converted to lowercase characters. Alphabetic case rules follow US rules.
language | Language code used in game. |
|
static |
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.)
serverId | for server-specific maintenance popup support |