API | Description |
|---|---|
Obtains the parameters carried when a quick game is started. | |
Executed after the page is loaded. |
Obtains the parameters carried when a quick game is started.
The output parameters depend on the parameters provided in the deep link. In addition to the following parameters, the custom parameters are also returned.
Parameter | Type | Description |
|---|---|---|
gameGiftId | string | Game gift pack ID. |
giftUri | string | URL of the gift pack page, that is, the redirection URL set when a developer creates a gift pack. After the game is started, the gift pack page is displayed based on the gift pack URL. |
userEntry | string | Channel platform. The options are as follows: 101: Ocean Engine 102: Tencent platform 900–999: custom channel platforms |
var queryString = JSON.stringify(this.$page.query);