Transaction Action of GS2-Quest
ConsumeAction
Gs2Quest:DeleteProgressByUserId
Delete quest progress by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | |
Set #{userId} to replace the currently logged in user ID. |
{
"action": "Gs2Quest:DeleteProgressByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id"
}
}
action: Gs2Quest:DeleteProgressByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
AcquireAction
Gs2Quest:CreateProgressByUserId
Create quest progress by specifying user ID
Actions for which quantity can be specified: NO
Reversible action: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
questModelId | string | Quest model GRN in progress |
force | bool | If have a quest already started, you can discard it and start it |
config | Config[] | Set values to be applied to stamp sheet variables |
{
"action": "Gs2Quest:CreateProgressByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"questModelId": "[string]Quest model GRN in progress",
"force": "[bool]If have a quest already started, you can discard it and start it",
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
]
}
}
action: Gs2Quest:CreateProgressByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
questModelId: "[string]Quest model GRN in progress"
force: "[bool]If have a quest already started, you can discard it and start it"
config:
- key: "[string]Name"
value: "[string]Value"