OpenMW
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
ESM::Creature Struct Reference

#include <loadcrea.hpp>

List of all members.

Classes

struct  NPDTstruct

Public Types

enum  Flags {
  Biped = 0x001, Respawn = 0x002, Weapon = 0x004, None = 0x008,
  Swims = 0x010, Flies = 0x020, Walks = 0x040, Essential = 0x080,
  Skeleton = 0x400, Metal = 0x800
}
enum  Type { Creatures = 0, Deadra = 1, Undead = 2, Humanoid = 3 }

Public Member Functions

void load (ESMReader &esm)
void save (ESMWriter &esm) const
void blank ()
 Set record to default state (does not touch the ID).

Public Attributes

NPDTstruct mData
int mFlags
bool mPersistent
float mScale
std::string mId
std::string mModel
std::string mName
std::string mScript
std::string mOriginal
InventoryList mInventory
SpellList mSpells
bool mHasAI
AIData mAiData
AIPackageList mAiPackage

Static Public Attributes

static unsigned int sRecordId = REC_CREA

Member Enumeration Documentation

Enumerator:
Biped 
Respawn 
Weapon 
None 
Swims 
Flies 
Walks 
Essential 
Skeleton 
Metal 
Enumerator:
Creatures 
Deadra 
Undead 
Humanoid 

Member Function Documentation

Set record to default state (does not touch the ID).

void ESM::Creature::load ( ESMReader esm)
void ESM::Creature::save ( ESMWriter esm) const

Member Data Documentation

std::string ESM::Creature::mId
std::string ESM::Creature::mModel
std::string ESM::Creature::mName
unsigned int ESM::Creature::sRecordId = REC_CREA [static]

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