Transaction Action of GS2-Lottery
ConsumeAction
AcquireAction
Gs2Lottery:DrawByUserId
Drawing lots by specifying user IDs
Actions for which quantity can be specified: YES
Reversible action: NO
Type | Description | |
---|---|---|
namespaceName | string | Namespace name |
lotteryName | string | Name of lottery model type |
userId | string | Set #{userId} to replace the currently logged in user ID. |
count | int | Number of draws |
config | Config[] | Stamp sheet placeholder applied settings values |
{
"action": "Gs2Lottery:DrawByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"lotteryName": "[string]Name of lottery model type",
"userId": "[string]User Id",
"count": "[int]Number of draws",
"config": [
{
"key": "[string]Name",
"value": "[string]Value"
}
]
}
}
action: Gs2Lottery:DrawByUserId
request:
namespaceName: "[string]Namespace name"
lotteryName: "[string]Name of lottery model type"
userId: "[string]User Id"
count: "[int]Number of draws"
config:
- key: "[string]Name"
value: "[string]Value"