Difference between revisions of "LlLinksetDataRead"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
|func=llLinksetDataReadProtected
|func=llLinksetDataReadProtected
|p1_type=string|p1_name=name|p1_desc=The '''key''' of the '''name:value''' pair to be read.
|p1_type=string|p1_name=name|p1_desc=The '''key''' of the '''name:value''' pair to be read.
|p2_type=string|p2_name=pas|p2_desc=The pass phrase protecting the '''name:value''' pair.
|p2_type=string|p2_name=pass|p2_desc=The pass phrase protecting the '''name:value''' pair.
|return_type=string
|return_type=string
|return_text='''value''' corresponding to {{LSLP|name}}
|return_text='''value''' corresponding to {{LSLP|name}}

Revision as of 11:22, 17 October 2022

Summary

Summary: llLinksetDataRead, llLinksetDataReadProtected

The llLinksetDataRead and llLinksetDataReadProtected functions return the value in the linkset's datastore for the provided name. If name is not found, this function returns an empty string.

llLinksetDataRead

Function: llLinksetDataRead( string name );

Reads an unprotected name:value pair from the linkset's datastore.

• string name The key of the linkset name:value pair to be read.
Caveats

If the name is missing, or the name:value pair was created with llLinksetDataWriteProtected this function returns an empty string.

All Issues ~ Search JIRA for related Bugs

llLinksetDataReadProtected

Function: string llLinksetDataReadProtected( string name, string pass );

Reads a protected name:value pair from the datastore.
Returns a string value corresponding to name

• string name The key of the linkset name:value pair to be read.The key of the name:value pair to be read.
• string pass The pass phrase protecting the name:value pair.
Caveats

If the pass parameter does not match, this function returns an empty string.

All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llLinksetDataRead( string name );
function string llLinksetDataReadProtected( string name, string pass );