Crossfire Server, Trunk  R20513
Data Fields
treasureliststruct Struct Reference

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

#include <treasure.h>

Collaboration diagram for treasureliststruct:
Collaboration graph

Data Fields

struct treasurestructitems
 Items in this list, linked. More...
 
const char * name
 Usually monster-name/combination. More...
 
struct treasureliststructnext
 Next treasure-item in linked list. More...
 
int16_t total_chance
 If non-zero, only 1 item on this list should be generated. More...
 

Detailed Description

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

Definition at line 82 of file treasure.h.

Field Documentation

struct treasurestruct* treasureliststruct::items
const char* treasureliststruct::name
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: