1 #ifndef OPENMW_MWWORLD_CELLREF_H
2 #define OPENMW_MWWORLD_CELLREF_H
72 void setOwner(
const std::string& owner);
83 void setSoul(
const std::string& soul);
100 std::string
getKey()
const;
102 void setTrap(
const std::string& trap);
void applyChargeRemainderToBeSubtracted(float chargeRemainder)
Definition: cellref.cpp:96
void setLockLevel(int lockLevel)
Definition: cellref.cpp:203
Encapsulated variant of ESM::CellRef with change tracking.
Definition: cellref.hpp:15
void setPosition(const ESM::Position &position)
Definition: cellref.cpp:62
std::string getRefId() const
Definition: cellref.cpp:23
void setSoul(const std::string &soul)
Definition: cellref.cpp:175
int getGoldValue() const
Definition: cellref.cpp:231
void setGoldValue(int value)
Definition: cellref.cpp:236
int getFactionRank() const
Definition: cellref.cpp:156
std::string getKey() const
Definition: cellref.cpp:212
void writeState(ESM::ObjectState &state) const
Definition: cellref.cpp:245
bool mChanged
Definition: cellref.hpp:115
std::string getFaction() const
Definition: cellref.cpp:184
int getLockLevel() const
Definition: cellref.cpp:198
void setChargeFloat(float charge)
Definition: cellref.cpp:119
void setTrap(const std::string &trap)
Definition: cellref.cpp:222
std::string getSoul() const
Definition: cellref.cpp:170
Definition: cellref.hpp:14
CellRef(const ESM::CellRef &ref)
Definition: cellref.hpp:19
void setScale(float scale)
Definition: cellref.cpp:48
ESM::Position getPosition() const
Definition: cellref.cpp:57
<
Definition: objectstate.hpp:19
void setEnchantmentCharge(float charge)
Definition: cellref.cpp:73
void setFaction(const std::string &faction)
Definition: cellref.cpp:189
float getScale() const
Definition: cellref.cpp:43
Definition: cellref.hpp:34
std::string getTrap() const
Definition: cellref.cpp:217
float getChargeFloat() const
Definition: cellref.cpp:114
void setFactionRank(int factionRank)
Definition: cellref.cpp:147
float getEnchantmentCharge() const
Definition: cellref.cpp:68
const ESM::RefNum & getRefNum() const
Definition: cellref.cpp:8
bool hasChanged() const
Definition: cellref.cpp:250
std::string getDestCell() const
Definition: cellref.cpp:38
bool hasContentFile() const
Does the RefNum have a content file?
Definition: cellref.cpp:13
bool getTeleport() const
Definition: cellref.cpp:28
void setCharge(int charge)
Definition: cellref.cpp:87
int getCharge() const
Definition: cellref.cpp:82
std::string getOwner() const
Definition: cellref.cpp:128
void unsetRefNum()
Definition: cellref.cpp:18
ESM::Position getDoorDest() const
Definition: cellref.cpp:33
void setOwner(const std::string &owner)
Definition: cellref.cpp:161
std::string getGlobalVariable() const
Definition: cellref.cpp:133
ESM::CellRef mCellRef
Definition: cellref.hpp:116
void resetGlobalVariable()
Definition: cellref.cpp:138