Crossfire Server, Trunk
artifactliststruct Struct Reference

#include <artifact.h>

+ Collaboration diagram for artifactliststruct:

Data Fields

struct artifactstructitems
struct artifactliststructnext
uint16_t total_chance
uint8_t type

Detailed Description

This represents all archetypes for one particular object type.

Definition at line 26 of file artifact.h.

Field Documentation

◆ items

◆ next

struct artifactliststruct* artifactliststruct::next

Next list of artifacts.

Definition at line 29 of file artifact.h.

Referenced by dump_artifacts(), find_artifactlist(), get_empty_artifactlist(), ArtifactLoader::load(), malloc_info(), and START_TEST().

◆ total_chance

uint16_t artifactliststruct::total_chance

Sum of chance for are artifacts on this list.

Definition at line 28 of file artifact.h.

Referenced by artifact_describe(), dump_artifacts(), generate_artifact(), get_empty_artifactlist(), ArtifactLoader::load(), and ArtifactListWrapper::wasModified().

◆ type

uint8_t artifactliststruct::type

Object type that this list represents.

Definition at line 27 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: