Crossfire Server, Trunk
artifactlist Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactlist:

Data Fields

std::vector< artifact * > items
uint16_t total_chance
uint8_t type

Detailed Description

This represents all archetypes for one particular object type.

Definition at line 24 of file artifact.h.

Field Documentation

◆ items

◆ next

artifactlist* artifactlist::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_describe(), dump_artifacts(), generate_artifact(), get_empty_artifactlist(), ArtifactLoader::load(), and ArtifactListWrapper::wasModified().

◆ type

uint8_t artifactlist::type

Object type that this list represents.

Definition at line 25 of file artifact.h.

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

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