Transaction Action of GS2-Dictionary

ConsumeAction

Gs2Dictionary:DeleteEntriesByUserId

Reset entries

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.
entryModelNamesstring[]List of Entry Names
{
    "action": "Gs2Dictionary:DeleteEntriesByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "entryModelNames": [
            "[string]Entry Name"
        ]
    }
}
action: Gs2Dictionary:DeleteEntriesByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  entryModelNames: 
  - "[string]Entry Name"

Gs2Dictionary:VerifyEntryByUserId

Verify entry by user ID

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
userIdstring
Set #{userId} to replace the currently logged in user ID.
entryModelNamestringEntry Name
verifyTypeenum [‘havent’, ‘have’]Type of verification
{
    "action": "Gs2Dictionary:VerifyEntryByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "entryModelName": "[string]Entry Name",
        "verifyType": "[string]Type of verification"
    }
}
action: Gs2Dictionary:VerifyEntryByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  entryModelName: "[string]Entry Name"
  verifyType: "[string]Type of verification"

AcquireAction

Gs2Dictionary:AddEntriesByUserId

Add entries as obtained by specifying a 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.
entryModelNamesstring[]List of Entry Names
{
    "action": "Gs2Dictionary:AddEntriesByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "userId": "[string]User Id",
        "entryModelNames": [
            "[string]Entry Name"
        ]
    }
}
action: Gs2Dictionary:AddEntriesByUserId
request:
  namespaceName: "[string]Namespace name"
  userId: "[string]User Id"
  entryModelNames: 
    - "[string]Entry Name"