#include <loadnpc.hpp>
|
enum | Services {
Weapon = 0x00001,
Armor = 0x00002,
Clothing = 0x00004,
Books = 0x00008,
Ingredients = 0x00010,
Picks = 0x00020,
Probes = 0x00040,
Lights = 0x00080,
Apparatus = 0x00100,
RepairItem = 0x00200,
Misc = 0x00400,
Potions = 0x02000,
Spells = 0x00800,
MagicItems = 0x01000,
Training = 0x04000,
Spellmaking = 0x08000,
Enchanting = 0x10000,
Repair = 0x20000
} |
|
enum | Flags {
Female = 0x0001,
Essential = 0x0002,
Respawn = 0x0004,
Autocalc = 0x0010,
Skeleton = 0x0400,
Metal = 0x0800
} |
|
enum | NpcType { NPC_WITH_AUTOCALCULATED_STATS = 12,
NPC_DEFAULT = 52
} |
|
|
static std::string | getRecordType () |
| Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
|
|
Enumerator |
---|
Female |
|
Essential |
|
Respawn |
|
Autocalc |
|
Skeleton |
|
Metal |
|
Enumerator |
---|
NPC_WITH_AUTOCALCULATED_STATS |
|
NPC_DEFAULT |
|
Enumerator |
---|
Weapon |
|
Armor |
|
Clothing |
|
Books |
|
Ingredients |
|
Picks |
|
Probes |
|
Lights |
|
Apparatus |
|
RepairItem |
|
Misc |
|
Potions |
|
Spells |
|
MagicItems |
|
Training |
|
Spellmaking |
|
Enchanting |
|
Repair |
|
Set record to default state (does not touch the ID).
int ESM::NPC::getFactionRank |
( |
| ) |
const |
static std::string ESM::NPC::getRecordType |
( |
| ) |
|
|
inlinestatic |
Return a string descriptor for this record type. Currently used for debugging / error logs only.
bool ESM::NPC::isMale |
( |
| ) |
const |
void ESM::NPC::save |
( |
ESMWriter & |
esm, |
|
|
bool |
isDeleted = false |
|
) |
| const |
void ESM::NPC::setIsMale |
( |
bool |
value | ) |
|
std::string ESM::NPC::mClass |
std::string ESM::NPC::mFaction |
wrapper for mNpdt*, -1 = no rank
std::string ESM::NPC::mHair |
std::string ESM::NPC::mHead |
std::string ESM::NPC::mId |
std::string ESM::NPC::mModel |
std::string ESM::NPC::mName |
unsigned char ESM::NPC::mNpdtType |
bool ESM::NPC::mPersistent |
std::string ESM::NPC::mRace |
std::string ESM::NPC::mScript |
The documentation for this struct was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/esm/loadnpc.hpp
- /home/travis/build/OpenMW/openmw/components/esm/loadnpc.cpp