Crossfire Server, Trunk
struct_equipment Struct Reference
+ Collaboration diagram for struct_equipment:

Data Fields

int calc_power
 
char * diff
 
char * name
 
struct_map_list origin
 
int power
 

Detailed Description

One special item (weapon, shield, ...).

Definition at line 246 of file mapper.cpp.

Field Documentation

◆ calc_power

int struct_equipment::calc_power

Item power calculated via calc_item_power().

Definition at line 249 of file mapper.cpp.

Referenced by add_one_item(), and ensure_unique().

◆ diff

char* struct_equipment::diff

Result of get_ob_diff() with the item's clone.

Definition at line 250 of file mapper.cpp.

Referenced by add_one_item(), ensure_unique(), and free_equipment().

◆ name

char* struct_equipment::name

Item's name.

Definition at line 247 of file mapper.cpp.

Referenced by add_one_item(), ensure_unique(), and free_equipment().

◆ origin

struct_map_list struct_equipment::origin

Map(s) this item is found in.

Definition at line 251 of file mapper.cpp.

Referenced by add_one_item(), and get_equipment().

◆ power

int struct_equipment::power

Item power as declared by the item itself.

Definition at line 248 of file mapper.cpp.

Referenced by add_one_item(), and ensure_unique().


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