![]() |
Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
|
One named NPC reference inside an encounter-template NPC-properties row. More...
#include "API.h"Classes | |
| class | CoreRules::IEncounterNPCOb |
| Named NPC reference (name + race + 5-slot multi-class). More... | |
Namespaces | |
| namespace | CoreRules |
Functions | |
| IEncounterNPCOb * | CoreRules::CreateEncounterNPCOb () |
| Factory for a standalone NPC reference (not owned by any properties row). | |
| void | CoreRules::DestroyEncounterNPCOb (IEncounterNPCOb *p) |
| Release a standalone NPC reference. Does NOT detach from a parent row. | |
One named NPC reference inside an encounter-template NPC-properties row.
Used by IEncTemplateNPCPropertiesOb to populate its NPC array. The 5-slot multi-class structure mirrors a character record's class slots. Schema 95 on disk.
Slot indices for GetClass / GetLevel are in the closed interval [0, kClassSlots). Out-of-range queries return empty / 0.