|
|
|
@ -30,10 +30,14 @@ namespace MWWorld
|
|
|
|
|
|
|
|
|
|
MWScript::Locals mLocals;
|
|
|
|
|
|
|
|
|
|
bool mDeleted; // separate delete flag used for deletion by a content file
|
|
|
|
|
/// separate delete flag used for deletion by a content file
|
|
|
|
|
/// @note not stored in the save game file.
|
|
|
|
|
bool mDeleted;
|
|
|
|
|
|
|
|
|
|
bool mEnabled;
|
|
|
|
|
int mCount; // 0: deleted
|
|
|
|
|
|
|
|
|
|
/// 0: deleted
|
|
|
|
|
int mCount;
|
|
|
|
|
|
|
|
|
|
ESM::Position mPosition;
|
|
|
|
|
|
|
|
|
@ -51,10 +55,10 @@ namespace MWWorld
|
|
|
|
|
|
|
|
|
|
/// @param cellRef Used to copy constant data such as position into this class where it can
|
|
|
|
|
/// be altered without affecting the original data. This makes it possible
|
|
|
|
|
/// to reset the position as the orignal data is still held in the CellRef
|
|
|
|
|
/// to reset the position as the original data is still held in the CellRef
|
|
|
|
|
RefData (const ESM::CellRef& cellRef);
|
|
|
|
|
|
|
|
|
|
RefData (const ESM::ObjectState& objectState);
|
|
|
|
|
RefData (const ESM::ObjectState& objectState, bool deleted);
|
|
|
|
|
///< Ignores local variables and custom data (not enough context available here to
|
|
|
|
|
/// perform these operations).
|
|
|
|
|
|
|
|
|
|