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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat May 8 07:26:31 CDT 2010


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

Date        : 2010/05/08 07:26
User        : ryo
Edit Summary: ReplyType

@@ -107,8 +107,9 @@
  
  The following functions and objects are available to all scripts using the Crossfire module through ''import Crossfire''.
  
  **Convention:** in the reference, ''xxx()'' specifies a method, ''xxx'' specifies a property.
+ 
  ===== Constants =====
  Constants are available to wrap values used in Crossfire code like object types, movements, ...
  They are available through ''Crossfire.xxx.VALUE'', where ''xxx'' is the constant type and ''VALUE'' the value as in the C source code, in uppercase, without specific prefix (ie F_TRUE becomes TRUE, AT_FIRE becomes FIRE, and so on).
  
@@ -122,8 +123,9 @@
    * ''EventType'': EVENT_xxx constants, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/plugin.h?view=markup|include/plugin.h]]''
    * ''MessageFlag'': NDI_xxx constants, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/newclient.h?view=markup|include/newclient.h]]''
    * ''Move'': movement types, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/define.h]]''
    * ''Type'': object type, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/define.h]]''
+   * ''ReplyType': the rt_xxx constants, reply type, as defined in ''[[http://crossfire.svn.sourceforge.net/viewvc/crossfire/server/trunk/include/define.h?view=markup|include/dialog.h]]''
  
  ''MessageFlag'' and ''Move'' can be combined, using +, to build multiple values.
  
  {FIXME} do a nice table, with link to values?


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1273316565
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