Buff Reference of GS2-Money

GS2-Buff for setting the fields whose parameters can be corrected and the range of their applicability

Action

Types of actions that can apply buffs

Gs2Money:DepositByUserId

Deposit balance to wallet by specifying user ID

Field name within the model to which the buff is applied

count

Quantity of billable currency to be granted

"targetAction": {
    "targetActionName": "Gs2Money:DepositByUserId",
    "targetFieldName": "count",
    "conditionGrns": [
    ],
    "rate": 1.0
}
Model name for buff application conditions
Gs2Money:Wallet
"conditionGrns": [
    {
        "targetModelName": "Gs2Money:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money:Withdraw

Consume balance from wallet

Field name within the model to which the buff is applied

count

Quantity of billable currency to be consumed

"targetAction": {
    "targetActionName": "Gs2Money:Withdraw",
    "targetFieldName": "count",
    "conditionGrns": [
    ],
    "rate": 1.0
}
Model name for buff application conditions
Gs2Money:Wallet
"conditionGrns": [
    {
        "targetModelName": "Gs2Money:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money:WithdrawByUserId

Consume balance from wallet by specifying user ID

Field name within the model to which the buff is applied

count

Quantity of billable currency to be consumed

"targetAction": {
    "targetActionName": "Gs2Money:WithdrawByUserId",
    "targetFieldName": "count",
    "conditionGrns": [
    ],
    "rate": 1.0
}
Model name for buff application conditions
Gs2Money:Wallet
"conditionGrns": [
    {
        "targetModelName": "Gs2Money:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]