1 #ifndef OPENMW_GUI_SPELLMODEL_H
2 #define OPENMW_GUI_SPELLMODEL_H
4 #include "../mwworld/ptr.hpp"
Spell getItem(ModelIndex index) const
throws for invalid index
Definition: spellmodel.cpp:135
MWWorld::Ptr mActor
Definition: spellmodel.hpp:50
Type
Definition: spellmodel.hpp:11
std::string mId
Definition: spellmodel.hpp:21
std::string mName
Definition: spellmodel.hpp:19
bool mActive
Definition: spellmodel.hpp:24
Definition: spellmodel.hpp:9
MWWorld::Ptr mItem
Definition: spellmodel.hpp:22
bool mSelected
Definition: spellmodel.hpp:23
Model that lists all usable powers, spells and enchanted items for an actor.
Definition: spellmodel.hpp:35
int ModelIndex
Definition: spellmodel.hpp:40
Spell()
Definition: spellmodel.hpp:26
Definition: spellmodel.hpp:15
size_t getItemCount() const
Definition: spellmodel.cpp:130
Definition: spellmodel.hpp:13
Type mType
Definition: spellmodel.hpp:18
SpellModel(const MWWorld::Ptr &actor)
Definition: spellmodel.cpp:37
std::vector< Spell > mSpells
Definition: spellmodel.hpp:52
void update()
Definition: spellmodel.cpp:43
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
std::string mCostColumn
Definition: spellmodel.hpp:20
Definition: spellmodel.hpp:14