Crossfire Server  1.75.0
artifactlist Struct Reference

This represents all archetypes for one particular object type. More...

#include <artifact.h>

Data Fields

std::vector< artifact * > items
 Artifacts for this type. More...
 
artifactlistnext
 Next list of artifacts. More...
 
uint16_t total_chance
 Sum of chance for are artifacts on this list. More...
 
uint8_t type
 Object type that this list represents. More...
 

Detailed Description

This represents all archetypes for one particular object type.

Definition at line 24 of file artifact.h.

Field Documentation

◆ items

◆ next

◆ total_chance

uint16_t artifactlist::total_chance

Sum of chance for are artifacts on this list.

Definition at line 26 of file artifact.h.

Referenced by artifact_compute_chance_for_item(), artifact_describe(), dump_artifacts(), generate_artifact(), and get_empty_artifactlist().

◆ type

uint8_t artifactlist::type

Object type that this list represents.

Definition at line 25 of file artifact.h.

Referenced by artifact_describe(), dump_artifacts(), find_artifactlist(), and ArtifactLoader::load().


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