|
Pol
Revision:cb584c9
|
#include <itemdesc.h>
Inheritance diagram for Pol::Items::SpellbookDesc:Public Member Functions | |
| SpellbookDesc (u32 objtype, Clib::ConfigElem &elem, const Plib::Package *pkg) | |
| virtual | ~SpellbookDesc () |
| virtual size_t | estimatedSize () const POL_OVERRIDE |
| virtual void | PopulateStruct (Bscript::BStruct *descriptor) const POL_OVERRIDE |
Public Member Functions inherited from Pol::Items::ContainerDesc | |
| ContainerDesc (u32 objtype, Clib::ConfigElem &elem, const Plib::Package *pkg) | |
| virtual | ~ContainerDesc () |
Public Member Functions inherited from Pol::Items::ItemDesc | |
| ItemDesc (u32 objtype, Clib::ConfigElem &elem, Type type, const Plib::Package *pkg) | |
| ItemDesc (Type type) | |
| virtual | ~ItemDesc () |
| bool | default_movable () const |
| std::string | objtype_description () const |
| void | unload_scripts () |
Private Types | |
| typedef ContainerDesc | base |
Additional Inherited Members | |
Public Types inherited from Pol::Items::ItemDesc | |
| enum | Movable : u8 { UNMOVABLE, MOVABLE, DEFAULT } |
| enum | Type { ITEMDESC, CONTAINERDESC, DOORDESC, WEAPONDESC, ARMORDESC, BOATDESC, HOUSEDESC, SPELLBOOKDESC, SPELLSCROLLDESC, MAPDESC } |
Static Public Member Functions inherited from Pol::Items::ItemDesc | |
| static ItemDesc * | create (Clib::ConfigElem &elem, const Plib::Package *pkg) |
Definition at line 191 of file itemdesc.h.
|
private |
Definition at line 193 of file itemdesc.h.
| Pol::Items::SpellbookDesc::SpellbookDesc | ( | u32 | objtype, |
| Clib::ConfigElem & | elem, | ||
| const Plib::Package * | pkg | ||
| ) |
Definition at line 800 of file itemdesc.cpp.
References Pol::Items::ItemDesc::SPELLBOOKDESC, and Pol::Items::ItemDesc::type.
|
inlinevirtual |
Definition at line 198 of file itemdesc.h.
References POL_OVERRIDE.
|
virtual |
Reimplemented from Pol::Items::ContainerDesc.
Definition at line 812 of file itemdesc.cpp.
References Pol::Items::ContainerDesc::estimatedSize(), and spelltype.
|
virtual |
Reimplemented from Pol::Items::ContainerDesc.
Definition at line 806 of file itemdesc.cpp.
References Pol::Bscript::BStruct::addMember(), Pol::Items::ContainerDesc::PopulateStruct(), and spelltype.
| std::string Pol::Items::SpellbookDesc::spelltype |
Definition at line 201 of file itemdesc.h.
Referenced by estimatedSize(), PopulateStruct(), and Pol::Core::Spellbook::Spellbook().