![]() |
Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
|
One roster entry (one row of Chars/index.chr). More...
#include "API.h"Classes | |
| class | CoreRules::ICharacterMiniOb |
| One roster entry (one row of Chars/index.chr). More... | |
Namespaces | |
| namespace | CoreRules |
Functions | |
| ICharacterMiniOb * | CoreRules::CreateCharacterMiniOb () |
| Factory for a standalone MiniOb (not in any roster). | |
| void | CoreRules::DestroyCharacterMiniOb (ICharacterMiniOb *p) |
| Release a MiniOb created by CreateCharacterMiniOb. | |
One roster entry (one row of Chars/index.chr).
A MiniOb is the lightweight handle for a heavy character record that lives in a separate per-character .dat file. This interface surfaces the cached roster fields (name, file, race, party, NPC flag, display details) plus the dirty/clone/save protocol.
Portrait fields (directory + filename) live ONLY on ICharacterRecord; they are not cached on the MiniOb and have no accessors here.
The "file name" is internal state managed by Load/Save; there is no SetFileName().