Maybe that should go into an enum somewhere, for documentations sake. /Stefan
> -----Original Message----- > From: [email protected] [mailto:opensim-dev- > [email protected]] On Behalf Of Frisby, Adam > Sent: den 16 juli 2009 06:46 > To: [email protected] > Subject: Re: [Opensim-dev] Request for documentation - > InventoryItems.InvType > > Thanks > > > -----Original Message----- > > From: [email protected] [mailto:opensim-dev- > > [email protected]] On Behalf Of jradford > > Sent: Wednesday, 15 July 2009 8:31 PM > > To: [email protected] > > Subject: Re: [Opensim-dev] Request for documentation - > > InventoryItems.InvType > > > > From Libomv: > > > > /// <summary> > > /// Inventory Item Types, eg Script, Notecard, Folder, etc > > /// </summary> > > public enum InventoryType : sbyte > > { > > /// <summary>Unknown</summary> > > Unknown = -1, > > /// <summary>Texture</summary> > > Texture = 0, > > /// <summary>Sound</summary> > > Sound = 1, > > /// <summary>Calling Card</summary> > > CallingCard = 2, > > /// <summary>Landmark</summary> > > Landmark = 3, > > /* > > /// <summary>Script</summary> > > //[Obsolete("See LSL")] Script = 4, > > /// <summary>Clothing</summary> > > //[Obsolete("See Wearable")] Clothing = 5, > > /// <summary>Object, both single and coalesced</summary> > > */ > > Object = 6, > > /// <summary>Notecard</summary> > > Notecard = 7, > > /// <summary></summary> > > Category = 8, > > /// <summary>Folder</summary> > > Folder = 8, > > /// <summary></summary> > > RootCategory = 9, > > /// <summary>an LSL Script</summary> > > LSL = 10, > > /* > > /// <summary></summary> > > //[Obsolete("See LSL")] LSLBytecode = 11, > > /// <summary></summary> > > //[Obsolete("See Texture")] TextureTGA = 12, > > /// <summary></summary> > > //[Obsolete] Bodypart = 13, > > /// <summary></summary> > > //[Obsolete] Trash = 14, > > */ > > /// <summary></summary> > > Snapshot = 15, > > /* > > /// <summary></summary> > > //[Obsolete] LostAndFound = 16, > > */ > > /// <summary></summary> > > Attachment = 17, > > /// <summary></summary> > > Wearable = 18, > > /// <summary></summary> > > Animation = 19, > > /// <summary></summary> > > Gesture = 20 > > } > > > > > > On Wed, 15 Jul 2009 22:56:07 -0400, "Frisby, Adam" > > <[email protected]> > > wrote: > > > Does anyone know what the values of InventoryItems.InvType > represent? > > It's > > > an integer and represents the type of inventory; but I cant seem to > > find > > > any documentation (either in code, or externally) about what the > > integers > > > correlate to. > > > > > > Adam > > > > > > > -- Jim > > > > !DSPAM:370,4a5e9ed719051028312470! > > > > > > _______________________________________________ > > Opensim-dev mailing list > > [email protected] > > https://lists.berlios.de/mailman/listinfo/opensim-dev > _______________________________________________ > Opensim-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-dev _______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
