Buff Reference of GS2-Inventory

GS2-Buff for setting the fields whose parameters can be corrected and the range of their applicability

Model

Types of models that can apply buffs

Gs2Inventory:Inventory

Inventory

Fields affected by the buff

currentInventoryMaxCapacity
TypeConditionRequiredDefaultValue LimitsDescription
currentInventoryMaxCapacityint
1 ~ 2147483646Maximum 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

ItemSet - Item Set

TypeConditionRequiredDefaultValue LimitsDescription
acquireCountlong
1 ~ 9223372036854775805Quantity 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

ItemSet - Item Set

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountlong
1 ~ 9223372036854775805Amount 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

ItemSet - Item Set

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountlong
1 ~ 9223372036854775805Amount 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

SimpleItem - Simple Item

TypeConditionRequiredDefaultValue LimitsDescription
acquireCountsList<AcquireCount>
1 ~ 100 itemsList 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

SimpleItem - Simple Item

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountsList<ConsumeCount>
1 ~ 100 itemsList 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

SimpleItem - Simple Item

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountsList<ConsumeCount>
1 ~ 100 itemsList 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

BigItem - Big item

TypeConditionRequiredDefaultValue LimitsDescription
acquireCountstring
~ 1024 charsQuantity 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

BigItem - Big item

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountstring
~ 1024 charsQuantity 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

BigItem - Big item

TypeConditionRequiredDefaultValue LimitsDescription
consumeCountstring
~ 1024 charsQuantity 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}"
    }
]