Transaction Action of GS2-SkillTree

ConsumeAction

Gs2SkillTree:MarkRestrainByUserId

Restrain an status by user ID

Actions for which quantity can be specified: NO

Reversible action: YES

TypeDescription
namespaceNamestringNamespace name
userIdstring
Set #{userId} to replace the currently logged in user ID.
nodeModelNamesstring[]List of node model names
{
    "action": "Gs2SkillTree:MarkRestrainByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "nodeModelNames": [
            "[string]Node Model Name"
        ]
    }
}
action: Gs2SkillTree:MarkRestrainByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  nodeModelNames: 
  - "[string]Node Model Name"

AcquireAction

Gs2SkillTree:MarkReleaseByUserId

Mark an status as released by user ID

Actions for which quantity can be specified: NO

Reversible action: YES

TypeDescription
namespaceNamestringNamespace name
userIdstringSet #{userId} to replace the currently logged in user ID.
nodeModelNamesstring[]List of node model names
{
    "action": "Gs2SkillTree:MarkReleaseByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "nodeModelNames": [
            "[string]Node Model Name"
        ]
    }
}
action: Gs2SkillTree:MarkReleaseByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  nodeModelNames: 
    - "[string]Node Model Name"