Transaction Action of GS2-Enchant
VerifyAction
Gs2Enchant:VerifyRarityParameterStatusByUserId
Verify rarity parameter by specifying user ID
Actions for which quantity can be specified: YES
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
parameterName | string | Rarity parameter model name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
propertyId | string | Property ID of the resource that owns the parameter |
verifyType | enum [ “havent”, “have”, “count” ] | Type of verification |
parameterValueName | string | Name |
parameterCount | int | Number of parameters to verify |
multiplyValueSpecifyingQuantity | bool | Whether to multiply the value used for verification when specifying the quantity |
timeOffsetToken | string | Time offset token |
Enumeration type definition to specify as verifyType
Enumerator String Definition | Description |
---|---|
havent | The specified parameter must not be held |
have | The specified parameter must be held |
count | The number of parameters held must be the specified number |
{
"action": "Gs2Enchant:VerifyRarityParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"parameterName": "[string]Rarity parameter model name",
"userId": "[string]User Id",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"verifyType": "[string]Type of verification",
"parameterValueName": "[string]Name",
"parameterCount": "[int]Number of parameters to verify",
"multiplyValueSpecifyingQuantity": "[bool]Whether to multiply the value used for verification when specifying the quantity",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:VerifyRarityParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
parameterName: "[string]Rarity parameter model name"
userId: "[string]User Id"
propertyId: "[string]Property ID of the resource that owns the parameter"
verifyType: "[string]Type of verification"
parameterValueName: "[string]Name"
parameterCount: "[int]Number of parameters to verify"
multiplyValueSpecifyingQuantity: "[bool]Whether to multiply the value used for verification when specifying the quantity"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").consume.verify_rarity_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
parameterName="[string]Rarity parameter model name",
userId="[string]User Id",
propertyId="[string]Property ID of the resource that owns the parameter",
verifyType="[string]Type of verification",
parameterValueName="[string]Name",
parameterCount="[int]Number of parameters to verify",
multiplyValueSpecifyingQuantity="[bool]Whether to multiply the value used for verification when specifying the quantity",
timeOffsetToken="[string]Time offset token",
})
ConsumeAction
AcquireAction
Gs2Enchant:ReDrawBalanceParameterStatusByUserId
Re-draw balance parameter 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. |
parameterName | string | Balance parameter model name |
propertyId | string | Property ID of the resource that owns the parameter |
fixedParameterNames | string[] | List of Parameter index not to re-draw |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enchant:ReDrawBalanceParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"parameterName": "[string]Balance parameter model name",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"fixedParameterNames": [
"[string]Parameter name not to re-draw"
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:ReDrawBalanceParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
parameterName: "[string]Balance parameter model name"
propertyId: "[string]Property ID of the resource that owns the parameter"
fixedParameterNames:
- "[string]Parameter name not to re-draw"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").acquire.re_draw_balance_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
parameterName="[string]Balance parameter model name",
propertyId="[string]Property ID of the resource that owns the parameter",
fixedParameterNames={
"[string]Parameter name not to re-draw"
},
timeOffsetToken="[string]Time offset token",
})
Gs2Enchant:SetBalanceParameterStatusByUserId
Set any value to balance parameter status 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. |
parameterName | string | Balance parameter model name |
propertyId | string | Property ID of the resource that owns the parameter |
parameterValues | BalanceParameterValue[] | List of balance parameter values |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enchant:SetBalanceParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"parameterName": "[string]Balance parameter model name",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"parameterValues": [
{
"name": "[string]Name",
"value": "[long]Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:SetBalanceParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
parameterName: "[string]Balance parameter model name"
propertyId: "[string]Property ID of the resource that owns the parameter"
parameterValues:
- name: "[string]Name"
value: "[long]Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").acquire.set_balance_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
parameterName="[string]Balance parameter model name",
propertyId="[string]Property ID of the resource that owns the parameter",
parameterValues={
{
name="[string]Name",
value="[long]Value"
}
},
timeOffsetToken="[string]Time offset token",
})
Gs2Enchant:ReDrawRarityParameterStatusByUserId
Re-draw rarity parameter status 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. |
parameterName | string | Rarity parameter model name |
propertyId | string | Property ID of the resource that owns the parameter |
fixedParameterNames | string[] | List of Parameter index not to re-draw |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enchant:ReDrawRarityParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"parameterName": "[string]Rarity parameter model name",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"fixedParameterNames": [
"[string]Parameter name not to re-draw"
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:ReDrawRarityParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
parameterName: "[string]Rarity parameter model name"
propertyId: "[string]Property ID of the resource that owns the parameter"
fixedParameterNames:
- "[string]Parameter name not to re-draw"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").acquire.re_draw_rarity_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
parameterName="[string]Rarity parameter model name",
propertyId="[string]Property ID of the resource that owns the parameter",
fixedParameterNames={
"[string]Parameter name not to re-draw"
},
timeOffsetToken="[string]Time offset token",
})
Gs2Enchant:AddRarityParameterStatusByUserId
Add rarity parameter status by specifying user ID
Actions for which quantity can be specified: YES
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
parameterName | string | Rarity parameter model name |
propertyId | string | Property ID of the resource that owns the parameter |
count | int | Number of parameters to add |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enchant:AddRarityParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"parameterName": "[string]Rarity parameter model name",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"count": "[int]Number of parameters to add",
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:AddRarityParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
parameterName: "[string]Rarity parameter model name"
propertyId: "[string]Property ID of the resource that owns the parameter"
count: "[int]Number of parameters to add"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").acquire.add_rarity_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
parameterName="[string]Rarity parameter model name",
propertyId="[string]Property ID of the resource that owns the parameter",
count="[int]Number of parameters to add",
timeOffsetToken="[string]Time offset token",
})
Gs2Enchant:SetRarityParameterStatusByUserId
Set any value to rarity parameter 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. |
parameterName | string | Rarity parameter model name |
propertyId | string | Property ID of the resource that owns the parameter |
parameterValues | RarityParameterValue[] | List of rarity parameter values |
timeOffsetToken | string | Time offset token |
{
"action": "Gs2Enchant:SetRarityParameterStatusByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"userId": "[string]User Id",
"parameterName": "[string]Rarity parameter model name",
"propertyId": "[string]Property ID of the resource that owns the parameter",
"parameterValues": [
{
"name": "[string]Name",
"resourceName": "[string]Resource Name",
"resourceValue": "[long]Resource Value"
}
],
"timeOffsetToken": "[string]Time offset token"
}
}
action: Gs2Enchant:SetRarityParameterStatusByUserId
request:
namespaceName: "[string]Namespace name"
userId: "[string]User Id"
parameterName: "[string]Rarity parameter model name"
propertyId: "[string]Property ID of the resource that owns the parameter"
parameterValues:
- name: "[string]Name"
resourceName: "[string]Resource Name"
resourceValue: "[long]Resource Value"
timeOffsetToken: "[string]Time offset token"
transaction.service("enchant").acquire.set_rarity_parameter_status_by_user_id({
namespaceName="[string]Namespace name",
userId="[string]User Id",
parameterName="[string]Rarity parameter model name",
propertyId="[string]Property ID of the resource that owns the parameter",
parameterValues={
{
name="[string]Name",
resourceName="[string]Resource Name",
resourceValue="[long]Resource Value"
}
},
timeOffsetToken="[string]Time offset token",
})