Kartridge C API Documentation
KongItemInstance Struct Reference

This structure holds information about an item instance in the user's inventory. More...

Data Fields

uint32_t user_id
 The user ID that this item instance belongs to. More...
 
uint64_t id
 The unique identifier for this particular item instance. More...
 
char identifier [101]
 The developer-defined string identifier for the item that this instance represents. More...
 
bool consumable
 Flag specifying whether or not the item is consumable. More...
 

Detailed Description

This structure holds information about an item instance in the user's inventory.

Field Documentation

§ consumable

bool KongItemInstance::consumable

Flag specifying whether or not the item is consumable.

§ id

uint64_t KongItemInstance::id

The unique identifier for this particular item instance.

§ identifier

char KongItemInstance::identifier[101]

The developer-defined string identifier for the item that this instance represents.

§ user_id

uint32_t KongItemInstance::user_id

The user ID that this item instance belongs to.