Difference between revisions of "Template:LSL Constants Perm Mask"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div>
{{{!}}
<div style="float:right;">
{{!}}- valign="top"
{|{{Prettytable}}
{{!}}
! Permissions
{{{!}}{{Prettytable}}
! Value
{{!}}-{{Hl2}}
! colspan="2"{{!}} Mask
! Description
! Description
|-  
{{!}}-
| {{LSLG|PERM_ALL}}
{{!}} {{LSLG|MASK_BASE}}
| {{LSL Hex|0x7FFFFFFF|2147483647}}
{{!}} 0
| Move/Modify/Copy/Transfer permissions
{{!}} The base permissions.
|-  
{{!}}-  
| {{LSLG|PERM_COPY}}
{{!}} {{LSLG|MASK_OWNER}}
| {{LSL Hex|0x00008000|32768}}
{{!}} 1
| Copy permission
{{!}} Current owner permissions.
|-  
{{!}}-  
| {{LSLG|PERM_MODIFY}}
{{!}} {{LSLG|MASK_GROUP}}
| {{LSL Hex|0x00004000|16384}}
{{!}} 2
| Modify permission
{{!}} Active group permissions.
|-  
{{!}}-  
| {{LSLG|PERM_MOVE}}
{{!}} {{LSLG|MASK_EVERYONE}}
| {{LSL Hex|0x00080000|524288}}
{{!}} 3
| Move permission
{{!}} Permissions everyone has.
|-  
{{!}}-  
| {{LSLG|PERM_TRANSFER}}
{{!}} {{LSLG|MASK_NEXT}}
| {{LSL Hex|0x00002000|8192}}
{{!}} 4
| Transfer permission
{{!}} Permissions the next owner will have.
|}
{{!}}}
</div>
{{!}}
<div>
{{{!}}{{Prettytable}}
{|{{Prettytable}}
{{!}}-{{Hl2}}
! Mask
! colspan="2"{{!}} Permissions
! Value
! Description
! Description
|-
{{!}}-  
| {{LSLG|MASK_BASE}}
{{!}} {{LSLG|PERM_ALL}}
| 0
{{!}} {{LSL Hex|0x7FFFFFFF|2147483647}}
| The base permissions.
{{!}} Move/Modify/Copy/Transfer permissions
|-  
{{!}}-  
| {{LSLG|MASK_OWNER}}
{{!}} {{LSLG|PERM_COPY}}
| 1
{{!}} {{LSL Hex|0x00008000|32768}}
| Current owner permissions.
{{!}} Copy permission
|-  
{{!}}-  
| {{LSLG|MASK_GROUP}}
{{!}} {{LSLG|PERM_MODIFY}}
| 2
{{!}} {{LSL Hex|0x00004000|16384}}
| Active group permissions.
{{!}} Modify permission
|-  
{{!}}-  
| {{LSLG|MASK_EVERYONE}}
{{!}} {{LSLG|PERM_MOVE}}
| 3
{{!}} {{LSL Hex|0x00080000|524288}}
| Permissions everyone has.
{{!}} Move permission
|-  
{{!}}-  
| {{LSLG|MASK_NEXT}}
{{!}} {{LSLG|PERM_TRANSFER}}
| 4
{{!}} {{LSL Hex|0x00002000|8192}}
| Permissions the next owner will have.
{{!}} Transfer permission
|}
{{!}}}
</div>
{{!}}}
<div style="clear:right;" ></div>
</div>

Revision as of 05:34, 1 March 2007

Mask Description
MASK_BASE 0 The base permissions.
MASK_OWNER 1 Current owner permissions.
MASK_GROUP 2 Active group permissions.
MASK_EVERYONE 3 Permissions everyone has.
MASK_NEXT 4 Permissions the next owner will have.
Permissions Description
PERM_ALL 0x7FFFFFFF Move/Modify/Copy/Transfer permissions
PERM_COPY 0x00008000 Copy permission
PERM_MODIFY 0x00004000 Modify permission
PERM_MOVE 0x00080000 Move permission
PERM_TRANSFER 0x00002000 Transfer permission