OpenMW
Public Member Functions | Private Attributes
MWMechanics::Enchanting Class Reference

#include <enchanting.hpp>

List of all members.

Public Member Functions

 Enchanting ()
void setEnchanter (MWWorld::Ptr enchanter)
void setSelfEnchanting (bool selfEnchanting)
void setOldItem (MWWorld::Ptr oldItem)
void setNewItemName (const std::string &s)
void setEffect (ESM::EffectList effectList)
void setSoulGem (MWWorld::Ptr soulGem)
bool create ()
void nextCastStyle ()
int getCastStyle () const
float getEnchantPoints () const
float getCastCost () const
int getEnchantPrice () const
float getMaxEnchantValue () const
int getGemCharge () const
float getEnchantChance () const
bool soulEmpty () const
bool itemEmpty () const
void payForEnchantment () const

Private Attributes

MWWorld::Ptr mOldItemPtr
MWWorld::Ptr mSoulGemPtr
MWWorld::Ptr mEnchanter
int mCastStyle
bool mSelfEnchanting
ESM::EffectList mEffectList
std::string mNewItemName
std::string mObjectType
std::string mOldItemId

Constructor & Destructor Documentation


Member Function Documentation

void MWMechanics::Enchanting::setNewItemName ( const std::string &  s)
void MWMechanics::Enchanting::setSelfEnchanting ( bool  selfEnchanting)

Member Data Documentation

std::string MWMechanics::Enchanting::mObjectType [private]
std::string MWMechanics::Enchanting::mOldItemId [private]

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