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::AttributeValue Class Reference

#include <stat.hpp>

Inheritance diagram for MWMechanics::AttributeValue:
Collaboration diagram for MWMechanics::AttributeValue:

Public Member Functions

 AttributeValue ()
 
int getModified () const
 
int getBase () const
 
int getModifier () const
 
void setBase (int base)
 
void setModifier (int mod)
 
void damage (float damage)
 
void restore (float amount)
 
float getDamage () const
 
void writeState (ESM::StatState< int > &state) const
 
void readState (const ESM::StatState< int > &state)
 

Private Attributes

int mBase
 
int mModifier
 
float mDamage
 

Constructor & Destructor Documentation

MWMechanics::AttributeValue::AttributeValue ( )

Member Function Documentation

void MWMechanics::AttributeValue::damage ( float  damage)

Here is the call graph for this function:

Here is the caller graph for this function:

int MWMechanics::AttributeValue::getBase ( ) const

Here is the caller graph for this function:

float MWMechanics::AttributeValue::getDamage ( ) const

Here is the caller graph for this function:

int MWMechanics::AttributeValue::getModified ( ) const

Here is the caller graph for this function:

int MWMechanics::AttributeValue::getModifier ( ) const

Here is the caller graph for this function:

void MWMechanics::AttributeValue::readState ( const ESM::StatState< int > &  state)

Here is the caller graph for this function:

void MWMechanics::AttributeValue::restore ( float  amount)

Here is the caller graph for this function:

void MWMechanics::AttributeValue::setBase ( int  base)

Here is the caller graph for this function:

void MWMechanics::AttributeValue::setModifier ( int  mod)

Here is the caller graph for this function:

void MWMechanics::AttributeValue::writeState ( ESM::StatState< int > &  state) const

Here is the caller graph for this function:

Member Data Documentation

int MWMechanics::AttributeValue::mBase
private
float MWMechanics::AttributeValue::mDamage
private
int MWMechanics::AttributeValue::mModifier
private

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