Pol  Rev 533
USpellScroll Class Reference

#include <spelbook.h>

+ Inheritance diagram for USpellScroll:
+ Collaboration diagram for USpellScroll:

List of all members.

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

ItemItem::create (const ItemDesc &itemdesc, u32 serial)

Detailed Description

Definition at line 55 of file spelbook.h.


Constructor & Destructor Documentation

USpellScroll::USpellScroll ( const ItemDesc descriptor) [explicit, protected]

Definition at line 308 of file spelbook.cpp.


Member Function Documentation

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:

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:


Friends And Related Function Documentation

Item* Item::create ( const ItemDesc itemdesc,
u32  serial 
) [friend]

The documentation for this class was generated from the following files: