libtf:documentation:api:apparel:wornapparel
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
libtf:documentation:api:apparel:wornapparel [2018/04/22 16:35] – lee | libtf:documentation:api:apparel:wornapparel [2018/09/24 14:02] (current) – removed lee |
---|
[[libtf:documentation:api:apparel:start|<-- Back]] | |
| |
| |
====== LibTF.WornApparel====== | |
| |
**Inherits From:** [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]], [[libtf:documentation:api:inventory|LibTF.Inventory]] | |
| |
This class, derived from [[libtf:documentation:api:inventory|LibTF.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. | |
| |
===== Fields ===== | |
| |
**Inherited from [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]]:** id, parentId, parent, name, aName, nameIsProper, nameIrregularArticle | |
| |
**Inherited from [[libtf:documentation:api:inventory|LibTF.Inventory]]:** (none) | |
| |
===== Methods ===== | |
| |
**Inherited from [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]]:** hasPersistent(), getPersistent(), setPersistent(), resetPersistent() | |
| |
**Inherited from [[libtf:documentation:api:inventory|LibTF.Inventory]]:** add(), remove(), has(), get(), getListString(), //sort()//, //preAdd()//, postAdd(), preRemove(), postRemove() | |
| |
| |
[[libtf:documentation:api:apparel:start|<-- Back]] | |
| |
libtf/documentation/api/apparel/wornapparel.1524440108.txt.gz · Last modified: 2018/04/22 16:35 by lee