C# Class OpenMetaverse.InventoryItem

An Item in Inventory
Inheritance: InventoryBase
Exibir arquivo Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Properties

Property Type Description
AssetType AssetType
AssetUUID UUID
CreationDate System.DateTime
CreatorID UUID
Description string
Flags uint
GroupID UUID
GroupOwned bool
InventoryType InventoryType
Permissions Permissions
SalePrice int
SaleType SaleType

Public Methods

Method Description
Equals ( InventoryBase o ) : bool

Determine whether the specified OpenMetaverse.InventoryBase object is equal to the current object

Equals ( InventoryItem o ) : bool

Determine whether the specified OpenMetaverse.InventoryItem object is equal to the current object

Equals ( object o ) : bool

Compares an object

GetHashCode ( ) : int

Generates a number corresponding to the value of the object to support the use of a hash table. Suitable for use in hashing algorithms and data structures such as a hash table

InventoryItem ( InventoryType type, UUID itemID ) : System

Construct a new InventoryItem object of a specific Type

InventoryItem ( UUID itemID ) : System

Construct a new InventoryItem object

Method Details

Equals() public method

Determine whether the specified OpenMetaverse.InventoryBase object is equal to the current object
public Equals ( InventoryBase o ) : bool
o InventoryBase The object to compare against
return bool

Equals() public method

Determine whether the specified OpenMetaverse.InventoryItem object is equal to the current object
public Equals ( InventoryItem o ) : bool
o InventoryItem The object to compare against
return bool

Equals() public method

Compares an object
public Equals ( object o ) : bool
o object The object to compare
return bool

GetHashCode() public method

Generates a number corresponding to the value of the object to support the use of a hash table. Suitable for use in hashing algorithms and data structures such as a hash table
public GetHashCode ( ) : int
return int

InventoryItem() public method

Construct a new InventoryItem object of a specific Type
public InventoryItem ( InventoryType type, UUID itemID ) : System
type InventoryType The type of item from
itemID UUID of the item
return System

InventoryItem() public method

Construct a new InventoryItem object
public InventoryItem ( UUID itemID ) : System
itemID UUID The of the item
return System

Property Details

AssetType public_oe property

The type of item from OpenMetaverse.AssetType
public AssetType AssetType
return AssetType

AssetUUID public_oe property

The OpenMetaverse.UUID of this item
public UUID AssetUUID
return UUID

CreationDate public_oe property

Time and date this inventory item was created, stored as UTC (Coordinated Universal Time)
public DateTime,System CreationDate
return System.DateTime

CreatorID public_oe property

The OpenMetaverse.UUID of the creator of this item
public UUID CreatorID
return UUID

Description public_oe property

A Description of this item
public string Description
return string

Flags public_oe property

Combined flags from OpenMetaverse.InventoryItemFlags
public uint Flags
return uint

GroupID public_oe property

The OpenMetaverse.Groups OpenMetaverse.UUID this item is set to or owned by
public UUID GroupID
return UUID

GroupOwned public_oe property

If true, item is owned by a group
public bool GroupOwned
return bool

InventoryType public_oe property

The type of item from the OpenMetaverse.InventoryType enum
public InventoryType InventoryType
return InventoryType

Permissions public_oe property

The combined OpenMetaverse.Permissions of this item
public Permissions,OpenMetaverse Permissions
return Permissions

SalePrice public_oe property

The price this item can be purchased for
public int SalePrice
return int

SaleType public_oe property

The type of sale from the OpenMetaverse.SaleType enum
public SaleType SaleType
return SaleType