Database:Inventoryitems

From OpenSimulator

Revision as of 09:59, 25 February 2009 by Peetr maynard (Talk | contribs)

Jump to: navigation, search

inventoryitems Records details with respect to the avatar's personal property (assets)      (back to Database Documentation)


The current structure of the inventoryitems table is as follows:


Field
TypeNullKeyDefaultExtra
 
assetIDvarchar(36)YESNULL 
assetTypeint(11) unsignedYESNULL
inventoryNamevarchar(64)YESNULL
inventoryDescriptionvarchar(64)YESNULL
inventoryNextPermissionsint(10) unsignedYESNULL
inventoryCurrentPermissionsint(10) unsignedYESNULL
invTypeint(11)YESNULL
CreatorIDvarchar(36)YESNULL
inventoryBasePermissionsint(10) unsignedNO0
inventoryEveryOnePermissionsint(10) unsignedNO0
salePriceint(11)NONULL
saleTypetinyint(4)NONULL
creationDateint(11)NONULL
groupIDvarchar(36)NO00000000-0000-0000-0000-000000000000
groupOwnedtinyint(4)NONULL
flagsint(11) unsignedNO0
inventoryIDchar(36)NOPRI00000000-0000-0000-0000-000000000000
avatarIDchar(36)YESMULNULL
parentFolderIdchar(36)YESMULNULL
inventoryGroupPermissionsint(10) unsignedNO0



      (back to Database Documentation)


assetID
Refers to the related row in the assets table.

assetType
Type of asset (e.g., script, texture, or shape - asset type list)

inventoryName
Text of the name of the inventory item as it appears in the client inventory interface.

inventoryDescription
Text of the description of the inventory item as it appears in the client inventory interface.

inventoryNextPermissions
Permissions that will be applied to the item if/when it is transferred to another avatar. Permission values can be found at OpenSim.Permissions

inventoryCurrentPermissions
Permissions on the the item for the current posessor of the item. Permission values can be found at OpenSim.Permissions

invType
Type of inventory item (is this redundant with assetType?)

creatorID
UUID of the item's original creator.

inventoryBasePermissions
Base permissions of the object. Permission values can be found at OpenSim.Permissions

inventoryEveryOnePermissions
Permissions with respect to everyone but the owner of the item. Permission values can be found at OpenSim.Permissions

salePrice
Sale price of the item.

saleType
presently unknown

creationDate
Date the item was created

groupID
UUID of the group that the items is 'deeded' to

groupOwned
group ownership flags

flags
A definition of Flag values can be found at OpenSim.Permissions#ObjectFlags_.28F.29

inventoryID
UUID of inventory item

avatarID
UUID of item's owner

parentFolderID
UUID of the folder said to 'contain' the item

inventoryGroupPermissions
Permissions with respect to the owner group of the item. Permission values can be found at OpenSim.Permissions

      (back to Database Documentation)

Personal tools
General
About This Wiki