Difference between revisions of "ObjectProperties"
Jump to navigation
Jump to search
m (Saving Changes Preemptively.) |
|||
Line 38: | Line 38: | ||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
Aggregate perms are packed very oddly. Each permission takes two bits to represent. | |||
===Aggregate Permissions bitmasks=== | |||
AND with mask to determine if permission is present. | |||
{| {{Prettytable}} | |||
|- {{Hl2}} | |||
! Bitmask | |||
! Permission | |||
|- | |||
| 00000011b | |||
| Copy | |||
|- | |||
| 00001100b | |||
| Modify | |||
|- | |||
| 00110000b | |||
| Transfer | |||
|} | |||
===Sale Type value=== | |||
{| {{Prettytable}} | |||
|- {{Hl2}} | |||
! Value | |||
! Sale Type | |||
! Comment | |||
|- | |||
| 0x00 | |||
| FS_NOT | |||
| Item is not for sale, price is ignored. | |||
|- | |||
| 0x01 | |||
| FS_ORIGINAL | |||
| Original items ownership is transferred to buyer when bought. | |||
|- | |||
| 0x02 | |||
| FS_COPY | |||
| Copy of item is given to buyer with next owner permissions when bought. | |||
|- | |||
| 0x03 | |||
| FS_CONTENTS | |||
| The contents of the item are given to the buyer as a folder when bought. | |||
|} | |||
Sent to client in reply to [[ObjectSelect]] | Sent to client in reply to [[ObjectSelect]] | ||
==Official Client Behavior== | |||
Mentions CreationDate as a U64 pulled just after GroupID is pulled. (Couldnt find it in the current template. Was this dropped?) | |||
[[Category:Messages]] | [[Category:Messages]] |
Revision as of 07:51, 8 July 2008
Message Layout
{ ObjectProperties Medium Trusted Zerocoded { ObjectData Variable { ObjectID LLUUID } { CreatorID LLUUID } { OwnerID LLUUID } { GroupID LLUUID } { BaseMask U32 } { OwnerMask U32 } { GroupMask U32 } { EveryoneMask U32 } { NextOwnerMask U32 } { OwnershipCost S32 } { SaleType U8 } { SalePrice S32 } { AggregatePerms U8 } { AggregatePermTextures U8 } { AggregatePermTexturesOwner U8 } { Category U32 } { InventorySerial S16 } { ItemID LLUUID } { FolderID LLUUID } { FromTaskID LLUUID } { LastOwnerID LLUUID } { Name Variable 1 } { Description Variable 1 } { TouchName Variable 1 } { SitName Variable 1 } { TextureID Variable 1 } } }
Usage and Notes
Aggregate perms are packed very oddly. Each permission takes two bits to represent.
Aggregate Permissions bitmasks
AND with mask to determine if permission is present.
Bitmask | Permission |
---|---|
00000011b | Copy |
00001100b | Modify |
00110000b | Transfer |
Sale Type value
Value | Sale Type | Comment |
---|---|---|
0x00 | FS_NOT | Item is not for sale, price is ignored. |
0x01 | FS_ORIGINAL | Original items ownership is transferred to buyer when bought. |
0x02 | FS_COPY | Copy of item is given to buyer with next owner permissions when bought. |
0x03 | FS_CONTENTS | The contents of the item are given to the buyer as a folder when bought. |
Sent to client in reply to ObjectSelect
Official Client Behavior
Mentions CreationDate as a U64 pulled just after GroupID is pulled. (Couldnt find it in the current template. Was this dropped?)