Buff Reference of GS2-Money2
GS2-Buff for setting the fields whose parameters can be corrected and the range of their applicability
Note
See BuffEntryModel for more information on the buff entry model.Action
Types of actions that can apply buffs
Gs2Money2:DepositByUserId
Deposit balance to wallet by specifying user ID
Field name within the model to which the buff is applied
count
Count
"targetAction": {
"targetActionName": "Gs2Money2:DepositByUserId",
"targetFieldName": "count",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Money2:Wallet
"conditionGrns": [
{
"targetModelName": "Gs2Money2:Wallet",
"targetGrn": "grn:gs2:any:any:money2:{namespaceName}:user:any:wallet:{slot}"
}
]
Gs2Money2:Withdraw
Withdraw balance from wallet
Field name within the model to which the buff is applied
withdrawCount
Quantity of billable currency to be consumed
"targetAction": {
"targetActionName": "Gs2Money2:Withdraw",
"targetFieldName": "withdrawCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Money2:Wallet
"conditionGrns": [
{
"targetModelName": "Gs2Money2:Wallet",
"targetGrn": "grn:gs2:any:any:money2:{namespaceName}:user:any:wallet:{slot}"
}
]
Gs2Money2:WithdrawByUserId
Withdraw balance from wallet by specifying user ID
Field name within the model to which the buff is applied
withdrawCount
Quantity of billable currency to be consumed
"targetAction": {
"targetActionName": "Gs2Money2:WithdrawByUserId",
"targetFieldName": "withdrawCount",
"conditionGrns": [
],
"rate": 1.0
}
Model name for buff application conditions
Gs2Money2:Wallet
"conditionGrns": [
{
"targetModelName": "Gs2Money2:Wallet",
"targetGrn": "grn:gs2:any:any:money2:{namespaceName}:user:any:wallet:{slot}"
}
]