버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
목차 영역
목차

시스템 정보

...

System Information

Retrieve Language Code

발췌
namesystem_language_code

기기에 설정되어 있는 언어 설정 정보를 가져오며, 언어 코드는 Retrieves the language setting information of the device, returning a language code according to the ISO 639-1 표준에 따른 값을 반환한다standard.

...

Retrieve Country Code

발췌
namesystem_country_code

SDK에서는 최초 GeoIP 기준으로 국가코드 수집한다. 국가 코드는 The SDK collects the country code based on the initial GeoIP. The country code follows the ISO 3166-1 alpha-2 표준을 따르며 국가 정보가 없을 경우에는 standard, and if no country information is available, "zz" 를 반환한다.
국가 코드는 최초 앱 실행 시의 판단한 국가 코드를 유지하지만, 로그인한 유저의 국가 코드 정보가 다른 경우 유저의 국가 코드 정보를 따른다is returned.
The country code initially determined when the app is first run is maintained, but if the logged-in user's country code information differs, the user's country code information is followed.

...

Retrieve IP-based Country Code

발췌
namesystem_geo_country_code

기기가 현재 접속한 네트워크의 IP기반으로 한 countryCode 값을 리턴한다Returns the country code based on the IP of the network to which the device is currently connected.

...

Retrieve Device ID

발췌
namesystem_device_id

기기 아이디는 해당 기기를 구분할 수 있는 값을 반환하며 기기 초기화 시 변경된다Returns a value that uniquely identifies the device. This value changes if the device is reset.

...

Retrieve Device Model

발췌
namesystem_device_model

현재 기기의 모델 정보를 반환한다Returns the model information of the current device.

Retrieve OS

...

Name

발췌
namesystem_os_name

현재 기기의 OS 이름Returns the name of the current device's OS (android/ios)을 반환 한다.

...

Retrieve Network Connection Status

발췌
namesystem_is_network_connected

현재 기기가 외부 네트워크에 연결 되어 있는지 여부를 반환한다Returns whether the current device is connected to an external network.

...

Retrieve Connected Network Type

발췌
namesystem_network_type

현재 기기가 외부 네트워크에 연결 되어 있는 방식Retrieves the type of network to which the current device is connected (wifi/cellular/unknown)을 가져온다.

...

Retrieve Set Game Language Code

발췌
namesystem_game_language_code

설정된 게임 언어 코드를 반환한다.

설정된 언어 코드가 없는 경우 기기에 설정되어 있는 언어 설정 정보를 가져오며, 언어 코드는 ISO 639-1 표준에 따른 값을 반환한다Returns the set game language code.
If no set language code is available, it retrieves the language setting information of the device, returning a language code according to the ISO 639-1 standard.

...

Set Game Language Code

발췌
namesystem_set_game_language_code

게임에서 사용하는 언어를 플랫폼에서 동기화 해서 사용하도록 설정한다.

  1. 유저가 설정에서 게임의 언어를 변경할 때 API를 호출하여 플랫폼 언어를 설정 후 게임 내 데이터에 해당 값을 저장한다.

  2. 다음 게임 시작 시 저장된 설정 게임 언어가 있는 경우 Start API호출 이전에 호출하여 저장된 게임 언어로 플랫폼을 시작할 수 있다.

아래와 같은 언어 코드를 지원한다.

  • device: 디바이스 설정 값(default) 사용 시 기기의 언어 값으로 플랫폼이 설정된다. 특정 언어로 설정했다가 기기의 설정으로 되돌리고 싶을 때 사용한다.

  • en: 영어

  • ko: 한국어

  • ja: 일어

  • zh_hant: 중국어 (번체)

  • zh_hans: 중국어 (간체)

    Configures the platform to synchronize the language used in the game.

    1. When the user changes the game's language in the settings, this API is called to set the platform language, and the corresponding value is saved in the game data.

    2. If there is a saved game language setting, the platform can be started with the saved game language by calling this API before the Start API during the next game launch.

    The following language codes are supported:

    • device: Uses the device's language setting value (default). This is used when you want to revert to the device's setting after setting a specific language.

    • en: English

    • ko: Korean

    • ja: Japanese

    • zh_hant: Traditional Chinese

    • zh_hans: Simplified Chinese