OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ESM::ObjectState Struct Reference

< More...

#include <objectstate.hpp>

Inheritance diagram for ESM::ObjectState:
Collaboration diagram for ESM::ObjectState:

Public Member Functions

 ObjectState ()
 
virtual void load (ESMReader &esm)
 
virtual void save (ESMWriter &esm, bool inInventory=false) const
 
void blank ()
 Initialize to default state. More...
 
virtual ~ObjectState ()
 

Public Attributes

CellRef mRef
 
unsigned char mHasLocals
 
Locals mLocals
 
unsigned char mEnabled
 
int mCount
 
ESM::Position mPosition
 
unsigned int mFlags
 
bool mHasCustomState
 
unsigned int mVersion
 
ESM::AnimationState mAnimationState
 

Detailed Description

<

Save state for objects, that do not use custom data

Constructor & Destructor Documentation

ESM::ObjectState::ObjectState ( )
inline
ESM::ObjectState::~ObjectState ( )
virtual

Member Function Documentation

void ESM::ObjectState::blank ( )

Initialize to default state.

Here is the caller graph for this function:

void ESM::ObjectState::load ( ESMReader esm)
virtual
Note
Does not load the CellRef ID, it should already be loaded before calling this method

Reimplemented in ESM::NpcState, ESM::CreatureState, ESM::ContainerState, ESM::CreatureLevListState, and ESM::DoorState.

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::ObjectState::save ( ESMWriter esm,
bool  inInventory = false 
) const
virtual

Reimplemented in ESM::NpcState, ESM::CreatureState, ESM::ContainerState, ESM::CreatureLevListState, and ESM::DoorState.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ESM::AnimationState ESM::ObjectState::mAnimationState
int ESM::ObjectState::mCount
unsigned char ESM::ObjectState::mEnabled
unsigned int ESM::ObjectState::mFlags
bool ESM::ObjectState::mHasCustomState
unsigned char ESM::ObjectState::mHasLocals
Locals ESM::ObjectState::mLocals
ESM::Position ESM::ObjectState::mPosition
CellRef ESM::ObjectState::mRef
unsigned int ESM::ObjectState::mVersion

The documentation for this struct was generated from the following files: