OpenMW
|
Wrapper for CellRef sub record. More...
#include <ref.hpp>
Public Member Functions | |
CellRef () | |
std::pair< int, int > | getCellIndex () const |
Calculate cell index based on coordinates (x and y) More... | |
Public Member Functions inherited from ESM::CellRef | |
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 | |
std::string | mId |
std::string | mCell |
std::string | mOriginalCell |
bool | mNew |
Public Attributes inherited from ESM::CellRef | |
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 |
Wrapper for CellRef sub record.
CSMWorld::CellRef::CellRef | ( | ) |
Calculate cell index based on coordinates (x and y)
std::string CSMWorld::CellRef::mCell |
std::string CSMWorld::CellRef::mId |
bool CSMWorld::CellRef::mNew |
std::string CSMWorld::CellRef::mOriginalCell |