Skip to content

Experience Data

Create, read, update, and delete experience key-value data.

What do you want to do?

Reference

7 topic entries

Badges
  • key llCreateKeyValue(string k, string v)Starts an asynchronous transaction to create a key-value pair (k and v) associated with the script's experience. Returns a key query handle for the dataserver event. Fails with XP_ERROR_STORAGE_EXCEPTION if the key already exists.functionX (Requires an experience)
  • key llDataSizeKeyValue()Starts an asynchronous transaction to request the used and total data storage allocated for the experience. Returns a key query handle for the dataserver event.functionX (Requires an experience)
  • key llDeleteKeyValue(string k)Starts an asynchronous transaction to delete the key-value pair associated with key k in the experience. Returns a key query handle for the dataserver event.functionX (Requires an experience)
  • key llKeyCountKeyValue()Starts an asynchronous transaction requesting the total count of keys in the experience data store. Returns a key query handle for the dataserver event.functionX (Requires an experience)
  • key llKeysKeyValue(integer first, integer count)Starts an asynchronous transaction to retrieve count keys from the experience data store starting at the zero-based index first. Returns a key query handle for the dataserver event. Fails with XP_ERROR_KEY_NOT_FOUND if out of bounds.functionX (Requires an experience)
  • key llReadKeyValue(string k)Starts an asynchronous transaction to read the value associated with key k in the experience. Returns a key query handle for the dataserver event. Fails with XP_ERROR_KEY_NOT_FOUND if the key does not exist.functionX (Requires an experience)
  • key llUpdateKeyValue(string k, string v, integer checked, string original_value)Starts an asynchronous transaction to update the key k to value v inside the experience datastore. If checked is TRUE, the update fails with XP_ERROR_RETRY_UPDATE unless the existing value matches original_value.functionX (Requires an experience)