OpenMW
|
#include <livecellref.hpp>
Public Member Functions | |
LiveCellRef (const ESM::CellRef &cref, const X *b=NULL) | |
LiveCellRef (const X *b=NULL) | |
virtual void | load (const ESM::ObjectState &state) |
virtual void | save (ESM::ObjectState &state) const |
Save LiveCellRef state into state. More... | |
Public Member Functions inherited from MWWorld::LiveCellRefBase | |
LiveCellRefBase (const std::string &type, const ESM::CellRef &cref=ESM::CellRef()) | |
virtual | ~LiveCellRefBase () |
Static Public Member Functions | |
static bool | checkState (const ESM::ObjectState &state) |
Public Attributes | |
const X * | mBase |
Public Attributes inherited from MWWorld::LiveCellRefBase | |
const Class * | mClass |
MWWorld::CellRef | mRef |
RefData | mData |
Additional Inherited Members | |
Protected Member Functions inherited from MWWorld::LiveCellRefBase | |
void | loadImp (const ESM::ObjectState &state) |
void | saveImp (ESM::ObjectState &state) const |
Save LiveCellRef state into state. More... | |
Static Protected Member Functions inherited from MWWorld::LiveCellRefBase | |
static bool | checkStateImp (const ESM::ObjectState &state) |
A reference to one object (of any type) in a cell.
Constructing this with a CellRef instance in the constructor means that in practice (where D is RefData) the possibly mutable data is copied across to mData. If later adding data (such as position) to CellRef this would have to be manually copied across.
|
inline |
|
inline |
|
static |
Check if state is valid and report errors.
|
virtual |
Load state into a LiveCellRef, that has already been initialised with base and class.
Implements MWWorld::LiveCellRefBase.
|
virtual |
Save LiveCellRef state into state.
Implements MWWorld::LiveCellRefBase.
const X* MWWorld::LiveCellRef< X >::mBase |