Buff Reference of GS2-Money
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
Gs2Money:DepositByUserId
Deposit balance to wallet by specifying user ID
Fields affected by the buff
count
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| count | int | ✓ | 1 ~ 2147483646 | Quantity of billable currency to be granted |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Money:DepositByUserId",
"targetFieldName": "count",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Money:Wallet
Wallet
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Money:Wallet",
"targetGrn": "grn:gs2:{region}:{ownerId}:money:{namespaceName}:user:{userId}:wallet:{slot}"
}
]Gs2Money:Withdraw
Consume balance from wallet
Fields affected by the buff
count
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| count | int | ✓ | 1 ~ 2147483646 | Quantity of billable currency to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Money:Withdraw",
"targetFieldName": "count",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Money:Wallet
Wallet
Example of Master Data Description
"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
Fields affected by the buff
count
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| count | int | ✓ | 1 ~ 2147483646 | Quantity of billable currency to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Money:WithdrawByUserId",
"targetFieldName": "count",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Money:Wallet
Wallet
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Money:Wallet",
"targetGrn": "grn:gs2:{region}:{ownerId}:money:{namespaceName}:user:{userId}:wallet:{slot}"
}
]