Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


libtf:documentation:api:apparel:wornapparel

This is an old revision of the document!


Table of Contents

<-- Back

LibTF.Something

Inherits From: LibTF.PersistentObject, LibTF.Inventory

Blurb.

Fields

Inherited from LibTF.PersistentObject: id, parentId, parent, name, aName, nameIsProper, nameIrregularArticle

Inherited from LibTF.Inventory: None.

Methods

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.

<-- Back

libtf/documentation/api/apparel/wornapparel.1519587373.txt.gz ยท Last modified: 2018/02/25 11:36 by lee