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
Fields affected by the buff
count
DepositTransaction
Deposit Transaction
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| count | int | ✓ | 0 ~ 2147483646 | Quantity 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
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| withdrawCount | int | ✓ | 1 ~ 2147483646 | Quantity 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
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| withdrawCount | int | ✓ | 1 ~ 2147483646 | Quantity 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}"
}
]