Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


libtf:documentation:api:apparel:generics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
libtf:documentation:api:apparel:generics [2018/02/25 09:41] leelibtf:documentation:api:apparel:generics [2018/09/23 17:26] (current) – removed lee
Line 1: Line 1:
-[[libtf:documentation:api:apparel:start|<-- Back]] 
- 
- 
-====== LibTF.Apparel.Generics.GenericApparel ====== 
- 
-**Inherits From:** [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]] 
- 
-This is the generic apparel type from which all other apparel is derived.  Persistent objects that specify this type in their defaults must also explicitly provide a slots section. 
- 
- 
-===== Fields ===== 
- 
-**Inherited from [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]]:** id, parentId, parent, name, aName, nameIsProper, nameIrregularArticle 
- 
-==== (GenericApparel).slots==== 
- 
-  * **Access:** Read-Write. 
-  * **Type:** Array of enum ClothingSlot. 
- 
-The ClothingSlots that this article of apparel occupies. 
- 
- 
-==== (GenericApparel).defaultSlots ==== 
- 
-  * **Access:** Read-Only. 
-  * **Type:** Array of enum ClothingSlot. 
- 
-The default ClothingSlots that this article of apparel occupies.  This is returned if there is no entry for the particular article of Apparel's slots in the persistence system.  For GenericApparel, this returns []. 
- 
-This getter is meant to be overridden in subclasses of Apparel, to make them occupy certain slots by default. 
- 
- 
-===== Methods ===== 
- 
-**Inherited from [[libtf:documentation:api:persistentobject|LibTF.PersistentObject]]:** hasPersistent(), getPersistent(), setPersistent(), resetPersistent() 
- 
-<code javascript> 
-// Example code. 
-</code> 
- 
- 
-[[libtf:documentation:api:apparel:start|<-- Back]] 
  
libtf/documentation/api/apparel/generics.1519580472.txt.gz · Last modified: 2018/02/25 09:41 by lee