![]() |
LootLocker Unity SDK 8.2.0
Game backend SDK for Unity
|
An item instance held in a player's inventory. More...
Properties | |
| string | id [get, set] |
| The unique id of this inventory item. | |
| int | player_id [get, set] |
| The id of the player that owns this inventory item. | |
| string | item_template_id [get, set] |
| The id of the item template this inventory item is based on. | |
| LootLockerItemType | item_type [get, set] |
| The type of the item (instanced or stackable). | |
| bool | consumable [get, set] |
| True if the item can be consumed by the player. | |
| bool | deletable [get, set] |
| True if the item can be deleted by the player. | |
| int | count [get, set] |
| The number of items in this stack (only relevant for stackable items). | |
| string | name [get, set] |
| The name of the item template this inventory item is based on. | |
| string | source [get, set] |
| The source of this inventory item, or null if not specified. | |
| DateTime | created_at [get, set] |
| The time that this inventory item was created. | |
| DateTime? | updated_at [get, set] |
| The time that this inventory item was last updated, or null if it has never been updated. | |
| LootLockerMetadataEntry[] | metadata [get, set] |
| Arbitrary metadata attached to this inventory item. | |
An item instance held in a player's inventory.
This represents an item granted from an item template. It is unrelated to the asset-based inventory API (LootLockerInventory, GetInventory, ListPlayerInventory), which deals with assets and asset instances.