Difference between revisions of "Template:LSL Constants/Parcel"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:{{{wrap|}}}|{{!}}}}
{{#if:
{{{!}} class="sortable" {{Prettytable}}
 
{{#vardefine:p_*_desc|PF_* flags in red have been removed from the {{SourceLink/github|viewer|indra/llinventory/llparcelflags.h|text=source code}}, the values may get reassigned and reused for flags with different meanings!}}
{{#vardefine:p_*_hover|PF_* flags in red have been removed from the source code, the values may get reassigned and reused for flags with different meanings!}}
 
{{#vardefine:p_†_desc|PF_* flags are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead. Remember that LL does not support these; they may redefine the flags without notice, this has happened in the past.}}
{{#vardefine:p_†_hover|PF_* flags are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead. Remember that LL does not support these; they may redefine the flags without notice, this has happened in the past.}}
 
}}{{#if:{{{wrap|}}}|{{!}}}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! title="Flag" {{!}} Flag
! title="Flag" {{!}} Flag
Line 15: Line 23:
{{!}}-  
{{!}}-  
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_FOR_SALE|integer|4|hex=0x00000004|c=find if a parcel is for sale|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_FOR_SALE|integer|4|hex=0x00000004|c=find if a parcel is for sale|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
Line 36: Line 44:
{{!}}-  
{{!}}-  
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_FOR_SALE_OBJECTS|integer|128|hex=0x00000080|c=find if a parcel allows the objects to be purchased with the land|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_FOR_SALE_OBJECTS|integer|128|hex=0x00000080|c=find if a parcel allows the objects to be purchased with the land|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
Line 57: Line 65:
{{!}}-
{{!}}-
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_SHOW_DIRECTORY|integer|hex=0x00001000|c=|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_SHOW_DIRECTORY|integer|hex=0x00001000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_ALLOW_DEED_TO_GROUP|integer|hex=0x00002000|c=|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_ALLOW_DEED_TO_GROUP|integer|hex=0x00002000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_CONTRIBUTE_WITH_DEED|integer|hex=0x00004000|c=|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_CONTRIBUTE_WITH_DEED|integer|hex=0x00004000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
Line 74: Line 82:
{{!}}-
{{!}}-
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_SELL_PARCEL_OBJECTS|integer|hex=0x00010000|c=Objects on land are included as part of the land when the land is sold|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_SELL_PARCEL_OBJECTS|integer|hex=0x00010000|c=Objects on land are included as part of the land when the land is sold|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_ALLOW_PUBLISH|integer|hex=0x00020000|c=Allow publishing of parcel information on the web|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_ALLOW_PUBLISH|integer|hex=0x00020000|c=Allow publishing of parcel information on the web|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_MATURE_PUBLISH|integer|hex=0x00040000|c=The information on this parcel is mature|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_MATURE_PUBLISH|integer|hex=0x00040000|c=The information on this parcel is mature|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_URL_WEB_PAGE|integer|hex=0x00080000|c=The "media URL" is an HTML page|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_URL_WEB_PAGE|integer|hex=0x00080000|c=The "media URL" is an HTML page|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_URL_RAW_HTML|integer|hex=0x00100000|c=The "media URL" is a raw HTML string like "Foo"|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_URL_RAW_HTML|integer|hex=0x00100000|c=The "media URL" is a raw HTML string like "Foo"|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
Line 96: Line 104:
{{!}} {{LSL Const|PARCEL_FLAG_RESTRICT_PUSHOBJECT|integer|2097152|hex=0x00200000|c=find if a parcel restricts llPushObject}}
{{!}} {{LSL Const|PARCEL_FLAG_RESTRICT_PUSHOBJECT|integer|2097152|hex=0x00200000|c=find if a parcel restricts llPushObject}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} find if a parcel restricts [[llPushObject]]
{{!}}-
{{!}}-
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_DENY_ANONYMOUS|integer|hex=0x00400000|c=|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_DENY_ANONYMOUS|integer|hex=0x00400000|c=Deny all non identified/transacted accounts|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_DENY_IDENTIFIED|integer|hex=0x00800000|c=|nolink=*}}</s>†
{{!}} <s style="color:red;">{{LSL Const|PF_DENY_IDENTIFIED|integer|hex=0x00800000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span><span title="{{#var:p_*_hover}}">*</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_DENY_TRANSACTED|integer|hex=0x01000000|c=|nolink=*}}</s>†
{{!}} <s style="color:red;">{{LSL Const|PF_DENY_TRANSACTED|integer|hex=0x01000000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span><span title="{{#var:p_*_hover}}">*</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
Line 128: Line 136:
{{!}}-
{{!}}-
{{#if:{{{valid|}}}||
{{#if:{{{valid|}}}||
{{!}} <s>{{LSL Const|PF_ALLOW_VOICE_CHAT|integer|hex=0x20000000|c=find if a parcel allows voice chat|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_ALLOW_VOICE_CHAT|integer|hex=0x20000000|c=find if a parcel allows voice chat|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} <s>{{LSL Const|PF_USE_ESTATE_VOICE_CHAN|integer|hex=0x40000000|c=|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} <s>{{LSL Const|PF_USE_ESTATE_VOICE_CHAN|integer|hex=0x40000000|c=|nolink=*}}</s>†
{{!}} <s>{{LSL Const|PF_DENY_AGEUNVERIFIED|integer|hex=0x80000000|c=find if a parcel prevent residents who aren't age-verified|nolink=*}}</s><span title="{{#var:p_†_hover}}">†</span>
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}}}
{{!}} {{#var:comment}}}}
{{!}}-
{{!}}-
{{!}}}
{{!}}}
{{{!}} style="padding:0;"
{{#if:{{{valid|}}}||{{{!}} style="padding:0;"
{{!}}valign="top" style="padding:0;"{{!}}†&nbsp;
{{!}}-
{{!}}style="font-size:70%;padding:0;"{{!}}PF_* flags are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead.
{{!}}valign="top" style="padding:0;"{{!}}<span title="{{#var:p_†_hover}}"></span>&nbsp;
{{!}}}
{{!}}style="font-size:70%;padding:0;"{{!}}{{#var:p_†_desc}}
{{!}}-
{{!}}style="font-size:70%;padding:0;"{{!}}<span title="{{#var:p_*_hover}}">*</span>&nbsp;
{{!}}style="font-size:70%;padding:0;"{{!}}{{#var:p_*_desc}}
{{!}}} }}
<noinclude>{{{{FULLPAGENAME}}|valid=*}}</noinclude>
<noinclude>{{{{FULLPAGENAME}}|valid=*}}</noinclude>

Latest revision as of 14:16, 17 November 2022

Flag Value Description
PARCEL_FLAG_ALLOW_FLY 0x00000001 find if a parcel allows flying
PARCEL_FLAG_ALLOW_SCRIPTS 0x00000002 find if a parcel allows outside scripts
PF_FOR_SALE 0x00000004 find if a parcel is for sale
PARCEL_FLAG_ALLOW_LANDMARK 0x00000008 find if a parcel allows landmarks to be created
PARCEL_FLAG_ALLOW_TERRAFORM 0x00000010 find if a parcel allows anyone to terraform the land
PARCEL_FLAG_ALLOW_DAMAGE 0x00000020 find if a parcel allows damage
PARCEL_FLAG_ALLOW_CREATE_OBJECTS 0x00000040 find if a parcel allows anyone to create objects
PF_FOR_SALE_OBJECTS 0x00000080 find if a parcel allows the objects to be purchased with the land
PARCEL_FLAG_USE_ACCESS_GROUP 0x00000100 find if a parcel limits access to a group
PARCEL_FLAG_USE_ACCESS_LIST 0x00000200 find if a parcel limits access to a list of residents
PARCEL_FLAG_USE_BAN_LIST 0x00000400 find if a parcel uses a ban list, including restricting access based on payment info
PARCEL_FLAG_USE_LAND_PASS_LIST 0x00000800 find if a parcel allows passes to be purchased
PF_SHOW_DIRECTORY 0x00001000
PF_ALLOW_DEED_TO_GROUP 0x00002000
PF_CONTRIBUTE_WITH_DEED 0x00004000
PARCEL_FLAG_LOCAL_SOUND_ONLY 0x00008000 find if a parcel restricts spatialized sound to the parcel
PF_SELL_PARCEL_OBJECTS 0x00010000 Objects on land are included as part of the land when the land is sold
PF_ALLOW_PUBLISH 0x00020000 Allow publishing of parcel information on the web
PF_MATURE_PUBLISH 0x00040000 The information on this parcel is mature
PF_URL_WEB_PAGE 0x00080000 The "media URL" is an HTML page
PF_URL_RAW_HTML 0x00100000 The "media URL" is a raw HTML string like "Foo"
PARCEL_FLAG_RESTRICT_PUSHOBJECT 0x00200000 find if a parcel restricts llPushObject
PF_DENY_ANONYMOUS 0x00400000 Deny all non identified/transacted accounts
PF_DENY_IDENTIFIED* 0x00800000
PF_DENY_TRANSACTED* 0x01000000
PARCEL_FLAG_ALLOW_GROUP_SCRIPTS 0x02000000 find if a parcel allows scripts owned by group
PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS 0x04000000 find if a parcel allows object creation by group members or objects
PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY 0x08000000 find if a parcel allows all objects to enter a parcel
PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY 0x10000000 find if a parcel only allows group (and owner) objects to enter the parcel
PF_ALLOW_VOICE_CHAT 0x20000000 find if a parcel allows voice chat
PF_USE_ESTATE_VOICE_CHAN 0x40000000
PF_DENY_AGEUNVERIFIED 0x80000000 find if a parcel prevent residents who aren't age-verified
  PF_* flags are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead. Remember that LL does not support these; they may redefine the flags without notice, this has happened in the past.
*  PF_* flags in red have been removed from the source code, the values may get reassigned and reused for flags with different meanings!
Flag Value Description
PARCEL_FLAG_ALLOW_FLY 0x00000001 find if a parcel allows flying
PARCEL_FLAG_ALLOW_SCRIPTS 0x00000002 find if a parcel allows outside scripts
PARCEL_FLAG_ALLOW_LANDMARK 0x00000008 find if a parcel allows landmarks to be created
PARCEL_FLAG_ALLOW_TERRAFORM 0x00000010 find if a parcel allows anyone to terraform the land
PARCEL_FLAG_ALLOW_DAMAGE 0x00000020 find if a parcel allows damage
PARCEL_FLAG_ALLOW_CREATE_OBJECTS 0x00000040 find if a parcel allows anyone to create objects
PARCEL_FLAG_USE_ACCESS_GROUP 0x00000100 find if a parcel limits access to a group
PARCEL_FLAG_USE_ACCESS_LIST 0x00000200 find if a parcel limits access to a list of residents
PARCEL_FLAG_USE_BAN_LIST 0x00000400 find if a parcel uses a ban list, including restricting access based on payment info
PARCEL_FLAG_USE_LAND_PASS_LIST 0x00000800 find if a parcel allows passes to be purchased
PARCEL_FLAG_LOCAL_SOUND_ONLY 0x00008000 find if a parcel restricts spatialized sound to the parcel
PARCEL_FLAG_RESTRICT_PUSHOBJECT 0x00200000 find if a parcel restricts llPushObject
PARCEL_FLAG_ALLOW_GROUP_SCRIPTS 0x02000000 find if a parcel allows scripts owned by group
PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS 0x04000000 find if a parcel allows object creation by group members or objects
PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY 0x08000000 find if a parcel allows all objects to enter a parcel
PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY 0x10000000 find if a parcel only allows group (and owner) objects to enter the parcel