itemCraft Class Reference

Inheritance diagram for itemCraft:

item cloth jewel weapon shield amplifier meleeWeapon rangeWeapon

Public Member Functions

 __construct ($guild, $slot, $icon_name, $q, $id_peuple, $skin, $hp, $dur, $hpb, $sab, $stb, $fob, $e, $text)
 getTitle ()
 _getEndFormContent ()
 isArmiloBoost ()

Data Fields

 $id_peuple
 <string> Flunker identifiant of the "nationnality skin"
 $skin
 <string> skin of the item
 $text
 the text specified by the crafter
 $hp
 <int> hp of the item (between 0 and dur)
 $dur
 <int> durability of the item
 $hpb
 <int> hp buff
 $sab
 <int> sab buff
 $stb
 <int> sta buff
 $fob
 <int> focus buff
 $e
 <string> energy of the item (b=basic f=fine c=choice e=excelent s=supreme)

Protected Member Functions

 _description ()
 _getFormContent ()
 _resumeText ()
 _buffMax ()

Constructor & Destructor Documentation

__construct ( guild,
slot,
icon_name,
q,
id_peuple,
skin,
hp,
dur,
hpb,
sab,
stb,
fob,
e,
text 
)

Build the Item and, if necessary, translate a Ryzom code to a Flunker code.


Member Function Documentation

_buffMax (  )  [protected]

Tool Method finding the buffer(s) max of the itemCraft.

Returns:
<string> list of the max buffer separated by '0'

_description (  )  [protected]

Get some word you do not find in the title and that can help the texte search.

Returns:
<string>a set of word, not a text

Reimplemented from item.

Reimplemented in cloth, and weapon.

_getEndFormContent (  ) 

_getFormContent (  )  [protected]

Give the HTML code for displaying the content of the item form.

See also:
Use in getFormLi and getFormAndIconLi.
Returns:
<string> the HTML code

Reimplemented from item.

Reimplemented in cloth, jewel, weapon, meleeWeapon, and rangeWeapon.

_resumeText (  )  [protected]

getTitle (  ) 

Give the Funker title for the item (build with the object information). Need to load the file local/{lang}.code_{room}.php before.

Returns:
<string> the item title in the curent language

Reimplemented from item.

isArmiloBoost (  ) 


Field Documentation

$dur

<int> durability of the item

$e

<string> energy of the item (b=basic f=fine c=choice e=excelent s=supreme)

$fob

<int> focus buff

$hp

<int> hp of the item (between 0 and dur)

$hpb

<int> hp buff

$id_peuple

<string> Flunker identifiant of the "nationnality skin"

$sab

<int> sab buff

$skin

<string> skin of the item

$stb

<int> sta buff

$text

the text specified by the crafter


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 22:21:29 2009 for Flunker by  doxygen 1.5.9