OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWMechanics::Enchanting Class Reference

#include <enchanting.hpp>

Collaboration diagram for MWMechanics::Enchanting:

Public Member Functions

 Enchanting ()
 
void setEnchanter (MWWorld::Ptr enchanter)
 
void setSelfEnchanting (bool selfEnchanting)
 
void setOldItem (MWWorld::Ptr oldItem)
 
MWWorld::Ptr getOldItem ()
 
MWWorld::Ptr getGem ()
 
void setNewItemName (const std::string &s)
 
void setEffect (ESM::EffectList effectList)
 
void setSoulGem (MWWorld::Ptr soulGem)
 
bool create ()
 
void nextCastStyle ()
 
int getCastStyle () const
 
int getEnchantPoints () const
 
int getBaseCastCost () const
 
int getEffectiveCastCost () const
 
int getEnchantPrice () const
 
int 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
 

Constructor & Destructor Documentation

MWMechanics::Enchanting::Enchanting ( )

Member Function Documentation

bool MWMechanics::Enchanting::create ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::Enchanting::getBaseCastCost ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::Enchanting::getCastStyle ( ) const

Here is the caller graph for this function:

int MWMechanics::Enchanting::getEffectiveCastCost ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

float MWMechanics::Enchanting::getEnchantChance ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::Enchanting::getEnchantPoints ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::Enchanting::getEnchantPrice ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

MWWorld::Ptr MWMechanics::Enchanting::getGem ( )
inline

Here is the caller graph for this function:

int MWMechanics::Enchanting::getGemCharge ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::Enchanting::getMaxEnchantValue ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

MWWorld::Ptr MWMechanics::Enchanting::getOldItem ( )
inline

Here is the caller graph for this function:

bool MWMechanics::Enchanting::itemEmpty ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Enchanting::nextCastStyle ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Enchanting::payForEnchantment ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Enchanting::setEffect ( ESM::EffectList  effectList)

Here is the caller graph for this function:

void MWMechanics::Enchanting::setEnchanter ( MWWorld::Ptr  enchanter)

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void MWMechanics::Enchanting::setOldItem ( MWWorld::Ptr  oldItem)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWMechanics::Enchanting::setSelfEnchanting ( bool  selfEnchanting)

Here is the caller graph for this function:

void MWMechanics::Enchanting::setSoulGem ( MWWorld::Ptr  soulGem)

Here is the caller graph for this function:

bool MWMechanics::Enchanting::soulEmpty ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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

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