Linkset Data
Store key-value data in a linkset and respond to changes.
Feature: Data Storage
What do you want to do?
integer llLinksetDataWrite(string name, string value)Creates or updates an unprotected key-value pair (name and value) in the linkset's datastore. Returns an integer success or failure code.string llLinksetDataRead(string name)Reads and returns the string value corresponding to key name from the linkset's datastore.list llLinksetDataFindKeys(string pattern, integer start, integer count)Returns an alphabetically sorted list of up to count keys from the datastore that match the regular expression pattern, starting at index start (returns all matching keys if count < 1).integer llLinksetDataDelete(string name)Deletes the unprotected key-value pair specified by name from the linkset's datastore, triggering a linkset_data event.Reference
14 topic entries
integer llLinksetDataAvailable()functionReturns an integer representing the number of bytes available/remaining in the linkset's datastore.
integer llLinksetDataCountFound(string pattern)functionReturns the total count of keys in the linkset datastore that match the regular expression pattern.
integer llLinksetDataCountKeys()functionReturns an integer representing the total number of unique keys stored in the linkset's datastore.
integer llLinksetDataDelete(string name)functionDeletes the unprotected key-value pair specified by name from the linkset's datastore, triggering a
linkset_dataevent.list llLinksetDataDeleteFound(string pattern, string pass)functionDeletes all keys in the datastore matching the regular expression pattern. Returns a list [num_deleted, num_failed_protected]. Decrypts and deletes protected keys if matching pass is provided.
integer llLinksetDataDeleteProtected(string name, string pass)functionDeletes the protected key-value pair specified by name from the linkset's datastore using the passphrase pass, triggering a
linkset_dataevent.list llLinksetDataFindKeys(string pattern, integer start, integer count)functionReturns an alphabetically sorted list of up to count keys from the datastore that match the regular expression pattern, starting at index start (returns all matching keys if count < 1).
list llLinksetDataListKeys(integer start, integer count)functionReturns an alphabetically sorted list of up to count keys from the datastore, starting at index start (returns all keys if count < 1).
string llLinksetDataRead(string name)functionReads and returns the string value corresponding to key name from the linkset's datastore.
string llLinksetDataReadProtected(string name, string pass)functionReads and returns the string value of the protected key name from the linkset's datastore using the passphrase pass.
llLinksetDataReset()functionErases all key-value pairs stored in the linkset's datastore, triggering a
linkset_dataevent (withLINKSETDATA_RESET) in all scripts in the linkset.integer llLinksetDataWrite(string name, string value)functionCreates or updates an unprotected key-value pair (name and value) in the linkset's datastore. Returns an integer success or failure code.
integer llLinksetDataWriteProtected(string name, string value, string pass)functionCreates or updates a protected key-value pair (name and value) in the linkset's datastore using the passphrase pass. Returns an integer success or failure code.
linkset_data(integer action, string name, string value)eventFires in all scripts in the linkset whenever the datastore has been modified via an llLinksetData function. Passes the action taken, the affected key name, and the new value.
No matching entries. Try a different term or filter.