#include <refdata.hpp>
MWWorld::RefData::RefData |
( |
| ) |
|
- Parameters
-
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 original data is still held in the CellRef |
Ignores local variables and custom data (not enough context available here to perform these operations).
MWWorld::RefData::RefData |
( |
const RefData & |
refData | ) |
|
MWWorld::RefData::~RefData |
( |
| ) |
|
bool MWWorld::RefData::activate |
( |
| ) |
|
bool MWWorld::RefData::activateByScript |
( |
| ) |
|
void MWWorld::RefData::cleanup |
( |
| ) |
|
|
private |
void MWWorld::RefData::copy |
( |
const RefData & |
refData | ) |
|
|
private |
void MWWorld::RefData::disable |
( |
| ) |
|
void MWWorld::RefData::enable |
( |
| ) |
|
Return base node (can be a null pointer).
Return base node (can be a null pointer).
int MWWorld::RefData::getCount |
( |
| ) |
const |
May return a 0-pointer. The ownership of the return data object is not transferred.
const CustomData * MWWorld::RefData::getCustomData |
( |
| ) |
const |
bool MWWorld::RefData::hasChanged |
( |
| ) |
const |
Has this RefData changed since it was originally loaded?
bool MWWorld::RefData::isDeleted |
( |
| ) |
const |
Returns true if the object was either deleted by the content file or by gameplay.
bool MWWorld::RefData::isDeletedByContentFile |
( |
| ) |
const |
Returns true if the object was deleted by a content file.
bool MWWorld::RefData::isEnabled |
( |
| ) |
const |
bool MWWorld::RefData::onActivate |
( |
| ) |
|
Set base node (can be a null pointer).
void MWWorld::RefData::setCount |
( |
int |
count | ) |
|
void MWWorld::RefData::setCustomData |
( |
CustomData * |
data | ) |
|
Set custom data (potentially replacing old custom data). The ownership of data is transferred to this.
void MWWorld::RefData::setDeletedByContentFile |
( |
bool |
deleted | ) |
|
This flag is only used for content stack loading and will not be stored in the savegame. If the object was deleted by gameplay, then use setCount(0) instead.
void MWWorld::RefData::setLocals |
( |
const ESM::Script & |
script | ) |
|
void MWWorld::RefData::write |
( |
ESM::ObjectState & |
objectState, |
|
|
const std::string & |
scriptId = "" |
|
) |
| const |
Ignores custom data (not enough context available here to perform this operations).
bool MWWorld::RefData::mChanged |
|
private |
int MWWorld::RefData::mCount |
|
private |
bool MWWorld::RefData::mDeletedByContentFile |
|
private |
separate delete flag used for deletion by a content file
- Note
- not stored in the save game file.
bool MWWorld::RefData::mEnabled |
|
private |
unsigned int MWWorld::RefData::mFlags |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwworld/refdata.hpp
- /home/travis/build/OpenMW/openmw/apps/openmw/mwworld/refdata.cpp