OpenMW
|
#include <spellcasting.hpp>
Public Member Functions | |
CastSpell (const MWWorld::Ptr &caster, const MWWorld::Ptr &target) | |
bool | cast (const ESM::Spell *spell) |
bool | cast (const MWWorld::Ptr &item) |
bool | cast (const ESM::Ingredient *ingredient) |
bool | cast (const ESM::Potion *potion) |
bool | cast (const std::string &id) |
void | inflict (const MWWorld::Ptr &target, const MWWorld::Ptr &caster, const ESM::EffectList &effects, ESM::RangeType range, bool reflected=false) |
void | applyInstantEffect (const MWWorld::Ptr &target, short effectId, float magnitude) |
Public Attributes | |
bool | mStack |
std::string | mId |
std::string | mSourceName |
Private Attributes | |
MWWorld::Ptr | mCaster |
MWWorld::Ptr | mTarget |
MWMechanics::CastSpell::CastSpell | ( | const MWWorld::Ptr & | caster, |
const MWWorld::Ptr & | target | ||
) |
void MWMechanics::CastSpell::applyInstantEffect | ( | const MWWorld::Ptr & | target, |
short | effectId, | ||
float | magnitude | ||
) |
bool MWMechanics::CastSpell::cast | ( | const ESM::Spell * | spell | ) |
bool MWMechanics::CastSpell::cast | ( | const MWWorld::Ptr & | item | ) |
bool MWMechanics::CastSpell::cast | ( | const ESM::Ingredient * | ingredient | ) |
bool MWMechanics::CastSpell::cast | ( | const ESM::Potion * | potion | ) |
bool MWMechanics::CastSpell::cast | ( | const std::string & | id | ) |
void MWMechanics::CastSpell::inflict | ( | const MWWorld::Ptr & | target, |
const MWWorld::Ptr & | caster, | ||
const ESM::EffectList & | effects, | ||
ESM::RangeType | range, | ||
bool | reflected = false |
||
) |
MWWorld::Ptr MWMechanics::CastSpell::mCaster [private] |
std::string MWMechanics::CastSpell::mId |
std::string MWMechanics::CastSpell::mSourceName |
MWWorld::Ptr MWMechanics::CastSpell::mTarget [private] |