|
Pol
Revision:cb584c9
|
#include <itemdesc.h>
Inheritance diagram for Pol::Items::ContainerDesc:Public Member Functions | |
| ContainerDesc (u32 objtype, Clib::ConfigElem &elem, const Plib::Package *pkg) | |
| virtual | ~ContainerDesc () |
| virtual size_t | estimatedSize () const POL_OVERRIDE |
| virtual void | PopulateStruct (Bscript::BStruct *descriptor) const POL_OVERRIDE |
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 ItemDesc | 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 148 of file itemdesc.h.
|
private |
Definition at line 150 of file itemdesc.h.
| Pol::Items::ContainerDesc::ContainerDesc | ( | u32 | objtype, |
| Clib::ConfigElem & | elem, | ||
| const Plib::Package * | pkg | ||
| ) |
Definition at line 713 of file itemdesc.cpp.
|
inlinevirtual |
Definition at line 155 of file itemdesc.h.
References POL_OVERRIDE.
|
virtual |
Reimplemented from Pol::Items::ItemDesc.
Reimplemented in Pol::Items::SpellbookDesc.
Definition at line 762 of file itemdesc.cpp.
References can_insert_script, can_remove_script, Pol::Core::ScriptDef::estimatedSize(), Pol::Items::ItemDesc::estimatedSize(), on_insert_script, and on_remove_script.
Referenced by Pol::Items::SpellbookDesc::estimatedSize().
|
virtual |
Reimplemented from Pol::Items::ItemDesc.
Reimplemented in Pol::Items::SpellbookDesc.
Definition at line 743 of file itemdesc.cpp.
References Pol::Bscript::BStruct::addMember(), can_insert_script, can_remove_script, gump, max_items, max_slots, max_weight, maxx, maxy, minx, miny, no_drop_exception, on_insert_script, on_remove_script, Pol::Items::ItemDesc::pkg, Pol::Items::ItemDesc::PopulateStruct(), and Pol::Core::ScriptDef::relativename().
Referenced by Pol::Items::SpellbookDesc::PopulateStruct().
| Core::ScriptDef Pol::Items::ContainerDesc::can_insert_script |
Definition at line 171 of file itemdesc.h.
Referenced by Pol::Core::UContainer::can_insert_add_item(), Pol::Core::UContainer::can_insert_increase_stack(), estimatedSize(), and PopulateStruct().
| Core::ScriptDef Pol::Items::ContainerDesc::can_remove_script |
Definition at line 173 of file itemdesc.h.
Referenced by Pol::Core::UContainer::check_can_remove_script(), estimatedSize(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::gump |
Definition at line 160 of file itemdesc.h.
Referenced by Pol::Core::UContainer::gump(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::max_items |
Definition at line 165 of file itemdesc.h.
Referenced by Pol::Core::UContainer::max_items(), and PopulateStruct().
| u8 Pol::Items::ContainerDesc::max_slots |
Definition at line 167 of file itemdesc.h.
Referenced by Pol::Core::UContainer::max_slots(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::max_weight |
Definition at line 164 of file itemdesc.h.
Referenced by Pol::Core::UContainer::max_weight(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::maxx |
Definition at line 161 of file itemdesc.h.
Referenced by Pol::Core::UContainer::get_random_location(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::maxy |
Definition at line 162 of file itemdesc.h.
Referenced by Pol::Core::UContainer::get_random_location(), Pol::Core::UContainer::is_legal_posn(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::minx |
Definition at line 161 of file itemdesc.h.
Referenced by Pol::Core::UContainer::get_random_location(), Pol::Core::UContainer::is_legal_posn(), and PopulateStruct().
| u16 Pol::Items::ContainerDesc::miny |
Definition at line 162 of file itemdesc.h.
Referenced by Pol::Core::UContainer::get_random_location(), Pol::Core::UContainer::is_legal_posn(), and PopulateStruct().
| bool Pol::Items::ContainerDesc::no_drop_exception |
Definition at line 169 of file itemdesc.h.
Referenced by Pol::Core::UContainer::default_no_drop_exception(), and PopulateStruct().
| Core::ScriptDef Pol::Items::ContainerDesc::on_insert_script |
Definition at line 172 of file itemdesc.h.
Referenced by estimatedSize(), Pol::Core::UContainer::on_insert_add_item(), Pol::Core::UContainer::on_insert_increase_stack(), and PopulateStruct().
| Core::ScriptDef Pol::Items::ContainerDesc::on_remove_script |
Definition at line 174 of file itemdesc.h.
Referenced by estimatedSize(), Pol::Core::UContainer::on_remove(), and PopulateStruct().