Difference between revisions of "LlGetParcelDetails"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id=327|func_sleep=0.0|func_energy=10.0|func=llGetParcelDetails|return_type=list|p1_type=vector|p1_name=pos|p2_type=list|p2_name=params|func_footnote=Gets the parcel details specified in params for the parcel at pos.<br />Params is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=327|func_sleep=0.0|func_energy=10.0
|func=llGetParcelDetails|return_type=list|p1_type=vector|p1_name=pos|p2_type=list|p2_name=params
|func_footnote
|func_desc
|return_text=that is the parcel details specified in '''params''' for the parcel at '''pos'''.
|spec
|caveats
|constants=<div id="box">
==Constants==
<div style="padding: 0.5em;">
{{{!}}{{Prettytable}}
!Detail!!Value!!Meaning!!Max Length!!Return Type
{{!}}-
{{!}}PARCEL_DETAILS_NAME{{!}}{{!}}0{{!}}{{!}}The name of the parcel.{{!}}{{!}}63 Characters{{!}}{{!}}{{LSLG|string}}
{{!}}-
{{!}}PARCEL_DETAILS_DESC{{!}}{{!}}1{{!}}{{!}}The description of the parcel.{{!}}{{!}}127 Characters{{!}}{{!}}{{LSLG|string}}
{{!}}-
{{!}}PARCEL_DETAILS_OWNER{{!}}{{!}}2{{!}}{{!}}The parcel owner's key.{{!}}{{!}}(36 Characters){{!}}{{!}}{{LSLG|key}}
{{!}}-
{{!}}PARCEL_DETAILS_GROUP{{!}}{{!}}3{{!}}{{!}}The parcel group's key.{{!}}{{!}}(36 Characters){{!}}{{!}}{{LSLG|key}}
{{!}}-
{{!}}PARCEL_DETAILS_AREA{{!}}{{!}}4{{!}}{{!}}The parcel's area, in sqm.{{!}}{{!}}(5 Characters){{!}}{{!}}{{LSLG|integer}}
{{!}}}
Max Lengths in parentheses represent how many characters required when it is {{LSLG|typecast}} to a string.
</div></div>
|examples
|helpers
|also_functions
|also_events
|also_tests
|also_articles
|notes
|permission
|negative_index
|sort=GetParcelDetails
|cat1=Parcel
|cat2
|cat3
|cat4
}}

Revision as of 10:35, 10 February 2007

Summary

Function: list llGetParcelDetails( vector pos, list params );
0.0 Forced Delay
10.0 Energy

Returns a list that is the parcel details specified in params for the parcel at pos.

• vector pos
• list params

Constants

Detail Value Meaning Max Length Return Type
PARCEL_DETAILS_NAME 0 The name of the parcel. 63 Characters string
PARCEL_DETAILS_DESC 1 The description of the parcel. 127 Characters string
PARCEL_DETAILS_OWNER 2 The parcel owner's key. (36 Characters) key
PARCEL_DETAILS_GROUP 3 The parcel group's key. (36 Characters) key
PARCEL_DETAILS_AREA 4 The parcel's area, in sqm. (5 Characters) integer

Max Lengths in parentheses represent how many characters required when it is typecast to a string.

Examples

Deep Notes

Signature

function list llGetParcelDetails( vector pos, list params );