Difference between revisions of "ObjectProperties"

From Second Life Wiki
Jump to navigation Jump to search
m (yeah, dumb edit)
m (oops, knocked something down into the wrong spot.)
Line 38: Line 38:
</pre>
</pre>
==Usage and Notes==
==Usage and Notes==
Sent to client in reply to [[ObjectSelect]]
Aggregate perms are packed very oddly. Each permission takes two bits to represent.
Aggregate perms are packed very oddly. Each permission takes two bits to represent.


Line 82: Line 84:


Category is up to 4 different values packed as one.
Category is up to 4 different values packed as one.
Sent to client in reply to [[ObjectSelect]]


==Official Client Behavior==
==Official Client Behavior==

Revision as of 19:24, 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

Sent to client in reply to ObjectSelect

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.

Category is up to 4 different values packed as one.

Official Client Behavior

Mentions CreationDate as a U64 pulled just after GroupID is pulled. (Couldnt find it in the current template. Was this dropped?)