Buff Reference of GS2-Inventory
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
rate specifies the multiplier applied to the target field.
"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 Item Sets by specifying the user ID
Item Set hold Item Model name, quantity held, expiration date, and other details.
Fields affected by the buff
acquireCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCount | long | ✓ | 1 ~ 9223372036854775805 | Acquisition quantity |
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 Item Sets
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | Consumption quantity |
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 Item Sets by specifying the user ID
Item Set hold Item Model name, quantity held, expiration date, and other details.
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | long | ✓ | 1 ~ 9223372036854775805 | Consumption quantity |
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 a user ID
Fields affected by the buff
acquireCounts
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCounts | List<AcquireCount> | ✓ | 1 ~ 100 items | List of acquisition quantities for Simple Items |
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 Item Model
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 consumption quantity of Simple Items |
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 Item Model
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 a user ID
Fields affected by the buff
consumeCounts
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCounts | List<ConsumeCount> | ✓ | 1 ~ 100 items | List of consumption quantity of Simple Items |
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 Item Model
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 Item by specifying a user ID
Fields affected by the buff
acquireCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| acquireCount | string | ✓ | ~ 1024 chars | Acquisition quantities for Big Item Integer value strings up to 1024 digits |
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 | Consumption quantity of Big Item Integer value strings up to 1024 digits |
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 a user ID
Fields affected by the buff
consumeCount
| Type | Condition | Required | Default | Value Limits | Description | |
|---|---|---|---|---|---|---|
| consumeCount | string | ✓ | ~ 1024 chars | Consumption quantity of Big Item Integer value strings up to 1024 digits |
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}"
}
]