OpenMW
|
#include <enchanting.hpp>
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 |
bool MWMechanics::Enchanting::create | ( | ) |
float MWMechanics::Enchanting::getCastCost | ( | ) | const |
int MWMechanics::Enchanting::getCastStyle | ( | ) | const |
float MWMechanics::Enchanting::getEnchantChance | ( | ) | const |
float MWMechanics::Enchanting::getEnchantPoints | ( | ) | const |
int MWMechanics::Enchanting::getEnchantPrice | ( | ) | const |
int MWMechanics::Enchanting::getGemCharge | ( | ) | const |
float MWMechanics::Enchanting::getMaxEnchantValue | ( | ) | const |
bool MWMechanics::Enchanting::itemEmpty | ( | ) | const |
void MWMechanics::Enchanting::payForEnchantment | ( | ) | const |
void MWMechanics::Enchanting::setEffect | ( | ESM::EffectList | effectList | ) |
void MWMechanics::Enchanting::setEnchanter | ( | MWWorld::Ptr | enchanter | ) |
void MWMechanics::Enchanting::setNewItemName | ( | const std::string & | s | ) |
void MWMechanics::Enchanting::setOldItem | ( | MWWorld::Ptr | oldItem | ) |
void MWMechanics::Enchanting::setSelfEnchanting | ( | bool | selfEnchanting | ) |
void MWMechanics::Enchanting::setSoulGem | ( | MWWorld::Ptr | soulGem | ) |
bool MWMechanics::Enchanting::soulEmpty | ( | ) | const |
int MWMechanics::Enchanting::mCastStyle [private] |
std::string MWMechanics::Enchanting::mNewItemName [private] |
std::string MWMechanics::Enchanting::mObjectType [private] |
std::string MWMechanics::Enchanting::mOldItemId [private] |
bool MWMechanics::Enchanting::mSelfEnchanting [private] |