OpenMW
Classes | Typedefs | Enumerations | Functions
ESM Namespace Reference

ESM/ESP records. More...

Classes

struct  AIData
struct  AIWander
struct  AITravel
struct  AITarget
struct  AIActivate
struct  AIPackage
struct  AIPackageList
struct  Attribute
class  CellRef
struct  Position
struct  ENAMstruct
struct  EffectList
union  NAME_T
struct  SaveData
struct  ESM_Context
class  ESMReader
class  ESMWriter
struct  Filter
struct  Activator
struct  Potion
struct  Apparatus
struct  PartReference
struct  PartReferenceList
struct  Armor
struct  BodyPart
struct  Book
struct  BirthSign
class  MovedCellRef
struct  Cell
struct  Class
struct  Clothing
struct  ContItem
struct  InventoryList
struct  Container
struct  Creature
struct  LoadCREC
 Changes a creature. More...
struct  LoadCNTC
 Changes an item list / container. More...
struct  Dialogue
struct  Door
struct  Enchantment
struct  RankData
struct  Faction
struct  Global
struct  GameSetting
struct  DialInfo
struct  Ingredient
struct  Land
struct  LeveledListBase
struct  CreatureLevList
struct  ItemLevList
struct  Light
struct  Lockpick
struct  LandTexture
class  FindSecond
struct  MagicEffect
struct  Miscellaneous
struct  NPC
struct  LoadNPCC
struct  Pathgrid
struct  Probe
struct  Race
struct  Region
struct  Repair
struct  SCHD
class  Script
struct  Skill
struct  SoundGenerator
struct  SOUNstruct
struct  Sound
struct  Spell
struct  StartScript
struct  Static
struct  Header
 File header record. More...
struct  Weapon
struct  SpellList
class  Variant
class  VariantDataBase
class  VariantStringData
class  VariantIntegerData
class  VariantFloatData

Typedefs

typedef int32_t Color
typedef NAME_T< 4 > NAME
typedef NAME_T< 32 > NAME32
typedef NAME_T< 64 > NAME64
typedef NAME_T< 256 > NAME256
typedef std::list< MovedCellRefMovedCellRefTracker
typedef std::list< CellRefCellRefTracker

Enumerations

enum  {
  AI_Wander = 0x575f4941, AI_Travel = 0x545f4941, AI_Follow = 0x465f4941, AI_Escort = 0x455f4941,
  AI_Activate = 0x415f4941
}
enum  Specialization { SPC_Combat = 0, SPC_Magic = 1, SPC_Stealth = 2 }
enum  RangeType { RT_Self = 0, RT_Touch = 1, RT_Target = 2 }
enum  RecNameInts {
  REC_ACTI = 0x49544341, REC_ALCH = 0x48434c41, REC_APPA = 0x41505041, REC_ARMO = 0x4f4d5241,
  REC_BODY = 0x59444f42, REC_BOOK = 0x4b4f4f42, REC_BSGN = 0x4e475342, REC_CELL = 0x4c4c4543,
  REC_CLAS = 0x53414c43, REC_CLOT = 0x544f4c43, REC_CNTC = 0x43544e43, REC_CONT = 0x544e4f43,
  REC_CREA = 0x41455243, REC_CREC = 0x43455243, REC_DIAL = 0x4c414944, REC_DOOR = 0x524f4f44,
  REC_ENCH = 0x48434e45, REC_FACT = 0x54434146, REC_GLOB = 0x424f4c47, REC_GMST = 0x54534d47,
  REC_INFO = 0x4f464e49, REC_INGR = 0x52474e49, REC_LAND = 0x444e414c, REC_LEVC = 0x4356454c,
  REC_LEVI = 0x4956454c, REC_LIGH = 0x4847494c, REC_LOCK = 0x4b434f4c, REC_LTEX = 0x5845544c,
  REC_MGEF = 0x4645474d, REC_MISC = 0x4353494d, REC_NPC_ = 0x5f43504e, REC_NPCC = 0x4343504e,
  REC_PGRD = 0x44524750, REC_PROB = 0x424f5250, REC_RACE = 0x45434152, REC_REGN = 0x4e474552,
  REC_REPA = 0x41504552, REC_SCPT = 0x54504353, REC_SKIL = 0x4c494b53, REC_SNDG = 0x47444e53,
  REC_SOUN = 0x4e554f53, REC_SPEL = 0x4c455053, REC_SSCR = 0x52435353, REC_STAT = 0x54415453,
  REC_WEAP = 0x50414557, REC_FILT = 0x544C4946
}
enum  Version { VER_12 = 0x3f99999a, VER_13 = 0x3fa66666 }
enum  PartReferenceType {
  PRT_Head = 0, PRT_Hair = 1, PRT_Neck = 2, PRT_Cuirass = 3,
  PRT_Groin = 4, PRT_Skirt = 5, PRT_RHand = 6, PRT_LHand = 7,
  PRT_RWrist = 8, PRT_LWrist = 9, PRT_Shield = 10, PRT_RForearm = 11,
  PRT_LForearm = 12, PRT_RUpperarm = 13, PRT_LUpperarm = 14, PRT_RFoot = 15,
  PRT_LFoot = 16, PRT_RAnkle = 17, PRT_LAnkle = 18, PRT_RKnee = 19,
  PRT_LKnee = 20, PRT_RLeg = 21, PRT_LLeg = 22, PRT_RPauldron = 23,
  PRT_LPauldron = 24, PRT_Weapon = 25, PRT_Tail = 26, PRT_Count = 27
}
enum  VarType {
  VT_Unknown = 0, VT_None, VT_Short, VT_Int,
  VT_Long, VT_Float, VT_String
}

Functions

bool operator== (const MovedCellRef &ref, int pRefnum)
 Some overloaded compare operators.
bool operator== (const CellRef &ref, int pRefnum)
bool operator== (const Global &left, const Global &right)
bool operator== (const GameSetting &left, const GameSetting &right)
static std::map< short,
std::string > 
genNameMap ()
std::ostream & operator<< (std::ostream &stream, const Variant &value)
bool operator== (const Variant &left, const Variant &right)
bool operator!= (const Variant &left, const Variant &right)

Detailed Description

ESM/ESP records.


Typedef Documentation

typedef int32_t ESM::Color
typedef NAME_T<4> ESM::NAME
typedef NAME_T<256> ESM::NAME256
typedef NAME_T<32> ESM::NAME32
typedef NAME_T<64> ESM::NAME64

Enumeration Type Documentation

anonymous enum
Enumerator:
AI_Wander 
AI_Travel 
AI_Follow 
AI_Escort 
AI_Activate 
Enumerator:
PRT_Head 
PRT_Hair 
PRT_Neck 
PRT_Cuirass 
PRT_Groin 
PRT_Skirt 
PRT_RHand 
PRT_LHand 
PRT_RWrist 
PRT_LWrist 
PRT_Shield 
PRT_RForearm 
PRT_LForearm 
PRT_RUpperarm 
PRT_LUpperarm 
PRT_RFoot 
PRT_LFoot 
PRT_RAnkle 
PRT_LAnkle 
PRT_RKnee 
PRT_LKnee 
PRT_RLeg 
PRT_LLeg 
PRT_RPauldron 
PRT_LPauldron 
PRT_Weapon 
PRT_Tail 
PRT_Count 
Enumerator:
RT_Self 
RT_Touch 
RT_Target 
Enumerator:
REC_ACTI 
REC_ALCH 
REC_APPA 
REC_ARMO 
REC_BODY 
REC_BOOK 
REC_BSGN 
REC_CELL 
REC_CLAS 
REC_CLOT 
REC_CNTC 
REC_CONT 
REC_CREA 
REC_CREC 
REC_DIAL 
REC_DOOR 
REC_ENCH 
REC_FACT 
REC_GLOB 
REC_GMST 
REC_INFO 
REC_INGR 
REC_LAND 
REC_LEVC 
REC_LEVI 
REC_LIGH 
REC_LOCK 
REC_LTEX 
REC_MGEF 
REC_MISC 
REC_NPC_ 
REC_NPCC 
REC_PGRD 
REC_PROB 
REC_RACE 
REC_REGN 
REC_REPA 
REC_SCPT 
REC_SKIL 
REC_SNDG 
REC_SOUN 
REC_SPEL 
REC_SSCR 
REC_STAT 
REC_WEAP 
REC_FILT 
Enumerator:
SPC_Combat 
SPC_Magic 
SPC_Stealth 
Enumerator:
VT_Unknown 
VT_None 
VT_Short 
VT_Int 
VT_Long 
VT_Float 
VT_String 
Enumerator:
VER_12 
VER_13 

Function Documentation

static std::map<short,std::string> ESM::genNameMap ( ) [static]
bool ESM::operator!= ( const Variant &  left,
const Variant &  right 
)
std::ostream & ESM::operator<< ( std::ostream &  stream,
const Variant &  value 
)
bool ESM::operator== ( const MovedCellRef &  ref,
int  pRefnum 
)

Some overloaded compare operators.

Overloaded copare operator used to search inside a list of cell refs.

bool ESM::operator== ( const CellRef &  ref,
int  pRefnum 
)
bool ESM::operator== ( const Global &  left,
const Global &  right 
)
bool ESM::operator== ( const GameSetting &  left,
const GameSetting &  right 
)
bool ESM::operator== ( const Variant &  left,
const Variant &  right 
)