Difference between revisions of "Template:LSL Function/KeyValue"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<noinclude>{{Multi-lang|category=LSL}}</noinclude>{{LSL Injection Test}}{{#if:
<noinclude>{{Multi-lang|category=LSL}}</noinclude>{{LSL Injection Test}}{{#if:
{{#vardefine:p_success_desc|A boolean specifying if the transaction succeeded (1) or not (0).}}
{{#vardefine:p_experience_error_desc|An {{CAL|LSL Integer/experience_error{{#var:lang}}|XP_ERROR_*}} flag that describes why the operation failed.}}
{{#vardefine:p_experience_error_hover|An XP_ERROR_* flag that describes why the operation failed.}}
{{#vardefine:p_{{{d2_name|}}}_hover|{{#var:p_{{{d2_name|}}}_hover}}{{{d2_hover|}}}}}
{{#vardefine:p_{{{d3_name|}}}_hover|{{#var:p_{{{d3_name|}}}_hover}}{{{d3_hover|}}}}}
{{#vardefine:p_{{{d4_name|}}}_hover|{{#var:p_{{{d4_name|}}}_hover}}{{{d4_hover|}}}}}


{{/Key|{{{1|}}}<noinclude>{{{1}}}</noinclude>}}
{{/Key|{{{1|}}}<noinclude>{{{1}}}</noinclude>}}
Line 5: Line 12:
{{/Value|{{{2|}}}<noinclude>{{{2}}}</noinclude>}}
{{/Value|{{{2|}}}<noinclude>{{{2}}}</noinclude>}}
}}
}}
{{#vardefine:p_success_desc|A boolean specifying if the transaction succeeded (1) or not (0).}}
 
{{#vardefine:p_experience_error_desc|An {{CAL|LSL Integer/experience_error{{#var:lang}}|XP_ERROR_*}} flag that describes why the operation failed.}}
{{#vardefine:p_{{{d2_name|}}}_desc|{{#var:p_{{{d2_name|}}}_desc}}{{{d2_desc|}}}}}
{{#vardefine:p_experience_error_hover|An XP_ERROR_* flag that describes why the operation failed.}}
{{#vardefine:p_{{{d3_name|}}}_desc|{{#var:p_{{{d3_name|}}}_desc}}{{{d3_desc|}}}}}
{{#vardefine:p_{{{d4_name|}}}_desc|{{#var:p_{{{d4_name|}}}_desc}}{{{d4_desc|}}}}}


<includeonly>
<includeonly>
Line 14: Line 22:
}}}}}}
}}}}}}
</includeonly>
</includeonly>


{{#vardefine:header_footnote_last|{{#var:header_footnote_last}}{{PBR}}
{{#vardefine:header_footnote_last|{{#var:header_footnote_last}}{{PBR}}

Revision as of 13:15, 9 July 2014

#var value
p_{{{1}}}_desc The key for the key-value pair
p_{{{2}}}_desc The value for the key-value pair. Maximum 2047 characters, or 4095 if using Mono.
header_footnote_last

The dataserver callback parameters are:

  • A key containing the handle returned from [[]]
  • A string containing a comma-delimited list.
    • Failure: llDumpList2String([ integer success, integer experience_error],",")
    • Success: llDumpList2String([ integer success ],",")
• integer success A boolean specifying if the transaction succeeded (1) or not (0).
• integer experience_error An XP_ERROR_* flag that describes why the operation failed.
caveats
notes