![]() |
Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
|
#include <ICharacterIndex.h>
Public Types | |
| using | record_type = ICharacterMiniOb |
Public Member Functions | |
| virtual | ~ICharacterIndex ()=default |
| virtual int | GetSize () const =0 |
| virtual ICharacterMiniOb * | GetAt (int index)=0 |
| virtual ICharacterMiniOb * | Find (const char *name)=0 |
| virtual ICharacterMiniOb * | Load (const char *name)=0 |
| virtual bool | Add (ICharacterMiniOb *obj)=0 |
| virtual bool | Remove (int index)=0 |
| virtual bool | Remove (const char *name)=0 |
| virtual bool | IsDirty () const =0 |
| virtual int | GetExtensionCount () const =0 |
| Number of CCharacter_Extension instances live in memory across the store + the loaded heavy records. | |
| virtual long | GetExtensionCharacterId (int index) const =0 |
| The m_character_id of the i-th extension (any order). | |
| virtual ICharacterMiniOb * | FindByCharacterId (long character_id)=0 |
| Find the MiniOb whose extension carries this id. | |
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Find the MiniOb whose extension carries this id.
|
pure virtual |
|
pure virtual |
The m_character_id of the i-th extension (any order).
Pair with FindByCharacterId to detect orphans.
|
pure virtual |
Number of CCharacter_Extension instances live in memory across the store + the loaded heavy records.
Includes orphans (extensions whose character_id has no MiniOb).
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |