This is an old revision of the document!
Inherits From: LibTF.PersistentObject, LibTF.Inventory
Blurb.
Inherited from LibTF.PersistentObject: id, parentId, parent, name, aName, nameIsProper, nameIrregularArticle
Inherited from LibTF.Inventory: None.
Inherited from LibTF.PersistentObject: hasPersistent(), getPersistent(), setPersistent(), resetPersistent()
Inherited from LibTF.Inventory: add(), remove(), has(), get(), getListString(), sort(), preAdd(), postAdd(), preRemove(), postRemove()
This class, derived from Inventory, is meant to track worn Apparel. It overrides preAdd() so that only objects of type GenericApparel (or subclasses thereof) may be added to the inventory. It also overrides sort() so that the contents are sorted in order of ClothingSlot value rather than alphabetically.