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

#include <cellref.hpp>

Inheritance diagram for ESM::CellRef:
Collaboration diagram for ESM::CellRef:

Public Member Functions

void load (ESMReader &esm, bool &isDeleted, bool wideRefNum=false)
 Calls loadId and loadData. More...
 
void loadId (ESMReader &esm, bool wideRefNum=false)
 
void loadData (ESMReader &esm, bool &isDeleted)
 Implicitly called by load. More...
 
void save (ESMWriter &esm, bool wideRefNum=false, bool inInventory=false, bool isDeleted=false) const
 
void blank ()
 

Public Attributes

RefNum mRefNum
 
std::string mRefID
 
float mScale
 
std::string mOwner
 
std::string mGlobalVariable
 
std::string mSoul
 
std::string mFaction
 
int mFactionRank
 
union {
   int   mChargeInt
 
   float   mChargeFloat
 
}; 
 
float mChargeIntRemainder
 
float mEnchantmentCharge
 
int mGoldValue
 
bool mTeleport
 
Position mDoorDest
 
std::string mDestCell
 
int mLockLevel
 
std::string mKey
 
std::string mTrap
 
signed char mReferenceBlocked
 
Position mPos
 

Member Function Documentation

void ESM::CellRef::blank ( )

Here is the caller graph for this function:

void ESM::CellRef::load ( ESMReader esm,
bool isDeleted,
bool  wideRefNum = false 
)

Calls loadId and loadData.

Here is the caller graph for this function:

void ESM::CellRef::loadData ( ESMReader esm,
bool isDeleted 
)

Implicitly called by load.

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::CellRef::loadId ( ESMReader esm,
bool  wideRefNum = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::CellRef::save ( ESMWriter esm,
bool  wideRefNum = false,
bool  inInventory = false,
bool  isDeleted = false 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

union { ... }
float ESM::CellRef::mChargeFloat
int ESM::CellRef::mChargeInt
float ESM::CellRef::mChargeIntRemainder
std::string ESM::CellRef::mDestCell
Position ESM::CellRef::mDoorDest
float ESM::CellRef::mEnchantmentCharge
std::string ESM::CellRef::mFaction
int ESM::CellRef::mFactionRank
std::string ESM::CellRef::mGlobalVariable
int ESM::CellRef::mGoldValue
std::string ESM::CellRef::mKey
int ESM::CellRef::mLockLevel
std::string ESM::CellRef::mOwner
Position ESM::CellRef::mPos
signed char ESM::CellRef::mReferenceBlocked
std::string ESM::CellRef::mRefID
RefNum ESM::CellRef::mRefNum
float ESM::CellRef::mScale
std::string ESM::CellRef::mSoul
bool ESM::CellRef::mTeleport
std::string ESM::CellRef::mTrap

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