Crossfire Server, Branches 1.12  R18729
treasureliststruct Struct Reference

#include <treasure.h>

+ Collaboration diagram for treasureliststruct:

Data Fields

struct treasurestructitems
 
const char * name
 
struct treasureliststructnext
 
sint16 total_chance
 

Detailed Description

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

Definition at line 111 of file treasure.h.

Field Documentation

const char* treasureliststruct::name
struct treasureliststruct* treasureliststruct::next
sint16 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 113 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: