/
System Information

System Information

This guide explains how to integrate system information into the game.


What is System Information?

  • This API provides information about the current device.

Provided Information

Information

Meaning

Information

Meaning

Language Code

  • Retrieves the language setting information of the device, returning a value according to the ISO 639-1 standard

Country Code
(Two APIs Provided)

  • Priority for retrieving the country code

    • Priority 1) Cached country code

      • If no cached country code is available, Priority 1 is used.

    • Priority 2) GEO IP-based country code

      • Sends an asynchronous request to the server.

      • If errors "1001" or "2001" occur, an error will be raised in the start function that calls this.

      • If retrieved successfully, the information is cached.

      • In all situations where the country code cannot be retrieved properly (including when the code is "zz"), Priority 3 is used.

    • The country code follows the ISO 3166-1 alpha-2 standard, and if no country information is available, "zz" is returned.

    • The country information stored in the user’s DB at the time of the first login is used to restrict (or allow) the service range for the user and the app (game) based on geographic information (Geo IP).

    • Cached country information is reset under certain conditions. However, the country information stored in the user’s DB is only deleted upon account deletion. Therefore, after the cache is reset, the cached information will match the user’s country information upon re-login. (In the case of a new registration after account deletion, both the user DB and cached country information will be stored anew.)

  • GEO IP-based Country Code

    • The country code is returned based on the Geo IP of the network to which the device is currently connected.

    • This country information, stored in the user’s DB at the time of the first login, is used to restrict (or allow) the service range for the user and the app (game) based on geographic information (Geo IP).

Device ID

  • Returns a value that uniquely identifies the device. This value changes if the device is reset.

Device Model

  • Returns the model information of the current device.

OS Name

  • Returns the name of the current device's OS (android/ios).

Network Connection Status

  • Returns whether the current device is connected to an external network.

Connected Network Type

  • Retrieves the type of network to which the current device is connected (wifi/cellular/unknown).

Related content