Pol  Rev 533
ArmorDesc Class Reference

#include <armrtmpl.h>

+ Inheritance diagram for ArmorDesc:
+ Collaboration diagram for ArmorDesc:

List of all members.

Public Types

typedef EquipDesc base

Public Member Functions

 ArmorDesc (u32 objtype, ConfigElem &elem, const Package *pkg)
virtual void PopulateStruct (BStruct *descriptor) const

Public Attributes

unsigned short ar
ScriptDef on_hit_script
std::set< unsigned short > zones

Detailed Description

Definition at line 22 of file armrtmpl.h.


Member Typedef Documentation

Reimplemented from EquipDesc.

Definition at line 26 of file armrtmpl.h.


Constructor & Destructor Documentation

ArmorDesc::ArmorDesc ( u32  objtype,
ConfigElem elem,
const Package pkg 
)

Definition at line 37 of file armor.cpp.

References ItemDesc::graphic, Tile::layer, LAYER_HAND1, LAYER_HAND2, layer_to_zone(), Package::name(), ConfigElem::remove_prop(), tile, zone_name_to_zone(), and zones.

+ Here is the call graph for this function:


Member Function Documentation

void ArmorDesc::PopulateStruct ( BStruct descriptor) const [virtual]

Reimplemented from EquipDesc.

Definition at line 79 of file armor.cpp.

References ObjArray::addElement(), BStruct::addMember(), ar, on_hit_script, ItemDesc::pkg, EquipDesc::PopulateStruct(), ObjArray::ref_arr, ScriptDef::relativename(), zone_to_zone_name(), and zones.

+ Here is the call graph for this function:


Member Data Documentation

unsigned short ArmorDesc::ar

Definition at line 30 of file armrtmpl.h.

Referenced by UArmor::ar(), UArmor::get_script_member_id(), and PopulateStruct().

std::set<unsigned short> ArmorDesc::zones

Definition at line 31 of file armrtmpl.h.

Referenced by ArmorDesc(), UArmor::covers(), PopulateStruct(), and UArmor::tmplzones().


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