Crossfire Server, Trunk  R20711
treasureliststruct Struct Reference

#include <treasure.h>

+ Collaboration diagram for treasureliststruct:

Data Fields

struct treasurestructitems
 
const char * name
 
struct treasureliststructnext
 
int16_t total_chance
 

Detailed Description

treasureliststruct represents one logical group of items to be generated together.

Definition at line 82 of file treasure.h.

Field Documentation

struct treasureliststruct* treasureliststruct::next
int16_t treasureliststruct::total_chance

If non-zero, only 1 item on this list should be generated. The total_chance contains the sum of the chance for this list.

Definition at line 84 of file treasure.h.

Referenced by create_one_treasure(), create_treasure(), CREResourcesWindow::fillTreasures(), load_treasures(), resurrect_player(), and CREUtils::treasureNode().


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