weapon Class Reference

Inheritance diagram for weapon:

itemCraft item amplifier meleeWeapon rangeWeapon

Public Member Functions

 __construct ($guild, $slot, $icon_name, $q, $id_peuple, $skin, $hp, $dur, $hpb, $sab, $stb, $fob, $e, $text, $id_type_weapon, $nb_hand, $sap, $sl, $csl, $w, $hr)
 barCode ()

Data Fields

 $id_weapon
 <string> Flunker identifiant for the weapon
 $sap
 <int> 0 means no sap, 1 mean sap icon
 $sl
 <int> ap load
 $csl
 <int> current sap load
 $w
 <int> weight
 $hr
 <int> hit rate
 $special_ability
 <string> "Tekorn", "Vedice", "Maga" or "Cheng"

Protected Member Functions

 _description ()
 _getIcon ()
 _getFormContent ()

Constructor & Destructor Documentation

__construct ( guild,
slot,
icon_name,
q,
id_peuple,
skin,
hp,
dur,
hpb,
sab,
stb,
fob,
e,
text,
id_type_weapon,
nb_hand,
sap,
sl,
csl,
w,
hr 
)

Reimplemented in amplifier.


Member Function Documentation

_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 itemCraft.

_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 itemCraft.

Reimplemented in meleeWeapon, and rangeWeapon.

_getIcon (  )  [protected]

Give the HTML code for displaying the item icon.

See also:
Use in _getFormContent, getIconLi and getFormAndIconLi.
Returns:
<string> the HTML code

Reimplemented from item.

barCode (  ) 

Get the Flunker bar code of the Item. The code contains almost all information for filtring the item. The bar code : BC_{id_weapon}_{id_peuple}_{energy}_

Reimplemented from item.


Field Documentation

$csl

<int> current sap load

$hr

<int> hit rate

$id_weapon

<string> Flunker identifiant for the weapon

$sap

<int> 0 means no sap, 1 mean sap icon

$sl

<int> ap load

$special_ability

<string> "Tekorn", "Vedice", "Maga" or "Cheng"

$w

<int> weight


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

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