Difference between revisions of "LlLinksetDataRead"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|default={{{default|}}}
|default={{{default|}}}
|inject-2=
|inject-2=
|summary=The '''llLinksetDataRead''' and '''llLinksetDataReadProtected''' functions return the '''value''' in the linkset's datastore for the provided {{LSLP|name}}. If {{LSLP|name}} is not found, this function returns an empty string.
|summary=The '''llLinksetDataRead''' and '''llLinksetDataReadProtected''' functions return the '''value''' in the linkset's datastore for the provided {{LSLP|name}}. If {{LSLP|name}} is not found, these functions return an empty string.
|func=llLinksetDataRead|sort={{{sort|LinksetDataRead}}}
|func=llLinksetDataRead|sort={{{sort|LinksetDataRead}}}
|head={{LSL Function/Head
|head={{LSL Function/Head
Line 8: Line 8:
|func=llLinksetDataRead
|func=llLinksetDataRead
|p1_type=string|p1_name=name|p1_desc=The key of the linkset '''name:value''' pair to be read.
|p1_type=string|p1_name=name|p1_desc=The key of the linkset '''name:value''' pair to be read.
|func_desc=Reads an unprotected '''name:value''' pair from the linkset's datastore.  
|return_type=string
|caveats=If the {{LSLP|name}} is missing, or the '''name:value''' pair was created with [[llLinksetDataWriteProtected]] this function returns an empty string.
|return_text='''value''' corresponding to {{LSLP|name}}
|func_desc=Reads an unprotected '''name:value''' pair from the linkset's datastore.
|caveats=If the {{LSLP|name}} is an empty string, or the '''name:value''' pair was created with [[llLinksetDataWriteProtected]] this function returns an empty string.
}}{{LSL_Function/Head
}}{{LSL_Function/Head
|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0|func_energy=10.0
Line 30: Line 32:
{{LSL DefineRow||[[llLinksetDataDelete]]|}}
{{LSL DefineRow||[[llLinksetDataDelete]]|}}
{{LSL DefineRow||[[llLinksetDataDeleteProtected]]|}}
{{LSL DefineRow||[[llLinksetDataDeleteProtected]]|}}
{{LSL DefineRow||[[llLinksetDataDeleteFound]]|}}
{{LSL DefineRow||[[llLinksetDataFindKeys]]|}}
{{LSL DefineRow||[[llLinksetDataFindKeys]]|}}
{{LSL DefineRow||[[llLinksetDataListKeys]]|}}
{{LSL DefineRow||[[llLinksetDataListKeys]]|}}

Latest revision as of 10:56, 14 August 2024

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, these functions return an empty string.

llLinksetDataRead

Function: string llLinksetDataRead( string name );

Reads an unprotected name:value pair from the linkset's datastore.
Returns a string value corresponding to name

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

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

llLinksetDataReadProtected

Function: string llLinksetDataReadProtected( string name, string pass );
0.0 Forced Delay
10.0 Energy

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.

Examples

Deep Notes

Signature

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