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

From Second Life Wiki
Jump to navigation Jump to search
m
(Moving to Spec)
Line 23: Line 23:
</includeonly>
</includeonly>


{{#vardefine:header_footnote_last|{{#var:header_footnote_last}}{{PBR}}
{{#vardefine:spec|{{#var:spec}}{{PBR}}
The [[dataserver]] callback parameters are:
The [[dataserver]] callback parameters are:
* A key containing the {{LSLGC|Key/handle|handle}} returned from [[{{#var:name}}]]
* A key containing the {{LSLGC|Key/handle|handle}} returned from [[{{#var:name}}]]
Line 59: Line 59:
{{VarPair|p_{{{2|}}}<noinclude>{{{2}}}</noinclude>_desc}}
{{VarPair|p_{{{2|}}}<noinclude>{{{2}}}</noinclude>_desc}}
|-
|-
{{VarPair|header_footnote_last}}
{{VarPair|spec}}
|-
|-
{{VarPair|caveats}}
{{VarPair|caveats}}

Revision as of 13:25, 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.
spec

The dataserver callback parameters are:

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