Crossfire Server, Trunk  1.75.0
struct_equipment Struct Reference

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

+ Collaboration diagram for struct_equipment:

Data Fields

int calc_power
 Item power calculated via calc_item_power(). More...
 
char * diff
 Result of get_ob_diff() with the item's clone. More...
 
char * name
 Item's name. More...
 
struct_map_list origin
 Map(s) this item is found in. More...
 
int power
 Item power as declared by the item itself. More...
 

Detailed Description

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

Definition at line 272 of file mapper.cpp.

Field Documentation

◆ calc_power

int struct_equipment::calc_power

Item power calculated via calc_item_power().

Definition at line 275 of file mapper.cpp.

Referenced by add_one_item(), and sort_equipment().

◆ diff

char* struct_equipment::diff

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

Definition at line 276 of file mapper.cpp.

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

◆ name

char* struct_equipment::name

Item's name.

Definition at line 273 of file mapper.cpp.

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

◆ origin

struct_map_list struct_equipment::origin

Map(s) this item is found in.

Definition at line 277 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 274 of file mapper.cpp.

Referenced by add_one_item(), and sort_equipment().


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