Transaction Action of GS2-Enhance
ConsumeAction
Gs2Enhance:DeleteProgressByUserId
Delete running enhancement 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. | ||
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enhance:DeleteProgressByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enhance:DeleteProgressByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
timeOffsetToken: "[string]Time offset token"
transaction.service("enhance").consume.delete_progress_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
timeOffsetToken="[string]Time offset token",
})
AcquireAction
Gs2Enhance:DirectEnhanceByUserId
Perform enhancement by specifying user ID
If you have enabled transaction auto-execution in your namespace settings, it is recommended that you use this API to perform enhancements. However, if auto-execution is disabled and manual execution is used, this API poses security challenges instead of optimizing execution speed.
While it responds to stamp sheets as well as bonus rates to express “success” and “great success” This allows for sorting by only issuing stamp sheets but not executing them. To prevent selection, the Start / End API in Progress can be used. Consumes reinforcement materials and determines the bonus rate at the timing of the call to Start, and The stamp sheet can be made to issue a stamp sheet to gain experience at the time End is called.
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
rateName | string | Enhanced Rate Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
targetItemSetId | string | Quantity of items held per expiration date GRN |
materials | Material[] | List of Material |
config | Config[] | Set values to be applied to stamp sheet variables |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enhance:DirectEnhanceByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"rateName": "[string]Enhanced Rate Name",
"userId": "[string]User Id",
"targetItemSetId": "[string]Quantity of items held per expiration date GRN",
"materials": [
{
"materialItemSetId": "[string]Quantity of items held per expiration date GRN",
"count": "[int]Number of consumption"
}
],
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enhance:DirectEnhanceByUserId
request:
namespaceName: "[string]Namespace name"
rateName: "[string]Enhanced Rate Name"
userId: "[string]User Id"
targetItemSetId: "[string]Quantity of items held per expiration date GRN"
materials:
- materialItemSetId: "[string]Quantity of items held per expiration date GRN"
count: "[int]Number of consumption"
config:
- key: "[string]Name"
value: "[string]Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("enhance").acquire.direct_enhance_by_user_id({
namespaceName="[string]Namespace name",
rateName="[string]Enhanced Rate Name",
userId="[string]User Id",
targetItemSetId="[string]Quantity of items held per expiration date GRN",
materials={
{
materialItemSetId="[string]Quantity of items held per expiration date GRN",
count="[int]Number of consumption"
}
},
config={
{
key="[string]Name",
value="[string]Value"
}
},
timeOffsetToken="[string]Time offset token",
})
Gs2Enhance:UnleashByUserId
Perform unleash by specifying user ID
Used for enhancement processing to raise the grade of the resource managed by GS2-Grade. In particular, it is used for the type of unleash that raises the level cap by consuming the same type of item as a material.
Instead of consuming the specified material, the grade of the resource to be unleashed can be increased by 1. Even if the material resource has a resource such as experience value, the resource will not be inherited. If inheritance is required, the resource must be converted to a resource for inheritance in advance.
Actions for which quantity can be specified: NO
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
rateName | string | Enhanced Rate Name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
targetItemSetId | string | Quantity of items held per expiration date GRN |
materials | string[] | List of Material |
config | Config[] | Set values to be applied to stamp sheet variables |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enhance:UnleashByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"rateName": "[string]Enhanced Rate Name",
"userId": "[string]User Id",
"targetItemSetId": "[string]Quantity of items held per expiration date GRN",
"materials": [
"[string]Material"
],
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enhance:UnleashByUserId
request:
namespaceName: "[string]Namespace name"
rateName: "[string]Enhanced Rate Name"
userId: "[string]User Id"
targetItemSetId: "[string]Quantity of items held per expiration date GRN"
materials:
- "[string]Material"
config:
- key: "[string]Name"
value: "[string]Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("enhance").acquire.unleash_by_user_id({
namespaceName="[string]Namespace name",
rateName="[string]Enhanced Rate Name",
userId="[string]User Id",
targetItemSetId="[string]Quantity of items held per expiration date GRN",
materials={
"[string]Material"
},
config={
{
key="[string]Name",
value="[string]Value"
}
},
timeOffsetToken="[string]Time offset token",
})
Gs2Enhance:CreateProgressByUserId
Create running enhancements by specifying user IDs
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. |
rateName | string | Rate Model Name |
targetItemSetId | string | Quantity of items held per expiration date GRN |
materials | Material[] | List of materials |
force | bool | If there is an enhancement that has already been started, it can be discarded and started, or |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enhance:CreateProgressByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"rateName": "[string]Rate Model Name",
"targetItemSetId": "[string]Quantity of items held per expiration date GRN",
"materials": [
{
"materialItemSetId": "[string]Quantity of items held per expiration date GRN",
"count": "[int]Number of consumption"
}
],
"force": "[bool]If there is an enhancement that has already been started, it can be discarded and started, or",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enhance:CreateProgressByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
rateName: "[string]Rate Model Name"
targetItemSetId: "[string]Quantity of items held per expiration date GRN"
materials:
- materialItemSetId: "[string]Quantity of items held per expiration date GRN"
count: "[int]Number of consumption"
force: "[bool]If there is an enhancement that has already been started, it can be discarded and started, or"
timeOffsetToken: "[string]Time offset token"
transaction.service("enhance").acquire.create_progress_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
rateName="[string]Rate Model Name",
targetItemSetId="[string]Quantity of items held per expiration date GRN",
materials={
{
materialItemSetId="[string]Quantity of items held per expiration date GRN",
count="[int]Number of consumption"
}
},
force="[bool]If there is an enhancement that has already been started, it can be discarded and started, or",
timeOffsetToken="[string]Time offset token",
})