Transaction Action of GS2-Enchant

ConsumeAction

Gs2Enchant:VerifyRarityParameterStatusByUserId

Verification of rarity parameter by specifying the user ID

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
parameterNamestringRarity parameter model name
userIdstring
Set #{userId} to replace the currently logged in user ID.
propertyIdstringProperty ID of the resource that owns the parameter
verifyTypeenum [‘havent’, ‘have’, ‘count’]Type of verification
parameterValueNamestringName
parameterCountintNumber of parameters to verify
{
    "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"
    }
}
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"

AcquireAction

Gs2Enchant:ReDrawBalanceParameterStatusByUserId

Re-draw balance parameter status

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
parameterNamestringBalance parameter model name
propertyIdstringProperty ID of the resource that owns the parameter
fixedParameterNamesstring[]List of Parameter index not to re-draw
{
    "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"
        ]
    }
}
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"

Gs2Enchant:SetBalanceParameterStatusByUserId

Set balance parameter status to any value

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
parameterNamestringBalance parameter model name
propertyIdstringProperty ID of the resource that owns the parameter
parameterValuesBalanceParameterValue[]List of balance parameter values
{
    "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"
            }
        ]
    }
}
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"

Gs2Enchant:ReDrawRarityParameterStatusByUserId

Re-draw rarity parameter status

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
parameterNamestringRarity parameter model name
propertyIdstringProperty ID of the resource that owns the parameter
fixedParameterNamesstring[]List of Parameter index not to re-draw
{
    "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"
        ]
    }
}
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"

Gs2Enchant:AddRarityParameterStatusByUserId

Add rarity parameter

Actions for which quantity can be specified: YES

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
parameterNamestringRarity parameter model name
propertyIdstringProperty ID of the resource that owns the parameter
countintNumber of parameters to add
{
    "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"
    }
}
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"

Gs2Enchant:SetRarityParameterStatusByUserId

Set any value to rarity parameter

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
parameterNamestringRarity parameter model name
propertyIdstringProperty ID of the resource that owns the parameter
parameterValuesRarityParameterValue[]List of rarity parameter values
{
    "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"
            }
        ]
    }
}
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"