Database:Inventoryitems

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(added assettype enumeration link)
Line 34: Line 34:
 
<br><br>
 
<br><br>
 
'''assetType'''<br>
 
'''assetType'''<br>
Type of asset (e.g., script, texture, or shape)
+
Type of asset (e.g., script, texture, or shape - [http://wiki.secondlife.com/wiki/AssetType asset type list])
 
<br><br>
 
<br><br>
 
'''inventoryName'''<br>
 
'''inventoryName'''<br>

Revision as of 06:49, 31 January 2009

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



      (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.

inventoryCurrentPermissions
Permissions on the the item for the current posessor of the item.

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

creatorID
UUID of the item's original creator.

inventoryBasePermissions
Base permissions of the object.

inventoryEveryOnePermissions
Permissions with respect to everyone but the owner of the item.

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
presently unknown

inventoryID
UUID of inventory item

avatarID
UUID of item's owner

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



      (back to Database Documentation)

Personal tools
General
About This Wiki