버전 비교

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

...

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

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

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

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

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

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