Buff Reference of GS2-Inventory
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.Model
Types of models that can apply buffs
Gs2Inventory:Inventory
Inventory
Fields affected by the buff
currentInventoryMaxCapacity
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| currentInventoryMaxCapacity | int | ✓ | 1 ~ 2147483646 | Maximum capacity |
Example of Master Data Description
"targetModel": {
"targetModelName": "Gs2Inventory:Inventory",
"targetFieldName": "currentInventoryMaxCapacity",
"conditionGrns": [
],
"rate": 1.0
}Model for buff application conditions
Gs2Inventory:InventoryModel
Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:any:any:inventory:{namespaceName}:model:{inventoryName}"
}
]Action
Types of actions that can apply buffs
Gs2Inventory:AcquireItemSetByUserId
Acquire items by specifying the user ID
Fields affected by the buff
acquireCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCount | long | ✓ | 1 ~ 9223372036854775805 | Quantity to be obtained |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireItemSetByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:InventoryModel
Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSet
Consume items
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | Amount to consume |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSet",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:InventoryModel
Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeItemSetByUserId
Consume items by specifying the user ID
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | Amount to consume |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeItemSetByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:InventoryModel
Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:InventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}"
}
]Gs2Inventory:ItemModel
Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:ItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireSimpleItemsByUserId
Acquire simple items by specifying user ID
Fields affected by the buff
acquireCounts
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCounts | List<AcquireCount> | ✓ | 1 ~ 100 items | List of quantity of simple items to be obtained |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireSimpleItemsByUserId",
"targetFieldName": "acquireCounts",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:SimpleInventoryModel
Simple Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
Simple ItemModel
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItems
Consume simple items
Fields affected by the buff
consumeCounts
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCounts | List<ConsumeCount> | ✓ | 1 ~ 100 items | List of quantity of simple items to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItems",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:SimpleInventoryModel
Simple Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
Simple ItemModel
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeSimpleItemsByUserId
Consume simple items by specifying user ID
Fields affected by the buff
consumeCounts
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCounts | List<ConsumeCount> | ✓ | 1 ~ 100 items | List of quantity of simple items to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeSimpleItemsByUserId",
"targetFieldName": "consumeCounts",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:SimpleInventoryModel
Simple Inventory Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}"
}
]Gs2Inventory:SimpleItemModel
Simple ItemModel
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:SimpleItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:simple:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:AcquireBigItemByUserId
Acquire big items by specifying user ID
Fields affected by the buff
acquireCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCount | string | ✓ | ~ 1024 chars | Quantity of big items to be obtained |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:AcquireBigItemByUserId",
"targetFieldName": "acquireCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:BigInventoryModel
Big Inventory model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
Big Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItem
Consume big items
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | string | ✓ | ~ 1024 chars | Quantity of big items to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItem",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:BigInventoryModel
Big Inventory model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
Big Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]Gs2Inventory:ConsumeBigItemByUserId
Consume big items by specifying user ID
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | string | ✓ | ~ 1024 chars | Quantity of big items to be consumed |
Master Data Description Example
"targetAction": {
"targetActionName": "Gs2Inventory:ConsumeBigItemByUserId",
"targetFieldName": "consumeCount",
"conditionGrns": [
],
"rate": 1.0
}Buff Application Condition Model
Gs2Inventory:BigInventoryModel
Big Inventory model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigInventoryModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}"
}
]Gs2Inventory:BigItemModel
Big Item Model
Example of Master Data Description
"conditionGrns": [
{
"targetModelName": "Gs2Inventory:BigItemModel",
"targetGrn": "grn:gs2:{region}:{ownerId}:inventory:{namespaceName}:big:model:{inventoryName}:item:{itemName}"
}
]