Crossfire Server, Trunk
|
#include <artifact.h>
Data Fields | |
std::vector< artifact * > | items |
artifactlist * | next |
uint16_t | total_chance |
uint8_t | type |
This represents all archetypes for one particular object type.
Definition at line 24 of file artifact.h.
std::vector<artifact *> artifactlist::items |
Artifacts for this type. Will never be NULL.
Definition at line 28 of file artifact.h.
Referenced by artifact_msg(), cast_create_missile(), ArtifactListWrapper::child(), ArtifactListWrapper::childIndex(), ArtifactListWrapper::childrenCount(), command_create(), dump_artifacts(), free_artifactlist(), generate_artifact(), ArtifactLoader::load(), START_TEST(), and ArtifactListWrapper::wasModified().
artifactlist* artifactlist::next |
Next list of artifacts.
Definition at line 27 of file artifact.h.
Referenced by dump_artifacts(), find_artifactlist(), free_artifactlist(), get_empty_artifactlist(), ArtifactLoader::load(), malloc_info(), and START_TEST().
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().
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().