llLinksetDataWrite

From Second Life Wiki
Revision as of 15:36, 13 October 2022 by Rider Linden (talk | contribs)
Jump to navigation Jump to search

Summary

Function: integer llLinksetDataWrite( string name, string value );

The llLinksetDataWrite function creates or updates a key in the link set datastore, assigning it the string specified in the value parameter. If the value parameter is an empty string, the key is deleted.

This function returns 0 on success or an error code on failure.

When this function is called the linkset_data event is triggered in all scripts running in the link set with an action of LINKSETDATA_UPDATE, or LINKSETDATA_DELETE if the key value pair is deleted.
Returns an integer success or failure code.

• string name The name of the link set data key to be updated or created.
• string value The value to assign to the named key

Specification

The linkset datastore can contain up to 64k of data. Every key-value pair written to the datastore consumes a number of bytes in the datastore equal to the length of its key plus the length of the value.

Examples

Deep Notes

Search JIRA for related Issues

Signature

function integer llLinksetDataWrite( string name, string value );