|
Pol
Rev 533
|
#include <spelbook.h>
Inheritance diagram for USpellScroll:
Collaboration diagram for USpellScroll:Public Member Functions | |
| virtual u16 | get_senditem_amount () const |
Static Public Member Functions | |
| static u16 | convert_objtype_to_spellnum (u32 objtype, u8 school) |
Protected Member Functions | |
| USpellScroll (const ItemDesc &descriptor) | |
Friends | |
| Item * | Item::create (const ItemDesc &itemdesc, u32 serial) |
Definition at line 55 of file spelbook.h.
| USpellScroll::USpellScroll | ( | const ItemDesc & | descriptor | ) | [explicit, protected] |
Definition at line 308 of file spelbook.cpp.
| u16 USpellScroll::convert_objtype_to_spellnum | ( | u32 | objtype, |
| u8 | school | ||
| ) | [static] |
Definition at line 313 of file spelbook.cpp.
References spell_scroll_objtype_limits.
Referenced by add_loaded_item(), get_senditem_amount(), and send_spellbook_contents().
Here is the caller graph for this function:| u16 USpellScroll::get_senditem_amount | ( | ) | const [virtual] |
Reimplemented from Item.
Definition at line 328 of file spelbook.cpp.
References Item::amount_, Item::container, convert_objtype_to_spellnum(), UObject::objtype_, POLCLASS_SPELLBOOK, UContainer::script_isa(), and Spellbook::spell_school.
Here is the call graph for this function:| Item* Item::create | ( | const ItemDesc & | itemdesc, |
| u32 | serial | ||
| ) | [friend] |