Transaction Action of GS2-Dictionary
ConsumeAction
Gs2Dictionary:DeleteEntriesByUserId
Reset entries
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. | ||
entryModelNames | string[] | 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
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | |
Set #{userId} to replace the currently logged in user ID. | ||
entryModelName | string | Entry Name |
verifyType | enum [‘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
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
userId | string | Set #{userId} to replace the currently logged in user ID. |
entryModelNames | string[] | 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"