InventoryResult
Defined in: server/api.d.ts:2318
What an inventory operation did.
Properties
Section titled “Properties”code:
string
Defined in: server/api.d.ts:2327
Empty on success, otherwise why not: inventoryUnavailable, invalidRequest, staleRevision, invalidItem, invalidItems, invalidAmount, unknownItem, insufficientItems, inventoryCapacity, sameInventory, invalidEquipment, or a property policy code (invalidMetadata, unknownItemClass, questItem, invalidQuality, immutableItemHealth, invalidItemHealth, contradictoryItemHealth, invalidCreationSentinel, unsupportedPoisonProperties, unsupportedOnEquipBuffs).
items:
InventoryUnit[]
Defined in: server/api.d.ts:2337
The rows that received units: the row an add merged into or created, a transfer’s rows in the target, every row a set wrote. Empty for remove.
ok:
boolean
Defined in: server/api.d.ts:2322
It happened. Nothing changes when it did not.
revision
Section titled “revision”revision:
number
Defined in: server/api.d.ts:2332
The revision after the operation; for a transfer, the source’s. 0 when refused.