[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Wed Dec 13 08:20:04 CST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/12/13 08:20
User        : ryo
Edit Summary: add properties / methods

@@ -214,11 +214,25 @@
    - minute
    - day of week
    - week of month
    - season
+ 
  
  ===== Crossfire.Archetype methods and attributes =====
- FIXME todo :)
+ 
+ This represents an archetype, from which all objects are derived.
+ 
+ Pointer to such item can be obtained through the ''Crossfire.Object.Archetype'' or the list returned by ''Crossfire.GetArchetypes()''.
+ 
+ Properties:
+   * Name: archetype's name
+ 
+ Methods:
+   * Next: next archetype in the archetype list. Will be ''None'' for last item
+   * More: next archetype linked to current archetype. Will be ''None'' for last item
+   * Head: archetype to which this archetype is linked to. Will be ''None'' if not applicable
+   * Clone: returns a ''Crossfire.Object'' representing the default values for items of that archetype. Will never be ''None''
+   * NewObject: returns a ''Crossfire.Object'' having this archetype as type
  
  ===== Crossfire.Object methods and attributes =====
  
  Properties in **bold** are read-write, others are readonly.


IP-Address  : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1164387357
New Revision: http://wiki.metalforge.net/doku.php/cfpython

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list