Buff Reference of GS2-Limit
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
Gs2Limit:CountUp
Count-up
Fields affected by the buff
maxValue
Counter - Current value of frequency limit
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| maxValue | int | 1 ~ 2147483646 | Maximum value allowed to count up |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Limit:CountUp",
"targetFieldName": "maxValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Limit:LimitModel
Limit Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:LimitModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:limit:{limitName}"
}
]Gs2Limit:Counter
Current value of frequency limit
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:Counter",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:user:{userId}:limit:{limitName}:counter:{counterName}"
}
]Gs2Limit:CountUpByUserId
count-up by the specify user ID
Fields affected by the buff
maxValue
Counter - Current value of frequency limit
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| maxValue | int | 1 ~ 2147483646 | Maximum value allowed to count up |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Limit:CountUpByUserId",
"targetFieldName": "maxValue",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Limit:LimitModel
Limit Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:LimitModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:limit:{limitName}"
}
]Gs2Limit:Counter
Current value of frequency limit
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Limit:Counter",
"targetGrn": "grn:gs2:{region}:{ownerId}:limit:{namespaceName}:user:{userId}:limit:{limitName}:counter:{counterName}"
}
]