Primitems

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
__NOTOC__
 +
{{Template:Quicklinks}}
 +
<br />
 +
 
[[Category:Database]]
 
[[Category:Database]]
  

Revision as of 17:07, 21 May 2009


Primitems Describes Prim Items and their relationships with Prims and Users       (back to Database Documentation)

The current structure of the Primitems table is as follows:

Field
TypeNullKeyDefaultExtra
 
invTypeint(11)YES
assetTypeint(11)YES
Namevarchar(255)YES
Descriptionvarchar(255)YES
CreationDatebigint(20)YES
nextPermissionsint(11)YES
currentPermissionsint(11)YES
basePermissionsint(11)YES
everyonePermissionsint(11)YES
groupPermissionsint(11)YES
flagsint(11)YES0
itemIDchar(36)NOPRI
primchar(36)NOMUL
assetIDchar(36)YES
parentfolderIDchar(36)YES
creatorIDchar(36)YES
ownerIDchar(36)YES
groupIDchar(36)YES
lastownerIDchar(36)YES


      (back to Database Documentation)


invType
The inventory type of this item. Is this needed with asset type?

assetType
The asset type of this item.

name
The name of this item defined by the creator.

description
A definition of this item.

creationDate
The date the item was created.

nextPermissions
The permissions to be granted to the next owner of this item. Definitions of the Permissions fields can be found at OpenSim:Permissions

currentPermissions
The permissions currently in force on thie item. Definitions of the Permissions fields can be found at OpenSim:Permissions



basepermissions
The permissions that the item was created with.

everyonepermissions
The permissions applied to everyone except the owner. Definitions of the Permissions fields can be found at OpenSim:Permissions



grouppermissions
Not yet implemented - waiting on groups. Definitions of the Permissions fields can be found at OpenSim:Permissions



flags
The use and values of flags are identified here: OpenSim:Permissions#ObjectFlags_.28F.29

itemID
The UUID of this item (i.e. the key by which it is accessed).

primID
The UUID of the prim to which this item is attached.

assetID
The UUID of the asset on the asset table created by this item.

parentfolderID
Not certain about the use of this field, but it seems to be the same as the primID.

ownerID
The UUID of the user who currently owns this item.

groupID
Not currently used as groups are not yet implemented.

lastownerID
The UUID of the user who previously owned this item.


      (back to Database Documentation)

Personal tools
General
About This Wiki