Transaction Action of GS2-LoginReward

ConsumeAction

Gs2LoginReward:MarkReceivedByUserId

Mark as received by specifying user ID

Actions for which quantity can be specified: NO

Reversible action: YES

TypeDescription
namespaceNamestringNamespace name
bonusModelNamestringBonus Model Name
userIdstring
Set #{userId} to replace the currently logged in user ID.
stepNumberintStep Number
{
    "action": "Gs2LoginReward:MarkReceivedByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "bonusModelName": "[string]Bonus Model Name",
        "userId": "[string]User Id",
        "stepNumber": "[int]Step Number"
    }
}
action: Gs2LoginReward:MarkReceivedByUserId
request:
  namespaceName: "[string]Namespace name"
  bonusModelName: "[string]Bonus Model Name"
  userId: "[string]User Id"
  stepNumber: "[int]Step Number"

AcquireAction

Gs2LoginReward:DeleteReceiveStatusByUserId

Delete receive status by specifying user ID

Actions for which quantity can be specified: NO

Reversible action: NO

TypeDescription
namespaceNamestringNamespace name
bonusModelNamestringBonus Model Name
userIdstringSet #{userId} to replace the currently logged in user ID.
{
    "action": "Gs2LoginReward:DeleteReceiveStatusByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "bonusModelName": "[string]Bonus Model Name",
        "userId": "[string]User Id"
    }
}
action: Gs2LoginReward:DeleteReceiveStatusByUserId
request:
  namespaceName: "[string]Namespace name"
  bonusModelName: "[string]Bonus Model Name"
  userId: "[string]User Id"

Gs2LoginReward:UnmarkReceivedByUserId

Mark as received by specifying user ID

Actions for which quantity can be specified: NO

Reversible action: YES

TypeDescription
namespaceNamestringNamespace name
bonusModelNamestringBonus Model Name
userIdstringSet #{userId} to replace the currently logged in user ID.
stepNumberintStep Number
{
    "action": "Gs2LoginReward:UnmarkReceivedByUserId",
    "request": {
        "namespaceName": "[string]Namespace name",
        "bonusModelName": "[string]Bonus Model Name",
        "userId": "[string]User Id",
        "stepNumber": "[int]Step Number"
    }
}
action: Gs2LoginReward:UnmarkReceivedByUserId
request:
  namespaceName: "[string]Namespace name"
  bonusModelName: "[string]Bonus Model Name"
  userId: "[string]User Id"
  stepNumber: "[int]Step Number"