目录

Account

This function depends on the services provided by the Game SDK. The Game SDK may collect personal data of users. Inform users that their personal data will be collected and guide them to read the corresponding privacy policy before they use this function in your quick game.

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.gameLogin(Object object)

Signs in to a game.

qg.gameLoginWithReal(Object object)(1070+)

Implements sign-in with game addiction prevention enabled.

qg.savePlayerInfo(Object object)

Stores a player's role information when the player selects the region and server to sign in to the game, or when the player level changes. If a game does not provide information such as the game level, role name, region and server, or game guild, this API does not need to be integrated.

qg.savePlayerInfoWithReal(Object object)(1070+)

Stores a player's role information.

qg.getCachePlayerId(Object object)(1070+)

Obtains the account ID.

[h2]qg.gameLogin(Object object)

[h2]qg.gameLoginWithReal(Object object)(1070+)

[h2]qg.savePlayerInfo(Object object)

[h2]qg.savePlayerInfoWithReal(Object object)(1070+)

[h2]qg.getCachePlayerId(Object object)(1070+)

Links

[h2]FAQs