GS2-Dictionary トランザクションアクション

ConsumeAction

Gs2Dictionary:DeleteEntriesByUserId

エントリーをリセット

数量指定可能なアクション:いいえ

反転可能なアクション:はい

説明
namespaceNamestringネームスペース名
userIdstring#{userId} と設定することでログイン中のユーザーIDに置換されます
entryModelNamesstring[]エントリー名のリスト
{
    "action": "Gs2Dictionary:DeleteEntriesByUserId",
    "request": {
        "namespaceName": "[string]ネームスペース名",
        "userId": "[string]ユーザーID",
        "entryModelNames": [
            "[string]エントリー名"
        ]
    }
}
action: Gs2Dictionary:DeleteEntriesByUserId
request:
  namespaceName: "[string]ネームスペース名"
  userId: "[string]ユーザーID"
  entryModelNames: 
  - "[string]エントリー名"

Gs2Dictionary:VerifyEntryByUserId

ユーザーIDを指定してエントリーを検証

数量指定可能なアクション:いいえ

反転可能なアクション:いいえ

説明
namespaceNamestringネームスペース名
userIdstring#{userId} と設定することでログイン中のユーザーIDに置換されます
entryModelNamestringエントリーの名
verifyTypeenum [‘havent’, ‘have’]検証の種類
{
    "action": "Gs2Dictionary:VerifyEntryByUserId",
    "request": {
        "namespaceName": "[string]ネームスペース名",
        "userId": "[string]ユーザーID",
        "entryModelName": "[string]エントリーの名",
        "verifyType": "[string]検証の種類"
    }
}
action: Gs2Dictionary:VerifyEntryByUserId
request:
  namespaceName: "[string]ネームスペース名"
  userId: "[string]ユーザーID"
  entryModelName: "[string]エントリーの名"
  verifyType: "[string]検証の種類"

AcquireAction

Gs2Dictionary:AddEntriesByUserId

ユーザIDを指定してエントリーを入手済みとして登録

数量指定可能なアクション:いいえ

反転可能なアクション:はい

説明
namespaceNamestringネームスペース名
userIdstring#{userId} と設定することでログイン中のユーザーIDに置換されます
entryModelNamesstring[]エントリー名のリスト
{
    "action": "Gs2Dictionary:AddEntriesByUserId",
    "request": {
        "namespaceName": "[string]ネームスペース名",
        "userId": "[string]ユーザーID",
        "entryModelNames": [
            "[string]エントリー名"
        ]
    }
}
action: Gs2Dictionary:AddEntriesByUserId
request:
  namespaceName: "[string]ネームスペース名"
  userId: "[string]ユーザーID"
  entryModelNames: 
    - "[string]エントリー名"