Buff Reference of GS2-Money2

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

Gs2Money2:DepositByUserId

Deposit balance to wallet by specifying user ID

Fields affected by the buff

count

DepositTransaction

Deposit Transaction

TypeConditionRequiredDefaultValue LimitsDescription
countint
0 ~ 2147483646Quantity of premium currency
Master Data Description Example
"targetAction": {
    "targetActionName": "Gs2Money2:DepositByUserId",
    "targetFieldName": "count",
    "conditionGrns": [
    ],
    "rate": 1.0
}

Buff Application Condition Model

Gs2Money2:Wallet

Wallet

Example of Master Data Description
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money2:Withdraw

Withdraw balance from wallet

Fields affected by the buff

withdrawCount

Wallet

Wallet

TypeConditionRequiredDefaultValue LimitsDescription
withdrawCountint
1 ~ 2147483646Quantity of billable currency to be consumed
Master Data Description Example
"targetAction": {
    "targetActionName": "Gs2Money2:Withdraw",
    "targetFieldName": "withdrawCount",
    "conditionGrns": [
    ],
    "rate": 1.0
}

Buff Application Condition Model

Gs2Money2:Wallet

Wallet

Example of Master Data Description
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]

Gs2Money2:WithdrawByUserId

Withdraw balance from wallet by specifying user ID

Fields affected by the buff

withdrawCount

Wallet

Wallet

TypeConditionRequiredDefaultValue LimitsDescription
withdrawCountint
1 ~ 2147483646Quantity of billable currency to be consumed
Master Data Description Example
"targetAction": {
    "targetActionName": "Gs2Money2:WithdrawByUserId",
    "targetFieldName": "withdrawCount",
    "conditionGrns": [
    ],
    "rate": 1.0
}

Buff Application Condition Model

Gs2Money2:Wallet

Wallet

Example of Master Data Description
"conditionGrns": [
    {
        "targetModelName": "Gs2Money2:Wallet",
        "targetGrn": "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:user:{userId}:wallet:{slot}"
    }
]