#include <externs.h>

Public Member Functions | |
| item_def () | |
| std::string | name (description_level_type descrip, bool terse=false, bool ident=false, bool with_inscription=true, bool quantity_in_words=false, iflags_t ignore_flags=0x0) const |
| bool | has_spells () const |
| bool | cursed () const |
| int | book_number () const |
| zap_type | zap () const |
| int | index () const |
| int | armour_rating () const |
| bool | launched_by (const item_def &launcher) const |
| void | clear () |
| void | set_holding_monster (int midx) |
| monster * | holding_monster () const |
| bool | held_by_monster () const |
| bool | defined () const |
| bool | is_valid () const |
| bool | is_critical () const |
| bool | is_mundane () const |
Public Attributes | |
| object_class_type | base_type:8 |
| uint8_t | sub_type |
| short | plus |
| short | plus2 |
| int | special |
| uint8_t | colour |
| uint8_t | rnd |
| short | quantity |
| iflags_t | flags |
| coord_def | pos |
| short | link |
| short | slot |
| unsigned short | orig_place |
| short | orig_monnum |
| std::string | inscription |
| CrawlHashTable | props |
| item_def::item_def | ( | ) | [inline] |
| std::string item_def::name | ( | description_level_type | descrip, | |
| bool | terse = false, |
|||
| bool | ident = false, |
|||
| bool | with_inscription = true, |
|||
| bool | quantity_in_words = false, |
|||
| iflags_t | ignore_flags = 0x0 | |||
| ) | const |

| bool item_def::has_spells | ( | ) | const |

| bool item_def::cursed | ( | ) | const |
| int item_def::book_number | ( | ) | const |
| zap_type item_def::zap | ( | ) | const |

| int item_def::index | ( | ) | const |
| int item_def::armour_rating | ( | ) | const |

| bool item_def::launched_by | ( | const item_def & | launcher | ) | const |

| void item_def::clear | ( | ) | [inline] |

| void item_def::set_holding_monster | ( | int | midx | ) |

| monster * item_def::holding_monster | ( | ) | const |

| bool item_def::held_by_monster | ( | ) | const |

| bool item_def::defined | ( | ) | const |
| bool item_def::is_valid | ( | ) | const |

| bool item_def::is_critical | ( | ) | const |

| bool item_def::is_mundane | ( | ) | const |
| uint8_t item_def::sub_type |
| short item_def::plus |
| short item_def::plus2 |
| uint8_t item_def::colour |
| uint8_t item_def::rnd |
| short item_def::quantity |
| short item_def::link |
| short item_def::slot |
| unsigned short item_def::orig_place |
| short item_def::orig_monnum |
1.5.6