#include <loadnpc.hpp>
List of all members.
Classes |
| struct | Dest |
| struct | NPDTstruct12 |
| struct | NPDTstruct52 |
Public Types |
| 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 = 0x0008,
Skeleton = 0x0400,
Metal = 0x0800
} |
| enum | NpcType { NPC_WITH_AUTOCALCULATED_STATS = 12,
NPC_DEFAULT = 52
} |
Public Member Functions |
| void | load (ESMReader &esm) |
| void | save (ESMWriter &esm) const |
| bool | isMale () const |
| void | setIsMale (bool value) |
| void | blank () |
| | Set record to default state (does not touch the ID).
|
Public Attributes |
| char | mNpdtType |
| NPDTstruct52 | mNpdt52 |
| NPDTstruct12 | mNpdt12 |
| int | mFlags |
| bool | mPersistent |
| InventoryList | mInventory |
| SpellList | mSpells |
| AIData | mAiData |
| bool | mHasAI |
| std::vector< Dest > | mTransport |
| AIPackageList | mAiPackage |
| std::string | mId |
| std::string | mName |
| std::string | mModel |
| std::string | mRace |
| std::string | mClass |
| std::string | mFaction |
| std::string | mScript |
| std::string | mHair |
| std::string | mHead |
Static Public Attributes |
| static unsigned int | sRecordId = REC_NPC_ |
Member Enumeration Documentation
- 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 |
|
Member Function Documentation
Set record to default state (does not touch the ID).
Member Data Documentation
The documentation for this struct was generated from the following files: