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

ConsumeAction

AcquireAction

Gs2Lottery:DrawByUserId

ユーザIDを指定して抽選を実行

説明
namespaceNamestringネームスペース名
lotteryNamestring抽選モデルの種類名
userIdstring#{userId} と設定することでログイン中のユーザーIDに置換されます
countint抽選回数
configConfig[]スタンプシートのプレースホルダの適用する設定値
{
    "action": "Gs2Lottery:DrawByUserId",
    "request": {
        "namespaceName": "[string]ネームスペース名",
        "lotteryName": "[string]抽選モデルの種類名",
        "userId": "[string]ユーザーID",
        "count": "[int]抽選回数",
        "config": [
            {
                "key": "[string]名前",
                "value": "[string]値"
            }
        ]
    }
}
action: Gs2Lottery:DrawByUserId
request:
  namespaceName: "[string]ネームスペース名"
  lotteryName: "[string]抽選モデルの種類名"
  userId: "[string]ユーザーID"
  count: "[int]抽選回数"
  config: 
    - key: "[string]名前"
      value: "[string]値"