inventory_state
inventory_state Per player Endpoints only
- Records
- 0
- Fields
- 2
Definition preview
Read-only outline of the saved source. Edit it under the Edit tab.
Fields (2)
| Name | Type | Default |
|---|---|---|
inventory | array | none |
materials | object | none |
Full source
sourceVersion: 1
kind: collection
id: inventory_state
name: inventory_state
description: One record per player holding items and crafting materials. Only kit endpoints change it.
collectionType: per-steamid
accessMode: endpoint
maxRecords: 1
allowRecordDelete: false
schema:
type: object
properties:
inventory:
type: array
items:
type: object
properties:
item_id:
type: string
name:
type: string
materials:
type: object
additionalProperties:
type: number
module: inventory