Angband
Data Fields
class_book Struct Reference

A structure to hold class-dependent information on spell books. More...

#include <player.h>

Data Fields

int tval
 Item type of the book. More...
 
int sval
 Item sub-type for book. More...
 
bool dungeon
 Whether this is a dungeon book. More...
 
int num_spells
 Number of spells in this book. More...
 
const struct magic_realmrealm
 The magic realm of this book. More...
 
struct class_spellspells
 Spells in the book. More...
 

Detailed Description

A structure to hold class-dependent information on spell books.

Field Documentation

◆ dungeon

bool dungeon

Whether this is a dungeon book.

Referenced by parse_always(), parse_class_book(), and write_book_kind().

◆ num_spells

int num_spells

◆ realm

const struct magic_realm* realm

◆ spells

struct class_spell* spells

◆ sval

int sval

◆ tval

int tval

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